Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 private void Awake()
 {
     SceneController.RegisterTransitioner(this);
 }