public void GetExp(int exp) { curExp += exp; if (curExp >= evolExp && evolMonId != -1) { GrowGameCtrl.GetInstance().CreatMon(evolMonId, gameObject.transform.position); Dead(); } }
public void GetTarget() { target = GrowGameCtrl.GetInstance().GetCloseMon(this); }
public void Dead() { GrowGameCtrl.GetInstance().RemoveMon(this); Destroy(gameObject); }