static int Init(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         ANFramework.Managers obj = (ANFramework.Managers)ToLua.CheckObject <ANFramework.Managers>(L, 1);
         obj.Init();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
示例#2
0
 public void Init()
 {
     m_Managers.Init();
     m_States.Init();
 }