Ejemplo n.º 1
0
 static int GetGameObjectDirect(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         GameObjectPoolManager obj = (GameObjectPoolManager)ToLua.CheckObject(L, 1, typeof(GameObjectPoolManager));
         string arg0 = ToLua.CheckString(L, 2);
         UnityEngine.GameObject o = obj.GetGameObjectDirect(arg0);
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }