static int Reset(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         Spine.TrackEntry obj = (Spine.TrackEntry)ToLua.CheckObject(L, 1, typeof(Spine.TrackEntry));
         obj.Reset();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Example #2
0
 private static void OnReleaseFunc(TrackEntry entry)
 {
     //XiimoonLog.LogFormat("---- TrackEntryPool Release : {0}, maxCount : {1}", entry.EntryID, s_id);
     entry.Reset();
 }