public void SetScrollCategory() { ScrollManaging sm = scroll.GetComponent <ScrollManaging>(); sm.type = type; scroll.GetComponent <ScrollManaging>().ItemMake(); }
public void SetScrollCategory(Interface handle, Item_Ty type) { ScrollManaging sm = handle.GetComponent <ScrollManaging>(); sm.type = type; handle.GetComponent <ScrollManaging>().ItemMake(); }
public void SelectShark(int h) { ScrollManaging sm = GameManager.Instance.interfaceManager.defaultIf[(int)_DefaultInterface._Sharkshop].childs[0].GetComponent <ScrollManaging>(); sm.items[handle].GetComponent <Image>().sprite = sprite[0]; handle = h; _sharkData = GameManager.Instance.sharks[sm.items[handle].GetComponent <ScrollItem>().itemname.text]; sm.items[handle].GetComponent <Image>().sprite = sprite[1]; }