| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Thursday, August 16, 2018 |
| | | //-------------------------------------------------------- |
| | | using UnityEngine; |
| | | using System.Collections; |
| | | using UnityEngine.UI; |
| | | //--------------------------------------------------------
|
| | | // [Author]: 第二世界
|
| | | // [ Date ]: Thursday, August 16, 2018
|
| | | //--------------------------------------------------------
|
| | | using UnityEngine;
|
| | | using System.Collections;
|
| | | using UnityEngine.UI;
|
| | | using System.Collections.Generic;
|
| | |
|
| | | //神兽强化;列表条目
|
| | | namespace Snxxz.UI
|
| | | { |
| | | |
| | | {
|
| | |
|
| | | public class GodBeastEntry : MonoBehaviour
|
| | | {
|
| | | [SerializeField] ItemCell m_itemCell; |
| | | [SerializeField] GameObject m_Selectedbar_Image; |
| | | [SerializeField] Text m_Item_Text; |
| | | [SerializeField] Button m_GodBeastButton; |
| | | [SerializeField] RedpointBehaviour m_RedPoint; |
| | | [SerializeField] Image m_GodBeastIcon; |
| | | public float Magnification = 1f; |
| | | [SerializeField] ItemCell m_itemCell;
|
| | | [SerializeField] GameObject m_Selectedbar_Image;
|
| | | [SerializeField] Text m_Item_Text;
|
| | | [SerializeField] Button m_GodBeastButton;
|
| | | [SerializeField] RedpointBehaviour m_RedPoint;
|
| | | [SerializeField] Image m_GodBeastIcon;
|
| | | public float Magnification = 1f;
|
| | | public Button GodBeastButton
|
| | | {
|
| | | get { return m_GodBeastButton; }
|
| | | set { m_GodBeastButton = value; }
|
| | | } |
| | | |
| | | }
|
| | |
|
| | | DogzModel Dogz_model;
|
| | | DogzModel dogz_model { get { return Dogz_model ?? (Dogz_model = ModelCenter.Instance.GetModel<DogzModel>()); } }
|
| | | GodBeastModel godBeastModel { get { return ModelCenter.Instance.GetModel<GodBeastModel>(); } }
|
| | |
| | | if (itemModel[i].EquipPlace == godBeastPart)
|
| | | {
|
| | | ItemCellModel ItemModel = new ItemCellModel(itemModel[i].itemId, true, 0, 0);//不显示绑定
|
| | | if (godBeastModel.GodBeastRedPointDic.ContainsKey(itemModel[i].itemInfo.ItemPlace))
|
| | | if (godBeastModel.GodBeastRedPointDic.ContainsKey(itemModel[i].itemPlace))
|
| | | {
|
| | | m_RedPoint.redpointId = godBeastModel.GodBeastRedPointDic[(itemModel[i].itemInfo.ItemPlace)].id;
|
| | | m_RedPoint.redpointId = godBeastModel.GodBeastRedPointDic[(itemModel[i].itemPlace)].id;
|
| | | }
|
| | | m_itemCell.Init(ItemModel);
|
| | | var itemConfig = ItemConfig.Get(itemModel[i].itemId);
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | |
|
| | |
|