static int Reborn(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); Logic.Character.Controller.PlayerController obj = (Logic.Character.Controller.PlayerController)ToLua.CheckObject(L, 1, typeof(Logic.Character.Controller.PlayerController)); Logic.Character.CharacterEntity arg0 = (Logic.Character.CharacterEntity)ToLua.CheckUnityObject(L, 2, typeof(Logic.Character.CharacterEntity)); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); float arg2 = (float)LuaDLL.luaL_checknumber(L, 4); obj.Reborn(arg0, arg1, arg2); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }