Exemple #1
0
        public override void Awake()
        {
            base.Awake();

            var t = mDMono.transform;

            m_Panel             = t.GetComponent <UIPanel>("Panel");
            m_PanelSortingOrder = 30000;
            Length         = 850;
            QueueSize      = 50;
            StartX         = 400;
            RollingSpeed   = 200f;
            m_ContextLabel = t.GetComponent <UILabel>("Panel/Panel/Label");

            m_Instance = this;
            t.gameObject.SetActive(false);
            m_Panel.sortingOrder = m_PanelSortingOrder;
        }
Exemple #2
0
 public override void OnDestroy()
 {
     m_Instance = null;
 }