예제 #1
0
 static int LoadAniController(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         BaseResLoader        obj  = (BaseResLoader)ToLua.CheckObject <BaseResLoader>(L, 1);
         UnityEngine.Animator arg0 = (UnityEngine.Animator)ToLua.CheckObject(L, 2, typeof(UnityEngine.Animator));
         string arg1 = ToLua.CheckString(L, 3);
         bool   o    = obj.LoadAniController(arg0, arg1);
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }