private void OnEnable() { if (firstload) { towerHP.BasicSetting(); } firstload = true; myTowerAtk = transform.GetComponentInChildren <TowerAtk>(); if (!cursor) { cursor = GameObject.FindGameObjectWithTag("MouseCursor").GetComponent <AOSMouseCursor>(); } }