// Start is called before the first frame update void Start() { GetCellLocation(); //GameManager.onTurnEnd += NewCycle; //GameManager.nutrientEvent += GetNutrients; // GameManager.addExpansionEvent += CheckNeighbors; GameManager.currentManager.treesInScene.Add(this); _nutrientManager = NutrientManager.currentNutrientManager; _weatherManager = WeatherManager.currentWeatherManager; _collectableManager = GameManager.currentManager._sugarCollectableAnimation; _skinnedMeshRenderer = GetComponentInChildren <SkinnedMeshRenderer>(); skinnedMesh = _skinnedMeshRenderer.sharedMesh; newBlendValue = oldBlendValue; oldTreeLeavesNumber = treeLeavesNumber; treeText = gameObject.GetComponent <DisplayUI>().myText; //healthyTreeDetails = healthyTreeVisualsContainer.GetComponentsInChildren<SkinnedMeshRenderer>(); upgradeParticles = particleContainer.GetComponentsInChildren <ParticleSystem>(); TreeVisualChange(); }