Exemple #1
0
        public void AddSelect(string imageFileName, string text, Action onClick)
        {
            SelectObject selectObject = new SelectObject(imageFileName, text, onClick);

            selectObject.Go.transform.SetParent(SelectLayout, false);
            _selectList.Add(selectObject.Go);
        }
 public void AddSelect(string imageFileName, string text, Action onClick)
 {
     SelectObject selectObject = new SelectObject(imageFileName, text, onClick);
     selectObject.Go.transform.SetParent(SelectLayout, false);
     _selectList.Add(selectObject.Go);
 }