Пример #1
0
 public void OnEnable()
 {
     LevelLoader.OnLevelLoaded += spawnPlayerInDream;
     DevConsole.Register(this);
     LuaEngine.RegisterGlobalObject(this, "Dream");
 }
Пример #2
0
 public override void Init()
 {
     DevConsole.Register(this);
     LuaEngine.RegisterGlobalObject(this);
 }