private void PlantTree(Vector3 pos) { if (!selectedPlaceable.available) { return; } selectedPlaceable.Purchase(); // if(!canPlaceTree)return; GameObject i = Instantiate(youngTree, pos, Quaternion.identity); onTreePlace.Raise(); canPlaceTree = false; // StartCoroutine(TreeTimer()); StartCoroutine(GrowTree(i)); }