示例#1
0
    // Use this for initialization
    void Start()
    {
        list = FindObjectOfType <equipmentList>();
        if (list == null)
        {
            GameObject adding = Instantiate(prefabbedList, null, false);
            list        = adding.GetComponent <equipmentList>();
            adding.name = "List";

            StateManager check = gameObject.GetComponent <StateManager>();

            if (!check)
            {
                list.startGame("Guest", true);
            }
        }

        combinedShop.Begin(list);

        headButton.interactable = false;
        nextPart.interactable   = false;
        prevPart.interactable   = false;
        EnableEquip             = false;

        foreach (Button item in otherSlots)
        {
            item.interactable = false;
        }

        SetStep(1);

        enableOutlines(-1);
    }
示例#2
0
    // Use this for initialization
    void Start()
    {
        base.Find();

        combinedShop.Begin(list);

        changeState(playStatus.LillyHome);

        backgrounds.startBack(playStatus.MyMonster);
    }