| | |
| | | public class RoleEquipWin : Window
|
| | | {
|
| | | #region 成员变量
|
| | | [SerializeField] EquipBehaviours equipPlaces;
|
| | | //[SerializeField] EquipBehaviours equipPlaces;
|
| | |
|
| | | [SerializeField] RawImage m_Role;
|
| | | [SerializeField] private Button m_OneKeySell;
|
| | |
| | | [SerializeField] private Text m_Copper;
|
| | | [SerializeField] private Text m_Diamond;
|
| | | [SerializeField] private Button m_EquBtn;
|
| | | [SerializeField] private Button m_SpiritEquBtn;
|
| | |
|
| | | #endregion
|
| | |
|
| | |
| | | DisplaySortableCountDown();
|
| | | }
|
| | |
|
| | | equipPlaces.DisplayAll();
|
| | | UI3DModelExhibition.Instance.ShowPlayer(m_Role, PlayerDatas.Instance.baseData.Job);
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | private void OnSpiritEquBtnDown()
|
| | | {
|
| | |
|
| | | }
|
| | |
|
| | | private void OnEquBtnDown()
|
| | | {
|
| | | WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.RealmEquip);
|
| | |
| | | {
|
| | | if (levelUpDirty)
|
| | | {
|
| | | equipPlaces.DisplayAll();
|
| | | UI3DModelExhibition.Instance.ShowPlayer(m_Role, PlayerDatas.Instance.baseData.Job);
|
| | | levelUpDirty = false;
|
| | | }
|
| | |
| | | }
|
| | |
|
| | | var equipType = (RoleEquipType)equipPosition.y;
|
| | | if (!equipPlaces.Contain(equipType))
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | equipPlaces[equipType].Display(equipType);
|
| | |
|
| | | UI3DModelExhibition.Instance.ShowPlayer(m_Role, PlayerDatas.Instance.baseData.Job);
|
| | | }
|
| | |
|