// Start is called before the first frame update void Start() { dialogueManager = FindObjectOfType <DialogueManager>(); treeTracker = treeTrackerObject.GetComponent <ForestTracker>(); treesToPlant = treeTracker.treesToPlant; interactable = false; }
//private Coroutine co; // Start is called before the first frame update void Start() { if (noWaterText != null) { startingColour = noWaterText.color; } currentProgress = 0; complete = false; progressBar.value = CalculateProgress(); progressBar.gameObject.SetActive(false); pivot.transform.localScale = new Vector3(1, 1, 0); if (treeCounterObject != null) { treeCounter = treeCounterObject.GetComponent <ForestTracker>(); } //co = StartCoroutine(StartGlow()); }