LuaInterface.LuaStatic.GetPackBounds C# (CSharp) Method

GetPackBounds() public static method

public static GetPackBounds ( IntPtr L ) : void
L System.IntPtr
return void
        public static void GetPackBounds(IntPtr L)
        {
            LuaState state = LuaState.Get(L);
            LuaDLL.lua_getref(L, state.PackBounds);
        }

Usage Example

コード例 #1
0
ファイル: ToLua.cs プロジェクト: unseen-code/tianqi_src
 public static void Push(IntPtr L, Bounds bound)
 {
     LuaStatic.GetPackBounds(L);
     ToLua.Push(L, bound.get_center());
     ToLua.Push(L, bound.get_size());
     if (LuaDLL.lua_pcall(L, 2, 1, 0) != 0)
     {
         string msg = LuaDLL.lua_tostring(L, -1);
         throw new LuaException(msg, null, 1);
     }
 }
All Usage Examples Of LuaInterface.LuaStatic::GetPackBounds