//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Monday, September 11, 2017 //-------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; //红包信息 namespace vnxbqy.UI { public class RedBagTipsWin : Window, SecondWindowInterface { [SerializeField] ScrollerController m_ScrollerController; [SerializeField] ScrollerController m_ScrollerController1; List RedBagSorting = new List();//红包排序 public static RedBagTipsWin _RedBagTipsWin; [SerializeField] Button _V6Btn;//V6封红包按钮 private int _PlayerID;//获取玩家的ID public bool _RedBool = false;//用来控制判断是否V6红包 RedPacketModel m_RedPacket; RedPacketModel redPacket { get { return m_RedPacket ?? (m_RedPacket = ModelCenter.Instance.GetModel()); } } #region Built-in public Button close { get; set; } protected override void BindController() { if (this is SecondWindowInterface) { var frame = this.GetComponentInChildren(); frame.Create(); close = frame.GetComponentInChildren