Пример #1
0
    private void Start()
    {
        shuffledItems = new Item[3];
        audioSource   = GetComponent <AudioSource>();
        dropItems     = dropPoints.GetComponentsInChildren <Item>();
        foreach (var item in dropItems)
        {
            item.gameObject.SetActive(false);
        }

        ItemBtns = itemPanel.GetComponentsInChildren <Button>();
        foreach (var item in ItemBtns)
        {
            item.interactable = false;
        }

        btnShuffle.interactable = false;

        GameManager.SetMsgText("게임 시작 버튼을 눌러 시작하세요", 3f);
    }