Example #1
0
 static int GetExtManager(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         string arg0 = ToLua.CheckString(L, 1);
         object o    = BaseBehaviour.GetExtManager(arg0);
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Example #2
0
 public static object GetExtManager(string managerName)
 {
     return(BaseBehaviour.GetExtManager(managerName));
 }