public void Show(FollowerDetailView followerDetailView) { base.gameObject.SetActive(true); this.m_followerDetailView = followerDetailView; if (GarrisonStatus.Gold() >= 250) { this.m_okButton.interactable = true; } else { this.m_okButtonLabel.text = StaticDB.GetString("CANT_AFFORD", null); this.m_okButton.interactable = false; } this.m_activationsRemainingText.text = GarrisonStatus.GetRemainingFollowerActivations().ToString(); this.m_activationCostText.text = GarrisonStatus.GetFollowerActivationGoldCost().ToString(); }
public void Show(FollowerDetailView followerDetailView) { base.gameObject.SetActive(true); this.m_followerDetailView = followerDetailView; this.m_reactivationCostText.text = GarrisonStatus.GetFollowerActivationGoldCost().ToString(); }