void OnClickSkillNpc(ButtonScript obj, object args, int param1, int param2) { // if(MainbabyListUI.babyObj !=null) // MainbabyListUI.babyObj.SetActive (false); MainbabySkillNpc.ShowMe(); //npcObj.SetActive (true); }
void OnMainClick(ButtonScript obj, object args, int param1, int param2) { this.gameObject.SetActive(false); switch ((RaiseType)param1) { case RaiseType.RT_RaiseBaby: MainbabyUI.SwithShowMe(); break; case RaiseType.RT_RaisePlayer: PlayerPropertyUI.SwithShowMe(); break; case RaiseType.RT_RaiseSkill: MainbabySkillNpc.SwithShowMe(); break; case RaiseType.RT_RaiseEquip: CompoundUI.SwithShowMe(true); break; case RaiseType.RT_PartnerCollect: EmployessControlUI.SwithShowMe(); break; case RaiseType.RT_PartnerBattle: EmployessControlUI.SwithShowMe(2); break; case RaiseType.RT_PartnerRaise: EmployessControlUI.SwithShowMe(3); break; case RaiseType.RT_PartnerEquip: EmployessControlUI.SwithShowMe(3); break; default: break; } }
private void OnSkillBtn(ButtonScript obj, object args, int param1, int param2) { MainbabySkillNpc.ShowMe(); //MainBabyPanle.ShowMe (); }