Skip to content

Commit 2a96888

Browse files
committed
Update Prefab_Writing.cs
1 parent 22f2aea commit 2a96888

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Assets/Thirdweb/Examples/Scripts/Prefabs/Prefab_Writing.cs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using UnityEngine;
22
using Thirdweb;
3+
using System.Collections.Generic;
34

45
public class Prefab_Writing : MonoBehaviour
56
{
@@ -184,14 +185,14 @@ public async void OpenPack()
184185

185186
// NewPackInput newPackInput = new NewPackInput()
186187
// {
187-
// rewardsPerPack = "1",
188+
// rewardsPerPack = "10",
188189
// packMetadata = new NFTMetadata()
189190
// {
190191
// description = "Kitty Pack - Contains Kitty NFTs and Tokens!",
191192
// image = "ipfs://QmbpciV7R5SSPb6aT9kEBAxoYoXBUsStJkMpxzymV4ZcVc",
192193
// name = "My Epic Kitty Pack"
193194
// },
194-
// erc20Rewards = new List<ERC20Contents>()
195+
// erc20Contents = new List<ERC20Contents>()
195196
// {
196197
// new ERC20Contents()
197198
// {
@@ -200,11 +201,11 @@ public async void OpenPack()
200201
// totalRewards = "100"
201202
// }
202203
// },
203-
// erc721Rewards = new List<ERC721Contents>()
204+
// erc721Contents = new List<ERC721Contents>()
204205
// {
205-
// new ERC721Contents() { contractAddress = TOKEN_ERC721_CONTRACT, tokenId = "0", }
206+
// new ERC721Contents() { contractAddress = TOKEN_ERC721_CONTRACT, tokenId = "1", }
206207
// },
207-
// erc1155Rewards = new List<ERC1155Contents>()
208+
// erc1155Contents = new List<ERC1155Contents>()
208209
// {
209210
// new ERC1155Contents()
210211
// {
@@ -215,7 +216,7 @@ public async void OpenPack()
215216
// }
216217
// },
217218
// };
218-
// // Make sure you approve tokens first
219+
// Make sure you approve tokens first
219220
// var result = await pack.Create(newPackInput);
220221
// Debugger.Instance.Log("[Create Pack] Successful", result.ToString());
221222

0 commit comments

Comments
 (0)