public void Awake() { singleton = this; GameSettings.Load(); Timer.InitializeCreate(); LanguageManager.Initialize(); LanguageManager.SetLanguage(x => x.Code.Equals(GameSettings.SettingLanguageCode.Value)); ItemManager.Initialize(); //MessageManager.Initialize(); ObjectsManager.LoadAllObjectsFromResources(); RoomLoader.LoadAllRoomsFromResources(); RoomLayerMask = LayerMask.GetMask("Room"); PlayerLayerMask = LayerMask.GetMask("Player"); TrapLayerMask = LayerMask.GetMask("Trap"); }