Exemple #1
0
    void InstantiateDollCard(DollData.DollInfo doll)
    {
        CharacterCard newButton = Instantiate(dollButtonPrefab, container);
        string        productID = doll.productID;
        string        nameKey   = doll.nameKey;
        Sprite        image     = doll.previewImage;

        newButton.Init(doll.dollType, nameKey, productID, image);
        newButton.Setup();
        normalDollCards.Add(newButton);
    }