public void Init() { Inited = true; var lang = new Lang(); lang.Load(); AddComponent <GameData>(); AddComponent <GamePlayer>(); }
public void Init() { Inited = true; var lang = new Lang(); var daySwitcher = new Gui.DaySwitcher(); lang.Load(); AddComponent <GameData>(); AddComponent <Admob>(); //AddComponent<GamePlayer>(); AddComponent <BackgroundData>(); //AddComponent<SoundManager>(); AddComponent <GameDataModel>(); }