Ejemplo n.º 1
0
 static int SetMemberPos(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         FightManager            obj  = (FightManager)ToLua.CheckObject(L, 1, typeof(FightManager));
         int                     arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
         FightManager.MemberType arg1 = (FightManager.MemberType)ToLua.CheckObject(L, 3, typeof(FightManager.MemberType));
         UnityEngine.Vector3     arg2 = ToLua.ToVector3(L, 4);
         obj.SetMemberPos(arg0, arg1, arg2);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }