Exemplo n.º 1
0
        public void Init(IAgentScrollElemetInfos elementInfosAgent)
        {
            m_SampleElement.gameObject.active = false;
            m_Inited        = true;
            m_ElementsAgent = elementInfosAgent;

            m_Rect            = GetComponent <RectTransform>();
            m_ShowingElements = new List <ScrollElement>();
            m_PoolOfElements  = new LinkedList <ScrollElement>();
            OnInit();
        }
Exemplo n.º 2
0
 public void Reset(IAgentScrollElemetInfos elementInfosAgent)
 {
     m_ElementsInfoAgent = elementInfosAgent;
     Reset();
 }