private void RefreshCombatCapability() { int combatCapability = PvpFormationProxy.instance.GetPower(); NumberIncreaseAction numberAct = combatCapabilityText.GetComponent <NumberIncreaseAction>(); combatCapabilityText.GetComponent <NumberIncreaseAction>().Init(numberAct.endNumber, combatCapability); }
private void RefreshCombatCapability() { int combatCapability = ExpeditionFormationProxy.instance.ExpeditionPower; NumberIncreaseAction numberAct = combatCapabilityText.GetComponent <NumberIncreaseAction>(); combatCapabilityText.GetComponent <NumberIncreaseAction>().Init(numberAct.endNumber, combatCapability); //combatCapabilityText.text = combatCapability.ToString(); }