| | |
| | | }
|
| | | else
|
| | | {
|
| | | UI3DModelExhibition.Instance.StopShowEquipment();
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | m_RewardInformationImage.SetActive(false);
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | m_RawImageBoy.gameObject.SetActive(true);
|
| | | m_RawImageGirl.gameObject.SetActive(false);
|
| | | UI3DModelExhibition.Instance.BeginShowEquipment(itemConfig.ChangeOrd, Vec3, m_RawImageBoy);
|
| | | UI3DModelExhibition.Instance.ShowEquipment(itemConfig.ChangeOrd, Vec3, m_RawImageBoy);
|
| | | }
|
| | | else
|
| | | {
|
| | | m_RawImageBoy.gameObject.SetActive(false);
|
| | | m_RawImageGirl.gameObject.SetActive(true);
|
| | | UI3DModelExhibition.Instance.BeginShowEquipment(itemConfig.ChangeOrd, Vec3, m_RawImageGirl);
|
| | | UI3DModelExhibition.Instance.ShowEquipment(itemConfig.ChangeOrd, Vec3, m_RawImageGirl);
|
| | | }
|
| | | }
|
| | |
|
| | |
| | |
|
| | | protected override void OnPreClose()
|
| | | {
|
| | | UI3DModelExhibition.Instance.StopShowEquipment();
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | MainInterfaceWin.IsCopyOfThePanel -= IsCopyOfThePanel;
|
| | | FirstTimeRechargeModel.FirstTimeRechargeTiime -= FirstTimeRechargeTiime;
|
| | | FirstTimeRechargeModel.FirstTimeRecharEffect -= FirstTimeRecharEffect;
|
| | |
| | | {
|
| | | m_RawImageBoy.gameObject.SetActive(true);
|
| | | m_RawImageGirl.gameObject.SetActive(false);
|
| | | UI3DModelExhibition.Instance.BeginShowEquipment(itemConfig.ChangeOrd, Vec3, m_RawImageBoy);
|
| | | UI3DModelExhibition.Instance.ShowEquipment(itemConfig.ChangeOrd, Vec3, m_RawImageBoy);
|
| | | }
|
| | | else
|
| | | {
|
| | | m_RawImageBoy.gameObject.SetActive(false);
|
| | | m_RawImageGirl.gameObject.SetActive(true);
|
| | | UI3DModelExhibition.Instance.BeginShowEquipment(itemConfig.ChangeOrd, Vec3, m_RawImageGirl);
|
| | | UI3DModelExhibition.Instance.ShowEquipment(itemConfig.ChangeOrd, Vec3, m_RawImageGirl);
|
| | | }
|
| | |
|
| | | }
|
| | | else
|
| | | {
|
| | | UI3DModelExhibition.Instance.StopShowEquipment();
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | m_RewardInformationImage.SetActive(false);
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | UI3DModelExhibition.Instance.StopShowEquipment();
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | m_RewardInformationImage.SetActive(false);
|
| | | }
|
| | | }
|
| | |
| | | {
|
| | | LocalSave.SetBool("FirstTimeRechargeBool", false);
|
| | | m_RewardInformationImage.SetActive(false);
|
| | | UI3DModelExhibition.Instance.StopShowEquipment();
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | }
|
| | | private void OnClickFirstFlush()
|
| | | {
|
| | | LocalSave.SetBool("FirstTimeRechargeBool", false);
|
| | | UI3DModelExhibition.Instance.StopShowEquipment();
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | m_RewardInformationImage.SetActive(false);
|
| | | if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && !NewBieCenter.Instance.inGuiding)
|
| | | {
|
| | | WindowCenter.Instance.CloseImmediately<MainInterfaceWin>();
|
| | | }
|
| | | UI3DModelExhibition.Instance.StopShowEquipment();
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | if (WindowCenter.Instance.CheckOpen<FirstTimeRechargeWin>())
|
| | | {
|
| | | WindowCenter.Instance.CloseImmediately<FirstTimeRechargeWin>();
|
| | |
| | | m_TimeText.text = obj;
|
| | | if (NewBieCenter.Instance.inGuiding || ModelCenter.Instance.GetModel<TreasureModel>().newGotShowing)
|
| | | {
|
| | | UI3DModelExhibition.Instance.StopShowEquipment();
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | m_RewardInformationImage.SetActive(false);
|
| | | }
|
| | | }
|