Esempio n. 1
0
    private void Start()
    {
        CallbackHandler.instance.changeMenu += ChangeMenu;

        foreach (Ability n in ability)
        {
            ShopSlot temp = Instantiate(shopSlotPrefab, layoutGroup.transform).GetComponent <ShopSlot>();
            temp.SetupAbility(n);
        }
    }