예제 #1
0
    public void SetScrollCategory()
    {
        ScrollManaging sm = scroll.GetComponent <ScrollManaging>();

        sm.type = type;
        scroll.GetComponent <ScrollManaging>().ItemMake();
    }
예제 #2
0
    public void SetScrollCategory(Interface handle, Item_Ty type)
    {
        ScrollManaging sm = handle.GetComponent <ScrollManaging>();

        sm.type = type;
        handle.GetComponent <ScrollManaging>().ItemMake();
    }
예제 #3
0
    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];
    }