少年修仙传客户端代码仓库
client_Wu Xijin
2019-04-22 d12c09b9688d578f2bc20f769ca2afa44692a14d
System/Mount/MountPanelAssignment.cs
@@ -5,7 +5,6 @@
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Collections.Generic;
using System;
using Snxxz.UI;
@@ -71,8 +70,6 @@
        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>()); } }
@@ -149,14 +146,17 @@
        {
            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();