Example #1
0
 static int Dispose(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.Stage obj = (FairyGUI.Stage)ToLua.CheckObject <FairyGUI.Stage>(L, 1);
         obj.Dispose();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Example #2
0
 public static void ClearStageStatic()
 {
     _inst.Dispose();
     _inst = null;
 }
Example #3
0
 void OnDisable()
 {
     _stage.Dispose();
 }