public void ShowChangeCareer(List <LevelUpUnitData> units, int profession) { ChangeCareerSuccessUIViewModel.Open(); SoundManager.PlayUI(10013, false); this.CareerPic = UIUtils.GetRoleSelfChangeCareerImage(); this.CareerNameBg = UIUtils.GetRoleSelfNameBg(); this.CareerName = UIUtils.GetRoleSelfName(); this.m_datas = units; this.SetChangeCareerUnits(); }
protected override void Awake() { base.Awake(); ChangeCareerSuccessUIViewModel.m_instance = this; }