private void Awake() { if (!_didCreatePools) { PrefabPool.CreatePool <GridNodeView>(_gridNodePrefab); PrefabPool.CreatePool <GridItemView>(_gridItemPrefab); PrefabPool.CreatePool <GridItemFX>(_gridItemMatchedFXPrefab); _didCreatePools = true; } SceneController.RegisterTransitioner(this); Level.ListenForLevelEvents(ReceiveLevelEvents); DisableEditMode(); }
private void Awake() { SceneController.RegisterTransitioner(this); }