void Start() { levelPlanner = LevelPlanner.Instance; CoinAmount = 0; InitializeCoins(); InitializeObstacles(); }
private void Awake() { if (Instance == null) { Instance = this; } else { Destroy(gameObject); } actualRow = GenerateRow(); }
public void Start() { runManager = RunManager.Instance; poolMember = GetComponent <PoolMember>(); levelPlanner = LevelPlanner.Instance; }