void Start() { saveDraw = GameObject.FindGameObjectWithTag("ManagerDraw").GetComponent <SaveDraw>(); ButtonTuoiCay = GameObject.FindGameObjectWithTag("ButtonTuoiCay"); te = GameObject.FindGameObjectWithTag("TreeCanvas").GetComponent <TreeEnum>(); phanTramWater = GameObject.FindGameObjectWithTag("TextWater").GetComponent <TextMeshProUGUI>(); countItem = GameObject.FindGameObjectWithTag("LeftBar").GetComponent <CountItemManager>(); sumScale = 0; StartCoroutine(DownPower(1)); }
// Start is called before the first frame update void Start() { SlItem = GameObject.FindGameObjectWithTag("LeftBar").GetComponent <CountItemManager>(); optionsScreen.SetActive(false); }