private void Awake() { gameRules = GetComponent <GameRules>(); gameStateChanger = GetComponent <GameStateChanger>(); objectPooler = GetComponent <ObjectPooler>(); spriteBucket = GetComponent <SpriteBucket>(); panelBucket = GetComponent <PanelBucket>(); sessionData = GetComponent <SessionData>(); roundCoordinator = GetComponent <RoundCoordinator>(); roundTimer = GetComponent <RoundTimer>(); }
public void Initialize(SpriteBucket sprites, ObjectPooler pooler) { spriteBucket = sprites; objectPooler = pooler; }