Ejemplo n.º 1
0
 static int DestroySelf(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         GameFramework.UIEffectDepth obj = (GameFramework.UIEffectDepth)ToLua.CheckObject <GameFramework.UIEffectDepth>(L, 1);
         obj.DestroySelf();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }