| | |
| | | using UnityEngine;
|
| | | using System.Collections;
|
| | | using UnityEngine.UI;
|
| | |
|
| | | using System.Collections.Generic;
|
| | | using System;
|
| | | using Snxxz.UI;
|
| | |
| | | private int mount_ID = 0;//用来标记坐骑的ID
|
| | | MountModel m_MountModel;
|
| | | MountModel mountModel { get { return m_MountModel ?? (m_MountModel = ModelCenter.Instance.GetModel<MountModel>()); } }
|
| | | GetItemPathModel _GetItemPath;
|
| | | GetItemPathModel GetItemPath { get { return _GetItemPath ?? (_GetItemPath = ModelCenter.Instance.GetModel<GetItemPathModel>()); } }
|
| | |
|
| | | PackModel _playerPack;
|
| | | PackModel playerPack { get { return _playerPack ?? (_playerPack = ModelCenter.Instance.GetModel<PackModel>()); } }
|
| | |
| | | {
|
| | | FuncConfigConfig _tagfun = FuncConfigConfig.Get("HorseUpItem");
|
| | | ItemConfig _tagchine = ItemConfig.Get(int.Parse(_tagfun.Numerical1));
|
| | | GetItemPath.SetChinItemModel(_tagchine.ID);
|
| | | EquipTipUtility.Show(_tagchine.ID);
|
| | | }
|
| | |
|
| | | private void OnClickNotUnlockButton()
|
| | | {
|
| | | HorseConfig _Horse = HorseConfig.Get(pitchOnHorseID);
|
| | | ItemConfig _item = ItemConfig.Get(_Horse.UnlockItemID);
|
| | | GetItemPath.SetPetMatUnlockModel(_item.ID);
|
| | | var _Horse = HorseConfig.Get(pitchOnHorseID);
|
| | | var _item = ItemConfig.Get(_Horse.UnlockItemID);
|
| | |
|
| | | EquipTipUtility.Show(_item.ID);
|
| | | }
|
| | |
|
| | | public void PanelAssignment(int mountID)
|
| | | {
|
| | | SetSkillimage();
|