void Start() { fruitSpawnTimer = fruitSpawnDelay / 2; skewer = GameObject.FindGameObjectWithTag("Skewer"); fruitPrototypes = GameManager.Instance.gameState.fullSequence; skewerScript = skewer.GetComponent <SkewerController>(); }
void Start() { skewer = GameObject.FindWithTag("Skewer").GetComponent <SkewerController>(); Debug.Log(Score()); // for (int i = 0; i < Score(); i++) // { // flowers[i].enabled = true; // } // // for (int i = Score(); i < flowers.Count; i++) // { // flowers[i].enabled = false; // } }