static int GetSpineManager(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 0);
         LuaFramework.SpineManager o = LuaFramework.LuaHelper.GetSpineManager();
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Exemple #2
0
 static int CreateSpine(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         LuaFramework.SpineManager obj = (LuaFramework.SpineManager)ToLua.CheckObject(L, 1, typeof(LuaFramework.SpineManager));
         string      arg0 = ToLua.CheckString(L, 2);
         LuaFunction arg1 = ToLua.CheckLuaFunction(L, 3);
         obj.CreateSpine(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }