Skip to content

Commit

Permalink
update samples to 0.27
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamas Szucs committed Feb 27, 2023
1 parent 8710a84 commit 2d26468
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions Assets/SuiUnitySDK/Samples/Scenes/CapyNftLoaders.unity
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 5336578054776271697, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: NftObjectId
value: 0x1194dab60ed6dbbb36853542725b85c2c6a3b8b2
value: 0xf2216fef2c6e5c35c748ea0f941d3bf6d47421e7
objectReference: {fileID: 0}
- target: {fileID: 5336578054776271697, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: AccessoryPrefab
Expand Down Expand Up @@ -650,7 +650,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 5336578054776271697, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: NftObjectId
value: 0x1194dab60ed6dbbb36853542725b85c2c6a3b8b2
value: 0xf2216fef2c6e5c35c748ea0f941d3bf6d47421e7
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
Expand Down Expand Up @@ -731,7 +731,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 5491348119430231939, guid: 0fd7b46e47fc1f74b850555fe8417ef6, type: 3}
propertyPath: NftObjectId
value: 0x1194dab60ed6dbbb36853542725b85c2c6a3b8b2
value: 0xf2216fef2c6e5c35c748ea0f941d3bf6d47421e7
objectReference: {fileID: 0}
- target: {fileID: 5491348119430231941, guid: 0fd7b46e47fc1f74b850555fe8417ef6, type: 3}
propertyPath: m_Name
Expand Down Expand Up @@ -925,7 +925,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 5336578054776271697, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: NftObjectId
value: 0x1194dab60ed6dbbb36853542725b85c2c6a3b8b2
value: 0xf2216fef2c6e5c35c748ea0f941d3bf6d47421e7
objectReference: {fileID: 0}
- target: {fileID: 5336578054776271697, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: AccessoryPrefab
Expand Down Expand Up @@ -1026,7 +1026,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 5336578054776271697, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: NftObjectId
value: 0x1194dab60ed6dbbb36853542725b85c2c6a3b8b2
value: 0xf2216fef2c6e5c35c748ea0f941d3bf6d47421e7
objectReference: {fileID: 0}
- target: {fileID: 5336578054776271697, guid: 6ec80bc139e5aaf44a5d977299d3f543, type: 3}
propertyPath: AccessoryPrefab
Expand All @@ -1052,7 +1052,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8833505871459512828, guid: 18e32f55c24cc7146a4659e90c8bb080, type: 3}
propertyPath: NftObjectId
value: 0x1194dab60ed6dbbb36853542725b85c2c6a3b8b2
value: 0xf2216fef2c6e5c35c748ea0f941d3bf6d47421e7
objectReference: {fileID: 0}
- target: {fileID: 8900104916062188006, guid: 18e32f55c24cc7146a4659e90c8bb080, type: 3}
propertyPath: m_Pivot.x
Expand Down
8 changes: 4 additions & 4 deletions Assets/SuiUnitySDK/Samples/Scenes/NftLoaders.unity
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8278469651352085758, guid: 2b68816adf6d2484d8f5dfe363563c6f, type: 3}
propertyPath: NftObjectId
value: 0x017bb7ba95cb213f67afe473c2f2c83ad0557dc8
value: 0xb0a68dffa51bcc41e531531eca74dc377d66c395
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 2b68816adf6d2484d8f5dfe363563c6f, type: 3}
Expand Down Expand Up @@ -599,7 +599,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8124817349403666088, guid: 950fbadea8e2ecf4db7a1b7ca654be56, type: 3}
propertyPath: NftObjectId
value: 0x017bb7ba95cb213f67afe473c2f2c83ad0557dc8
value: 0xb0a68dffa51bcc41e531531eca74dc377d66c395
objectReference: {fileID: 0}
- target: {fileID: 8124817349403666088, guid: 950fbadea8e2ecf4db7a1b7ca654be56, type: 3}
propertyPath: TargetRenderer
Expand Down Expand Up @@ -725,7 +725,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 539349531932313786, guid: 9faa489eeda71424695eab8b80e4ce9e, type: 3}
propertyPath: NftObjectId
value: 0x017bb7ba95cb213f67afe473c2f2c83ad0557dc8
value: 0xf2216fef2c6e5c35c748ea0f941d3bf6d47421e7
objectReference: {fileID: 0}
- target: {fileID: 539349531932313787, guid: 9faa489eeda71424695eab8b80e4ce9e, type: 3}
propertyPath: m_Name
Expand Down Expand Up @@ -791,7 +791,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 539349531932313786, guid: 9faa489eeda71424695eab8b80e4ce9e, type: 3}
propertyPath: NftObjectId
value: 0x017bb7ba95cb213f67afe473c2f2c83ad0557dc8
value: 0xf2216fef2c6e5c35c748ea0f941d3bf6d47421e7
objectReference: {fileID: 0}
- target: {fileID: 539349531932313787, guid: 9faa489eeda71424695eab8b80e4ce9e, type: 3}
propertyPath: m_Name
Expand Down
2 changes: 1 addition & 1 deletion Assets/SuiUnitySDK/Samples/Scenes/SDKSample.unity
Original file line number Diff line number Diff line change
Expand Up @@ -2465,7 +2465,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: "NFT Claimed! \nCheck it on sui explorer:"
m_text: "NFT Minted! \nCheck it on the Sui explorer:"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class NftProtocolMintUIController : MonoBehaviour

private void Start()
{
NFTMintCapIdField.text = "0xbf4d29d07175fcb83d5e7af19f909e9b87f45e57";
NFTMintCapIdField.text = "0xa6feff4e40c90bf34abafed94d523744050df63b";
TargetWalletAddressInputField.text = SuiWallet.GetActiveAddress();

MintNFTButton.onClick.AddListener(async () =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public class TransactionsUIController : MonoBehaviour

public TMP_InputField Output;

private string SharedCounterObjectId = "0x98b1a59ba242d4410b3ca4dbd0d376c4f92e162b";
private string PackageObjectId = "0xa1382c7886e88709a9dc4db2b35ac56f629806af";
private string SharedCounterObjectId = "0x823bfc13ccfbf4156d2d724e6b9f8286c2171f69";
private string PackageObjectId = "0xf637e0486b7d7fb3d7c6fd97639731bb5bd5e3c0";

private async void Start()
{
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Connecting Unity game developers to Sui and Origin Byte's NFT ecosystem.
- Helper Scripts and prefabs to load NFTs (even Capys!)
- Windows desktop and WebGL platforms tested
- Unity 2021.3.10f1 LTS or later supported
- Samples are using Sui 0.25.0 devnet
- Samples are using Sui 0.27.0 devnet

![Capy Image Nft loader](/imgs/capy_loader_1.webp "Capy Image Nft loader")

Expand Down

0 comments on commit 2d26468

Please sign in to comment.