Esempio n. 1
0
        public void AddNewItem(string inputText, string navigation, SW_Column column)
        {
            SW_Item tempItem = Instantiate(Overlord.ItemNavPrefab);

            tempItem.transform.SetParent(transform, false);
            tempItem.Initialize(column.minWidth, column.flexWidth, inputText, Overlord, this, navigation);
            Items.Add(tempItem);
        }
Esempio n. 2
0
        public void AddNewItem(string inputText, SW_Column column)
        {
            SW_Item tempItem = Instantiate(Overlord.ItemPrefab);

            tempItem.transform.SetParent(transform, false);
            tempItem.Initialize(column, inputText, Overlord, this);
            Items.Add(tempItem);
        }