diff --git a/Packages/io.chainsafe.web3-unity.hyperplay/Runtime/Libraries/ChainSafe.Gaming.HyperPlay.dll b/Packages/io.chainsafe.web3-unity.hyperplay/Runtime/Libraries/ChainSafe.Gaming.HyperPlay.dll index fde6d4c5b..948ce93a8 100644 Binary files a/Packages/io.chainsafe.web3-unity.hyperplay/Runtime/Libraries/ChainSafe.Gaming.HyperPlay.dll and b/Packages/io.chainsafe.web3-unity.hyperplay/Runtime/Libraries/ChainSafe.Gaming.HyperPlay.dll differ diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/ChainSafe.Gaming.Lootboxes.Chainlink.dll b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/ChainSafe.Gaming.Lootboxes.Chainlink.dll index f7a036204..341936d0b 100644 Binary files a/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/ChainSafe.Gaming.Lootboxes.Chainlink.dll and b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/ChainSafe.Gaming.Lootboxes.Chainlink.dll differ diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll index b77bc7a72..8e2859aae 100644 Binary files a/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll and b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll differ diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Web3.Unity Chainlink Lootboxes/Scripts/ChainlinkLootboxSampleLauncher.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Web3.Unity Chainlink Lootboxes/Scripts/ChainlinkLootboxSampleLauncher.cs index 367dcf027..9927f4a53 100644 --- a/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Web3.Unity Chainlink Lootboxes/Scripts/ChainlinkLootboxSampleLauncher.cs +++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Web3.Unity Chainlink Lootboxes/Scripts/ChainlinkLootboxSampleLauncher.cs @@ -9,6 +9,7 @@ using ChainSafe.Gaming.Wallets; using ChainSafe.Gaming.Web3; using ChainSafe.Gaming.Web3.Build; +using ChainSafe.Gaming.Web3.Core.Chains; using ChainSafe.Gaming.Web3.Unity; using Microsoft.Extensions.DependencyInjection; using UnityEngine; @@ -26,9 +27,8 @@ public class ChainlinkLootboxSampleLauncher : MonoBehaviour private Web3 web3; - private class Web3Config : ICompleteProjectConfig + private class Web3Config : IChainConfigSet { - public string ProjectId => string.Empty; public bool EnableAnalytics => true; public IEnumerable Configs { get; } = new[] diff --git a/Packages/io.chainsafe.web3-unity.mud/Runtime/Libraries/ChainSafe.Gaming.Mud.dll b/Packages/io.chainsafe.web3-unity.mud/Runtime/Libraries/ChainSafe.Gaming.Mud.dll index 780db89a4..e5aaf3414 100644 Binary files a/Packages/io.chainsafe.web3-unity.mud/Runtime/Libraries/ChainSafe.Gaming.Mud.dll and b/Packages/io.chainsafe.web3-unity.mud/Runtime/Libraries/ChainSafe.Gaming.Mud.dll differ diff --git a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/IWorld.abi.json b/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/IWorld.abi.json deleted file mode 100644 index ca4e1c0ef..000000000 --- a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/IWorld.abi.json +++ /dev/null @@ -1,2021 +0,0 @@ -[ - { - "type": "function", - "name": "app__increment", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "batchCall", - "inputs": [ - { - "name": "systemCalls", - "type": "tuple[]", - "internalType": "struct SystemCallData[]", - "components": [ - { - "name": "systemId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "outputs": [ - { - "name": "returnDatas", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "batchCallFrom", - "inputs": [ - { - "name": "systemCalls", - "type": "tuple[]", - "internalType": "struct SystemCallFromData[]", - "components": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "systemId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "outputs": [ - { - "name": "returnDatas", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "call", - "inputs": [ - { - "name": "systemId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "callFrom", - "inputs": [ - { - "name": "delegator", - "type": "address", - "internalType": "address" - }, - { - "name": "systemId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "creator", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "deleteRecord", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getDynamicField", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "dynamicFieldIndex", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getDynamicFieldLength", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "dynamicFieldIndex", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getDynamicFieldSlice", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "dynamicFieldIndex", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "start", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "end", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getField", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "fieldIndex", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "fieldLayout", - "type": "bytes32", - "internalType": "FieldLayout" - } - ], - "outputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getField", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "fieldIndex", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getFieldLayout", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - } - ], - "outputs": [ - { - "name": "fieldLayout", - "type": "bytes32", - "internalType": "FieldLayout" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getFieldLength", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "fieldIndex", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "fieldLayout", - "type": "bytes32", - "internalType": "FieldLayout" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getFieldLength", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "fieldIndex", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getKeySchema", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - } - ], - "outputs": [ - { - "name": "keySchema", - "type": "bytes32", - "internalType": "Schema" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getRecord", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "fieldLayout", - "type": "bytes32", - "internalType": "FieldLayout" - } - ], - "outputs": [ - { - "name": "staticData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "encodedLengths", - "type": "bytes32", - "internalType": "EncodedLengths" - }, - { - "name": "dynamicData", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getRecord", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [ - { - "name": "staticData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "encodedLengths", - "type": "bytes32", - "internalType": "EncodedLengths" - }, - { - "name": "dynamicData", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getStaticField", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "fieldIndex", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "fieldLayout", - "type": "bytes32", - "internalType": "FieldLayout" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getValueSchema", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - } - ], - "outputs": [ - { - "name": "valueSchema", - "type": "bytes32", - "internalType": "Schema" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "grantAccess", - "inputs": [ - { - "name": "resourceId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "grantee", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "initModule", - "type": "address", - "internalType": "contract IModule" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "installModule", - "inputs": [ - { - "name": "module", - "type": "address", - "internalType": "contract IModule" - }, - { - "name": "encodedArgs", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "installRootModule", - "inputs": [ - { - "name": "module", - "type": "address", - "internalType": "contract IModule" - }, - { - "name": "encodedArgs", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "popFromDynamicField", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "dynamicFieldIndex", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "byteLengthToPop", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "pushToDynamicField", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "dynamicFieldIndex", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "dataToPush", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "registerDelegation", - "inputs": [ - { - "name": "delegatee", - "type": "address", - "internalType": "address" - }, - { - "name": "delegationControlId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "initCallData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "registerFunctionSelector", - "inputs": [ - { - "name": "systemId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "systemFunctionSignature", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "worldFunctionSelector", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "registerNamespace", - "inputs": [ - { - "name": "namespaceId", - "type": "bytes32", - "internalType": "ResourceId" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "registerNamespaceDelegation", - "inputs": [ - { - "name": "namespaceId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "delegationControlId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "initCallData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "registerRootFunctionSelector", - "inputs": [ - { - "name": "systemId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "worldFunctionSignature", - "type": "string", - "internalType": "string" - }, - { - "name": "systemFunctionSignature", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "worldFunctionSelector", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "registerStoreHook", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "hookAddress", - "type": "address", - "internalType": "contract IStoreHook" - }, - { - "name": "enabledHooksBitmap", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "registerSystem", - "inputs": [ - { - "name": "systemId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "system", - "type": "address", - "internalType": "contract System" - }, - { - "name": "publicAccess", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "registerSystemHook", - "inputs": [ - { - "name": "systemId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "hookAddress", - "type": "address", - "internalType": "contract ISystemHook" - }, - { - "name": "enabledHooksBitmap", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "registerTable", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "fieldLayout", - "type": "bytes32", - "internalType": "FieldLayout" - }, - { - "name": "keySchema", - "type": "bytes32", - "internalType": "Schema" - }, - { - "name": "valueSchema", - "type": "bytes32", - "internalType": "Schema" - }, - { - "name": "keyNames", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "fieldNames", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [ - { - "name": "namespaceId", - "type": "bytes32", - "internalType": "ResourceId" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "revokeAccess", - "inputs": [ - { - "name": "resourceId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "grantee", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setDynamicField", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "dynamicFieldIndex", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setField", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "fieldIndex", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setField", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "fieldIndex", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "fieldLayout", - "type": "bytes32", - "internalType": "FieldLayout" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setRecord", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "staticData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "encodedLengths", - "type": "bytes32", - "internalType": "EncodedLengths" - }, - { - "name": "dynamicData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setStaticField", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "fieldIndex", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "fieldLayout", - "type": "bytes32", - "internalType": "FieldLayout" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "spliceDynamicData", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "dynamicFieldIndex", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "startWithinField", - "type": "uint40", - "internalType": "uint40" - }, - { - "name": "deleteCount", - "type": "uint40", - "internalType": "uint40" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "spliceStaticData", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "start", - "type": "uint48", - "internalType": "uint48" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "storeVersion", - "inputs": [], - "outputs": [ - { - "name": "version", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transferBalanceToAddress", - "inputs": [ - { - "name": "fromNamespaceId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "toAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferBalanceToNamespace", - "inputs": [ - { - "name": "fromNamespaceId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "toNamespaceId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "namespaceId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unregisterDelegation", - "inputs": [ - { - "name": "delegatee", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unregisterNamespaceDelegation", - "inputs": [ - { - "name": "namespaceId", - "type": "bytes32", - "internalType": "ResourceId" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unregisterStoreHook", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "hookAddress", - "type": "address", - "internalType": "contract IStoreHook" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unregisterSystemHook", - "inputs": [ - { - "name": "systemId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "hookAddress", - "type": "address", - "internalType": "contract ISystemHook" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "worldVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "HelloStore", - "inputs": [ - { - "name": "storeVersion", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HelloWorld", - "inputs": [ - { - "name": "worldVersion", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Store_DeleteRecord", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "indexed": true, - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "indexed": false, - "internalType": "bytes32[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Store_SetRecord", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "indexed": true, - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "indexed": false, - "internalType": "bytes32[]" - }, - { - "name": "staticData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - }, - { - "name": "encodedLengths", - "type": "bytes32", - "indexed": false, - "internalType": "EncodedLengths" - }, - { - "name": "dynamicData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Store_SpliceDynamicData", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "indexed": true, - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "indexed": false, - "internalType": "bytes32[]" - }, - { - "name": "dynamicFieldIndex", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "start", - "type": "uint48", - "indexed": false, - "internalType": "uint48" - }, - { - "name": "deleteCount", - "type": "uint40", - "indexed": false, - "internalType": "uint40" - }, - { - "name": "encodedLengths", - "type": "bytes32", - "indexed": false, - "internalType": "EncodedLengths" - }, - { - "name": "data", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Store_SpliceStaticData", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "indexed": true, - "internalType": "ResourceId" - }, - { - "name": "keyTuple", - "type": "bytes32[]", - "indexed": false, - "internalType": "bytes32[]" - }, - { - "name": "start", - "type": "uint48", - "indexed": false, - "internalType": "uint48" - }, - { - "name": "data", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "EncodedLengths_InvalidLength", - "inputs": [ - { - "name": "length", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "FieldLayout_Empty", - "inputs": [] - }, - { - "type": "error", - "name": "FieldLayout_InvalidStaticDataLength", - "inputs": [ - { - "name": "staticDataLength", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "computedStaticDataLength", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "FieldLayout_StaticLengthDoesNotFitInAWord", - "inputs": [ - { - "name": "index", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "FieldLayout_StaticLengthIsNotZero", - "inputs": [ - { - "name": "index", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "FieldLayout_StaticLengthIsZero", - "inputs": [ - { - "name": "index", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "FieldLayout_TooManyDynamicFields", - "inputs": [ - { - "name": "numFields", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxFields", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "FieldLayout_TooManyFields", - "inputs": [ - { - "name": "numFields", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxFields", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "Module_AlreadyInstalled", - "inputs": [] - }, - { - "type": "error", - "name": "Module_MissingDependency", - "inputs": [ - { - "name": "dependency", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "Module_NonRootInstallNotSupported", - "inputs": [] - }, - { - "type": "error", - "name": "Module_RootInstallNotSupported", - "inputs": [] - }, - { - "type": "error", - "name": "Schema_InvalidLength", - "inputs": [ - { - "name": "length", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "Schema_StaticTypeAfterDynamicType", - "inputs": [] - }, - { - "type": "error", - "name": "Slice_OutOfBounds", - "inputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "start", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "end", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "Store_IndexOutOfBounds", - "inputs": [ - { - "name": "length", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "accessedIndex", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "Store_InvalidBounds", - "inputs": [ - { - "name": "start", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "end", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "Store_InvalidFieldNamesLength", - "inputs": [ - { - "name": "expected", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "received", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "Store_InvalidKeyNamesLength", - "inputs": [ - { - "name": "expected", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "received", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "Store_InvalidResourceType", - "inputs": [ - { - "name": "expected", - "type": "bytes2", - "internalType": "bytes2" - }, - { - "name": "resourceId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "resourceIdString", - "type": "string", - "internalType": "string" - } - ] - }, - { - "type": "error", - "name": "Store_InvalidSplice", - "inputs": [ - { - "name": "startWithinField", - "type": "uint40", - "internalType": "uint40" - }, - { - "name": "deleteCount", - "type": "uint40", - "internalType": "uint40" - }, - { - "name": "fieldLength", - "type": "uint40", - "internalType": "uint40" - } - ] - }, - { - "type": "error", - "name": "Store_InvalidStaticDataLength", - "inputs": [ - { - "name": "expected", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "received", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "Store_InvalidValueSchemaDynamicLength", - "inputs": [ - { - "name": "expected", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "received", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "Store_InvalidValueSchemaLength", - "inputs": [ - { - "name": "expected", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "received", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "Store_InvalidValueSchemaStaticLength", - "inputs": [ - { - "name": "expected", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "received", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "Store_TableAlreadyExists", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "tableIdString", - "type": "string", - "internalType": "string" - } - ] - }, - { - "type": "error", - "name": "Store_TableNotFound", - "inputs": [ - { - "name": "tableId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "tableIdString", - "type": "string", - "internalType": "string" - } - ] - }, - { - "type": "error", - "name": "World_AccessDenied", - "inputs": [ - { - "name": "resource", - "type": "string", - "internalType": "string" - }, - { - "name": "caller", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "World_AlreadyInitialized", - "inputs": [] - }, - { - "type": "error", - "name": "World_CallbackNotAllowed", - "inputs": [ - { - "name": "functionSelector", - "type": "bytes4", - "internalType": "bytes4" - } - ] - }, - { - "type": "error", - "name": "World_DelegationNotFound", - "inputs": [ - { - "name": "delegator", - "type": "address", - "internalType": "address" - }, - { - "name": "delegatee", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "World_FunctionSelectorAlreadyExists", - "inputs": [ - { - "name": "functionSelector", - "type": "bytes4", - "internalType": "bytes4" - } - ] - }, - { - "type": "error", - "name": "World_FunctionSelectorNotFound", - "inputs": [ - { - "name": "functionSelector", - "type": "bytes4", - "internalType": "bytes4" - } - ] - }, - { - "type": "error", - "name": "World_InsufficientBalance", - "inputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "World_InterfaceNotSupported", - "inputs": [ - { - "name": "contractAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ] - }, - { - "type": "error", - "name": "World_InvalidNamespace", - "inputs": [ - { - "name": "namespace", - "type": "bytes14", - "internalType": "bytes14" - } - ] - }, - { - "type": "error", - "name": "World_InvalidResourceId", - "inputs": [ - { - "name": "resourceId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "resourceIdString", - "type": "string", - "internalType": "string" - } - ] - }, - { - "type": "error", - "name": "World_InvalidResourceType", - "inputs": [ - { - "name": "expected", - "type": "bytes2", - "internalType": "bytes2" - }, - { - "name": "resourceId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "resourceIdString", - "type": "string", - "internalType": "string" - } - ] - }, - { - "type": "error", - "name": "World_ResourceAlreadyExists", - "inputs": [ - { - "name": "resourceId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "resourceIdString", - "type": "string", - "internalType": "string" - } - ] - }, - { - "type": "error", - "name": "World_ResourceNotFound", - "inputs": [ - { - "name": "resourceId", - "type": "bytes32", - "internalType": "ResourceId" - }, - { - "name": "resourceIdString", - "type": "string", - "internalType": "string" - } - ] - }, - { - "type": "error", - "name": "World_SystemAlreadyExists", - "inputs": [ - { - "name": "system", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "World_UnlimitedDelegationNotAllowed", - "inputs": [] - } -] \ No newline at end of file diff --git a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/IWorld.abi.json.meta b/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/IWorld.abi.json.meta deleted file mode 100644 index 674edf606..000000000 --- a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/IWorld.abi.json.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 95864876aa70fc9418d44d22c274ff16 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/MudSample.cs b/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/MudSample.cs deleted file mode 100644 index aadb7b4b7..000000000 --- a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/MudSample.cs +++ /dev/null @@ -1,117 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; -using ChainSafe.Gaming.Debugging; -using ChainSafe.Gaming.EVM.Events; -using ChainSafe.Gaming.Evm.JsonRpc; -using ChainSafe.Gaming.Mud; -using ChainSafe.Gaming.Mud.Tables; -using ChainSafe.Gaming.Mud.Unity; -using ChainSafe.Gaming.Mud.Worlds; -using ChainSafe.Gaming.RPC.Events; -using ChainSafe.Gaming.UnityPackage; -using ChainSafe.Gaming.Wallets; -using ChainSafe.Gaming.Web3; -using ChainSafe.Gaming.Web3.Build; -using ChainSafe.Gaming.Web3.Unity; -using TMPro; -using UnityEngine; - -public class MudSample : MonoBehaviour -{ - public MudConfigAsset mudConfig; - public string worldContractAddress; - public TextAsset worldContractAbi; - public TMP_Text counterLabel; - - private Web3 web3; - private MudWorld world; - - private async void Awake() - { - Debug.Log("To run this sample successfully you should have the MUD tutorial project running in the background.\n" + - "Follow the link to get started: https://mud.dev/quickstart"); - - // 1. Initialize Web3 client. - web3 = await new Web3Builder(ProjectConfigUtilities.Load(), ProjectConfigUtilities.BuildLocalhostConfig()) - .Configure(services => - { - // Enable basic components - services.UseUnityEnvironment(); - services.UseRpcProvider(); - - // Initializes Wallet as the first account of the locally running Ethereum Node (Anvil). - services.Debug().UseJsonRpcWallet(new JsonRpcWalletConfig { AccountIndex = 0 }); - - // Enable Events as MUD requires them - services.UseEvents(new PollingEventManagerConfig { PollInterval = TimeSpan.FromSeconds(1) }); // the config is only being used for WebGL platform; 1 second poll interval is extremely fast, consider using longer interval in production so that your RPC endpoint doesn't get too overwhelmed - - // Enable MUD - services.UseMud(mudConfig); - }) - .LaunchAsync(); - Debug.Log($"Web3 client ready. Player address: {web3.Signer.PublicAddress}"); - - // 2. Create MUD World client. - world = await web3.Mud().BuildWorld(new MudWorldConfig - { - ContractAddress = worldContractAddress, - ContractAbi = worldContractAbi.text, - DefaultNamespace = "app", - TableSchemas = new List - { - new() - { - Namespace = "app", - TableName = "Counter", - Columns = new List> - { - new("value", "uint32"), - }, - KeyColumns = new string[0], // empty key schema - singleton table (one record only) - }, - }, - }); - Debug.Log("MUD World client ready"); - - // 3. Get Table client. - var table = world.GetTable("Counter"); - - // 4. Query counter value - var allRecords = await table.Query(MudQuery.All); // Query all records of the Counter table - var singleRecord = allRecords.Single(); // Get single record - var counterValue = (BigInteger)singleRecord[0]; // Get value of the first column - Debug.Log($"Counter value on load: {counterValue}"); - UpdateGui(counterValue); - - // 5. Subscribe to table updates. - table.RecordUpdated += OnCounterRecordUpdated; - } - - public async void IncrementCounter() - { - if (web3 is null) - { - Debug.LogError("Can't run sample. Web3 client was not initialized."); - return; - } - - // 5. Send transaction to execute the Increment function of the World contract. - Debug.Log("Sending transaction to execute the Increment function.."); - await world.GetSystems().Send("increment"); - Debug.Log($"Increment successful"); - } - - private void OnCounterRecordUpdated(object[] key, object[] record) - { - var counterValue = (BigInteger)record[0]; - Debug.Log($"Counter value updated: {counterValue}"); - UpdateGui(counterValue); - } - - private void UpdateGui(BigInteger counterValue) - { - counterLabel.text = counterValue.ToString("d"); - } -} diff --git a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/MudSample.cs.meta b/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/MudSample.cs.meta deleted file mode 100644 index 392f646f6..000000000 --- a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/MudSample.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0784d678e93c29d44b5621a24b931617 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/MudSample.unity b/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/MudSample.unity deleted file mode 100644 index 3af9f2a27..000000000 --- a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/MudSample.unity +++ /dev/null @@ -1,980 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!29 &1 -OcclusionCullingSettings: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_OcclusionBakeSettings: - smallestOccluder: 5 - smallestHole: 0.25 - backfaceThreshold: 100 - m_SceneGUID: 00000000000000000000000000000000 - m_OcclusionCullingData: {fileID: 0} ---- !u!104 &2 -RenderSettings: - m_ObjectHideFlags: 0 - serializedVersion: 9 - m_Fog: 0 - m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} - m_FogMode: 3 - m_FogDensity: 0.01 - m_LinearFogStart: 0 - m_LinearFogEnd: 300 - m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} - m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} - m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} - m_AmbientIntensity: 1 - m_AmbientMode: 3 - m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} - m_SkyboxMaterial: {fileID: 0} - m_HaloStrength: 0.5 - m_FlareStrength: 1 - m_FlareFadeSpeed: 3 - m_HaloTexture: {fileID: 0} - m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} - m_DefaultReflectionMode: 0 - m_DefaultReflectionResolution: 128 - m_ReflectionBounces: 1 - m_ReflectionIntensity: 1 - m_CustomReflection: {fileID: 0} - m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} - m_UseRadianceAmbientProbe: 0 ---- !u!157 &3 -LightmapSettings: - m_ObjectHideFlags: 0 - serializedVersion: 12 - m_GIWorkflowMode: 1 - m_GISettings: - serializedVersion: 2 - m_BounceScale: 1 - m_IndirectOutputScale: 1 - m_AlbedoBoost: 1 - m_EnvironmentLightingMode: 0 - m_EnableBakedLightmaps: 0 - m_EnableRealtimeLightmaps: 0 - m_LightmapEditorSettings: - serializedVersion: 12 - m_Resolution: 2 - m_BakeResolution: 40 - m_AtlasSize: 1024 - m_AO: 0 - m_AOMaxDistance: 1 - m_CompAOExponent: 1 - m_CompAOExponentDirect: 0 - m_ExtractAmbientOcclusion: 0 - m_Padding: 2 - m_LightmapParameters: {fileID: 0} - m_LightmapsBakeMode: 1 - m_TextureCompression: 1 - m_FinalGather: 0 - m_FinalGatherFiltering: 1 - m_FinalGatherRayCount: 256 - m_ReflectionCompression: 2 - m_MixedBakeMode: 2 - m_BakeBackend: 1 - m_PVRSampling: 1 - m_PVRDirectSampleCount: 32 - m_PVRSampleCount: 512 - m_PVRBounces: 2 - m_PVREnvironmentSampleCount: 256 - m_PVREnvironmentReferencePointCount: 2048 - m_PVRFilteringMode: 1 - m_PVRDenoiserTypeDirect: 1 - m_PVRDenoiserTypeIndirect: 1 - m_PVRDenoiserTypeAO: 1 - m_PVRFilterTypeDirect: 0 - m_PVRFilterTypeIndirect: 0 - m_PVRFilterTypeAO: 0 - m_PVREnvironmentMIS: 1 - m_PVRCulling: 1 - m_PVRFilteringGaussRadiusDirect: 1 - m_PVRFilteringGaussRadiusIndirect: 5 - m_PVRFilteringGaussRadiusAO: 2 - m_PVRFilteringAtrousPositionSigmaDirect: 0.5 - m_PVRFilteringAtrousPositionSigmaIndirect: 2 - m_PVRFilteringAtrousPositionSigmaAO: 1 - m_ExportTrainingData: 0 - m_TrainingDataDestination: TrainingData - m_LightProbeSampleCountMultiplier: 4 - m_LightingDataAsset: {fileID: 0} - m_LightingSettings: {fileID: 0} ---- !u!196 &4 -NavMeshSettings: - serializedVersion: 2 - m_ObjectHideFlags: 0 - m_BuildSettings: - serializedVersion: 3 - agentTypeID: 0 - agentRadius: 0.5 - agentHeight: 2 - agentSlope: 45 - agentClimb: 0.4 - ledgeDropHeight: 0 - maxJumpAcrossDistance: 0 - minRegionArea: 2 - manualCellSize: 0 - cellSize: 0.16666667 - manualTileSize: 0 - tileSize: 256 - buildHeightMesh: 0 - maxJobWorkers: 0 - preserveTilesOutsideBounds: 0 - debug: - m_Flags: 0 - m_NavMeshData: {fileID: 0} ---- !u!1 &150582525 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 150582528} - - component: {fileID: 150582527} - - component: {fileID: 150582526} - m_Layer: 0 - m_Name: Main Camera - m_TagString: MainCamera - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!81 &150582526 -AudioListener: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 150582525} - m_Enabled: 1 ---- !u!20 &150582527 -Camera: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 150582525} - m_Enabled: 1 - serializedVersion: 2 - m_ClearFlags: 2 - m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0} - m_projectionMatrixMode: 1 - m_GateFitMode: 2 - m_FOVAxisMode: 0 - m_Iso: 200 - m_ShutterSpeed: 0.005 - m_Aperture: 16 - m_FocusDistance: 10 - m_FocalLength: 50 - m_BladeCount: 5 - m_Curvature: {x: 2, y: 11} - m_BarrelClipping: 0.25 - m_Anamorphism: 0 - m_SensorSize: {x: 36, y: 24} - m_LensShift: {x: 0, y: 0} - m_NormalizedViewPortRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - near clip plane: 0.3 - far clip plane: 1000 - field of view: 60 - orthographic: 1 - orthographic size: 5 - m_Depth: -1 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_RenderingPath: -1 - m_TargetTexture: {fileID: 0} - m_TargetDisplay: 0 - m_TargetEye: 3 - m_HDR: 1 - m_AllowMSAA: 1 - m_AllowDynamicResolution: 0 - m_ForceIntoRT: 0 - m_OcclusionCulling: 1 - m_StereoConvergence: 10 - m_StereoSeparation: 0.022 ---- !u!4 &150582528 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 150582525} - serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: -10} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &279131707 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 279131708} - - component: {fileID: 279131710} - - component: {fileID: 279131709} - m_Layer: 5 - m_Name: Label - See Console - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &279131708 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 279131707} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 932061821} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 200, y: 50} - m_Pivot: {x: 0.5, y: 0} ---- !u!114 &279131709 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 279131707} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: See console - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4282335039 - m_fontColor: {r: 0.24528301, g: 0.24528301, b: 0.24528301, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 18 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 256 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 0 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!222 &279131710 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 279131707} - m_CullTransparentMesh: 1 ---- !u!1 &491745710 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 491745711} - - component: {fileID: 491745713} - - component: {fileID: 491745712} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &491745711 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 491745710} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 1474359000} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &491745712 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 491745710} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: Increment Counter - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4278217444 - m_fontColor: {r: 0.8941177, g: 0.4156863, b: 0, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 24 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 1 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!222 &491745713 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 491745710} - m_CullTransparentMesh: 1 ---- !u!1 &932061817 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 932061821} - - component: {fileID: 932061820} - - component: {fileID: 932061819} - - component: {fileID: 932061818} - m_Layer: 5 - m_Name: GUI - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &932061818 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 932061817} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreReversedGraphics: 1 - m_BlockingObjects: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 ---- !u!114 &932061819 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 932061817} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} - m_Name: - m_EditorClassIdentifier: - m_UiScaleMode: 1 - m_ReferencePixelsPerUnit: 100 - m_ScaleFactor: 1 - m_ReferenceResolution: {x: 960, y: 540} - m_ScreenMatchMode: 0 - m_MatchWidthOrHeight: 1 - m_PhysicalUnit: 3 - m_FallbackScreenDPI: 96 - m_DefaultSpriteDPI: 96 - m_DynamicPixelsPerUnit: 1 - m_PresetInfoIsWorld: 0 ---- !u!223 &932061820 -Canvas: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 932061817} - m_Enabled: 1 - serializedVersion: 3 - m_RenderMode: 0 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 0 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 0 - m_SortingBucketNormalizedSize: 0 - m_VertexColorAlwaysGammaSpace: 0 - m_AdditionalShaderChannelsFlag: 25 - m_UpdateRectTransformForStandalone: 0 - m_SortingLayerID: 0 - m_SortingOrder: 0 - m_TargetDisplay: 0 ---- !u!224 &932061821 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 932061817} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0, y: 0, z: 0} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 1474359000} - - {fileID: 279131708} - - {fileID: 1231023404} - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0, y: 0} ---- !u!1 &1231023401 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1231023404} - - component: {fileID: 1231023403} - - component: {fileID: 1231023402} - m_Layer: 5 - m_Name: Label - Counter Value - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &1231023402 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1231023401} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 36 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 1 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!222 &1231023403 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1231023401} - m_CullTransparentMesh: 1 ---- !u!224 &1231023404 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1231023401} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 932061821} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.75} - m_AnchorMax: {x: 0.5, y: 0.75} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 200, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &1474358999 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1474359000} - - component: {fileID: 1474359003} - - component: {fileID: 1474359002} - - component: {fileID: 1474359001} - m_Layer: 5 - m_Name: Button - Increment - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1474359000 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1474358999} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 491745711} - m_Father: {fileID: 932061821} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 300, y: 65} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1474359001 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1474358999} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 1474359002} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 1709610249} - m_TargetAssemblyTypeName: TestMud, Assembly-CSharp - m_MethodName: IncrementCounter - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!114 &1474359002 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1474358999} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.16078432, g: 0.121568635, b: 0.09019608, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!222 &1474359003 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1474358999} - m_CullTransparentMesh: 1 ---- !u!1 &1709610248 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1709610250} - - component: {fileID: 1709610249} - m_Layer: 0 - m_Name: Sample Logic - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &1709610249 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1709610248} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 0784d678e93c29d44b5621a24b931617, type: 3} - m_Name: - m_EditorClassIdentifier: - mudConfig: {fileID: 11400000, guid: 46875b4ce5fed5742b226cb3bac356b7, type: 2} - worldContractAddress: 0x8d8b6b8414e1e3dcfd4168561b9be6bd3bf6ec4b - worldContractAbi: {fileID: 4900000, guid: 95864876aa70fc9418d44d22c274ff16, type: 3} - counterLabel: {fileID: 1231023402} ---- !u!4 &1709610250 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1709610248} - serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1991332564 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1991332567} - - component: {fileID: 1991332566} - - component: {fileID: 1991332565} - m_Layer: 0 - m_Name: EventSystem - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &1991332565 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1991332564} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} - m_Name: - m_EditorClassIdentifier: - m_SendPointerHoverToParent: 1 - m_HorizontalAxis: Horizontal - m_VerticalAxis: Vertical - m_SubmitButton: Submit - m_CancelButton: Cancel - m_InputActionsPerSecond: 10 - m_RepeatDelay: 0.5 - m_ForceModuleActive: 0 ---- !u!114 &1991332566 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1991332564} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} - m_Name: - m_EditorClassIdentifier: - m_FirstSelected: {fileID: 0} - m_sendNavigationEvents: 1 - m_DragThreshold: 10 ---- !u!4 &1991332567 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1991332564} - serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1660057539 &9223372036854775807 -SceneRoots: - m_ObjectHideFlags: 0 - m_Roots: - - {fileID: 150582528} - - {fileID: 1991332567} - - {fileID: 932061821} - - {fileID: 1709610250} diff --git a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/MudSample.unity.meta b/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/MudSample.unity.meta deleted file mode 100644 index 1dd1141af..000000000 --- a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/MudSample.unity.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 37d556b0962632b488e4d4f2430d983d -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/Sample Mud Config.asset b/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/Sample Mud Config.asset deleted file mode 100644 index 5527d82fb..000000000 --- a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/Sample Mud Config.asset +++ /dev/null @@ -1,16 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 9144050b840b41d29f70ad254a875651, type: 3} - m_Name: Sample Mud Config - m_EditorClassIdentifier: - StorageType: 0 - InMemoryFromBlockNumber: 0 diff --git a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/Sample Mud Config.asset.meta b/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/Sample Mud Config.asset.meta deleted file mode 100644 index e280e8a52..000000000 --- a/Packages/io.chainsafe.web3-unity.mud/Samples~/Web3.Unity MUD/Sample Mud Config.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 46875b4ce5fed5742b226cb3bac356b7 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 11400000 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/io.chainsafe.web3-unity.mud/package.json b/Packages/io.chainsafe.web3-unity.mud/package.json index 85f3bbeac..4d764cffd 100644 --- a/Packages/io.chainsafe.web3-unity.mud/package.json +++ b/Packages/io.chainsafe.web3-unity.mud/package.json @@ -22,12 +22,5 @@ "name": "ChainSafe Gaming", "email": "bd@chainsafe.io", "url": "https://gaming.chainsafe.io/" - }, - "samples": [ - { - "displayName": "Marketplace Samples", - "description": "Contains example of integration and usage of Marketplace functionality.", - "path": "Samples~/Web3.Unity MUD" - } - ] + } } \ No newline at end of file diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll index 290a6f639..e9d7a2a0c 100644 Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll differ diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll index 6b4c5a9ff..08b333ddf 100644 Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll differ diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll index 16887d7f6..78e6afce5 100644 Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll differ diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll index e96c2792b..6eef8b185 100644 Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll differ diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.SygmaClient.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.SygmaClient.dll index dd565e191..a57dddd15 100644 Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.SygmaClient.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.SygmaClient.dll differ diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.EthereumWindow.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.EthereumWindow.dll index d989dab51..12cc4aa9e 100644 Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.EthereumWindow.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.EthereumWindow.dll differ diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.MetaMask.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.MetaMask.dll index 3ffc64eaa..076a13d87 100644 Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.MetaMask.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.MetaMask.dll differ diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.ThirdParty.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.ThirdParty.dll index c442965f9..40b9bad81 100644 Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.ThirdParty.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.ThirdParty.dll differ diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll index fb88d76b0..4194f249f 100644 Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll differ diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WalletConnect.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WalletConnect.dll index 40a1f598b..70cef0608 100644 Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WalletConnect.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WalletConnect.dll differ diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll index 0599e76c3..348465965 100644 Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll differ diff --git a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scenes/SampleMain.unity b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scenes/SampleMain.unity index 3bbc38944..e394c21cb 100644 --- a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scenes/SampleMain.unity +++ b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scenes/SampleMain.unity @@ -649,7 +649,7 @@ MonoBehaviour: m_TargetGraphic: {fileID: 1573338518} m_HandleRect: {fileID: 1573338517} m_Direction: 0 - m_Value: 0 + m_Value: 1 m_Size: 1 m_NumberOfSteps: 0 m_OnValueChanged: diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK MUD/3.0.6.meta b/src/UnitySampleProject/Assets/Samples/web3.unity SDK MUD/3.0.6.meta deleted file mode 100644 index aa0b90ec8..000000000 --- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK MUD/3.0.6.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 528d60849302ad34cb9964b235d6ee96 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: