//public Transform skillDetailPanel; private void Awake() { ABM = GetComponentInChildren <ActionBarManager>(); GC = GetComponentInParent <GameController>(); SDL = GetComponentInChildren <SkillDetailsList>(); GM = GC.GM; GC.GM.BM = this; // SDGameManager.Instance.isUsingProp = true; }
public void UseSkillAddMpTp(BattleRoleData source , SDConstants.AddMpTpType AddType = SDConstants.AddMpTpType.Normal) { int addMp = SkillDetailsList.AddMpAfterSkill(AddType, source); source.MpController.addMp(addMp); int addTp = SkillDetailsList.AddTpAfterSkill(AddType, source); source.TpController.addTp(addTp); Debug.Log("AfterSkill AddMp:" + addMp + "||AddTp:" + addTp); }