Beispiel #1
0
 public override void Init(GameObject owner)
 {
     base.Init(owner);
     LuaState = new LuaEnv();
     LuaLoader.InitLoader(LuaState);
     LuaLibrary.InitLibrary(LuaState);
     timer = 0f;
 }
Beispiel #2
0
 public void Init()
 {
     LuaState = new LuaEnv();
     LuaLoader.InitLoader(LuaState);
     LuaLibrary.InitLibrary(LuaState);
 }