예제 #1
0
 static int UIActiveFunc(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         GameResFactory         obj  = (GameResFactory)ToLua.CheckObject(L, 1, typeof(GameResFactory));
         UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.GameObject));
         int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
         obj.UIActiveFunc(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }