Пример #1
0
 static int GetRootCanvas(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         SortingOrder       obj = (SortingOrder)ToLua.CheckObject <SortingOrder>(L, 1);
         UnityEngine.Canvas o   = obj.GetRootCanvas();
         ToLua.PushSealed(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }