├── .gitattributes ├── .gitignore ├── Assets ├── Plugins.meta ├── Plugins │ ├── Sui.meta │ └── Sui │ │ ├── Common.Logging.Core.dll │ │ ├── Common.Logging.Core.dll.meta │ │ ├── Nethereum.JsonRpc.Client.dll │ │ ├── Nethereum.JsonRpc.Client.dll.meta │ │ ├── Nethereum.JsonRpc.RpcClient.dll │ │ ├── Nethereum.JsonRpc.RpcClient.dll.meta │ │ ├── SuiDotNet.Client.dll │ │ └── SuiDotNet.Client.dll.meta ├── Scenes.meta ├── Scenes │ ├── BasicRpcTest.unity │ └── BasicRpcTest.unity.meta ├── Scripts.meta └── Scripts │ ├── Components.meta │ └── Components │ ├── Sui.Unity.asmdef │ ├── Sui.Unity.asmdef.meta │ ├── SuiClient.cs │ ├── SuiClient.cs.meta │ ├── Test.meta │ └── Test │ ├── Event.meta │ ├── Event │ ├── GetEventsByModuleTest.cs │ ├── GetEventsByModuleTest.cs.meta │ ├── GetEventsByMoveEventStructNameTest.cs │ ├── GetEventsByMoveEventStructNameTest.cs.meta │ ├── GetEventsByObjectTest.cs │ ├── GetEventsByObjectTest.cs.meta │ ├── GetEventsByRecipientTest.cs │ ├── GetEventsByRecipientTest.cs.meta │ ├── GetEventsBySenderTest.cs │ ├── GetEventsBySenderTest.cs.meta │ ├── GetEventsByTimeRangeTest.cs │ ├── GetEventsByTimeRangeTest.cs.meta │ ├── GetEventsByTransactionTest.cs │ └── GetEventsByTransactionTest.cs.meta │ ├── Sui.Unity.Debug.asmdef │ ├── Sui.Unity.Debug.asmdef.meta │ ├── SuiGetObjectTest.cs │ ├── SuiGetObjectTest.cs.meta │ ├── Transaction.meta │ └── Transaction │ ├── GetRecentTransactionsTest.cs │ ├── GetRecentTransactionsTest.cs.meta │ ├── GetTotalTransactionNumberTest.cs │ ├── GetTotalTransactionNumberTest.cs.meta │ ├── GetTransactionTest.cs │ ├── GetTransactionTest.cs.meta │ ├── GetTransactionsBatchTest.cs │ ├── GetTransactionsBatchTest.cs.meta │ ├── GetTransactionsForAddressTest.cs │ ├── GetTransactionsForAddressTest.cs.meta │ ├── GetTransactionsForObjectTest.cs │ ├── GetTransactionsForObjectTest.cs.meta │ ├── GetTransactionsInRangeTest.cs │ └── GetTransactionsInRangeTest.cs.meta ├── Packages ├── manifest.json └── packages-lock.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── MemorySettings.asset ├── NavMeshAreas.asset ├── PackageManagerSettings.asset ├── Packages │ └── com.unity.testtools.codecoverage │ │ └── Settings.json ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── SceneTemplateSettings.json ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset ├── VersionControlSettings.asset ├── XRSettings.asset └── boot.config └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Uu]ser[Ss]ettings/ 12 | 13 | # MemoryCaptures can get excessive in size. 14 | # They also could contain extremely sensitive data 15 | /[Mm]emoryCaptures/ 16 | 17 | # Recordings can get excessive in size 18 | /[Rr]ecordings/ 19 | 20 | # Uncomment this line if you wish to ignore the asset store tools plugin 21 | # /[Aa]ssets/AssetStoreTools* 22 | 23 | # Autogenerated Jetbrains Rider plugin 24 | /[Aa]ssets/Plugins/Editor/JetBrains* 25 | 26 | # Visual Studio cache directory 27 | .vs/ 28 | 29 | # Gradle cache directory 30 | .gradle/ 31 | 32 | # Autogenerated VS/MD/Consulo solution and project files 33 | ExportedObj/ 34 | .consulo/ 35 | *.csproj 36 | *.unityproj 37 | *.sln 38 | *.suo 39 | *.tmp 40 | *.user 41 | *.userprefs 42 | *.pidb 43 | *.booproj 44 | *.svd 45 | *.pdb 46 | *.mdb 47 | *.opendb 48 | *.VC.db 49 | 50 | # Unity3D generated meta files 51 | *.pidb.meta 52 | *.pdb.meta 53 | *.mdb.meta 54 | 55 | # Unity3D generated file on crash reports 56 | sysinfo.txt 57 | 58 | # Builds 59 | *.apk 60 | *.aab 61 | *.unitypackage 62 | *.app 63 | 64 | # Crashlytics generated file 65 | crashlytics-build.properties 66 | 67 | # Packed Addressables 68 | /[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* 69 | 70 | # Temporary auto-generated Android Assets 71 | /[Aa]ssets/[Ss]treamingAssets/aa.meta 72 | /[Aa]ssets/[Ss]treamingAssets/aa/* 73 | 74 | # Rider / jetbrains 75 | .idea 76 | 77 | # macos 78 | *.DS_STORE -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8a73cdfcfe934444aef9ceee9edcd4d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Sui.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3cf5f152cbd5a440c88178c0bd53be0f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Sui/Common.Logging.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MystenLabs/Sui-Unity/69422a5ba54cf54bf1d36bfae44627d58d42ef97/Assets/Plugins/Sui/Common.Logging.Core.dll -------------------------------------------------------------------------------- /Assets/Plugins/Sui/Common.Logging.Core.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d911d001ea3174022be84c2333dce197 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Plugins/Sui/Nethereum.JsonRpc.Client.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MystenLabs/Sui-Unity/69422a5ba54cf54bf1d36bfae44627d58d42ef97/Assets/Plugins/Sui/Nethereum.JsonRpc.Client.dll -------------------------------------------------------------------------------- /Assets/Plugins/Sui/Nethereum.JsonRpc.Client.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e889f177b900a4d1ea2ae9c3d3c9a3ae 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Plugins/Sui/Nethereum.JsonRpc.RpcClient.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MystenLabs/Sui-Unity/69422a5ba54cf54bf1d36bfae44627d58d42ef97/Assets/Plugins/Sui/Nethereum.JsonRpc.RpcClient.dll -------------------------------------------------------------------------------- /Assets/Plugins/Sui/Nethereum.JsonRpc.RpcClient.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 247bb8008ec7a42be9eee76f54e67664 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Plugins/Sui/SuiDotNet.Client.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MystenLabs/Sui-Unity/69422a5ba54cf54bf1d36bfae44627d58d42ef97/Assets/Plugins/Sui/SuiDotNet.Client.dll -------------------------------------------------------------------------------- /Assets/Plugins/Sui/SuiDotNet.Client.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d95e6212391a448b995d6162ee817050 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ea315d0fd7389c41b19996891e99ae3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/BasicRpcTest.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 705507994} 41 | m_IndirectSpecularColor: {r: 0.44657815, g: 0.49641192, b: 0.57481617, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 12 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 500 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 2 83 | m_PVRDenoiserTypeDirect: 0 84 | m_PVRDenoiserTypeIndirect: 0 85 | m_PVRDenoiserTypeAO: 0 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 0 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ExportTrainingData: 0 98 | m_TrainingDataDestination: TrainingData 99 | m_LightProbeSampleCountMultiplier: 4 100 | m_LightingDataAsset: {fileID: 0} 101 | m_LightingSettings: {fileID: 0} 102 | --- !u!196 &4 103 | NavMeshSettings: 104 | serializedVersion: 2 105 | m_ObjectHideFlags: 0 106 | m_BuildSettings: 107 | serializedVersion: 2 108 | agentTypeID: 0 109 | agentRadius: 0.5 110 | agentHeight: 2 111 | agentSlope: 45 112 | agentClimb: 0.4 113 | ledgeDropHeight: 0 114 | maxJumpAcrossDistance: 0 115 | minRegionArea: 2 116 | manualCellSize: 0 117 | cellSize: 0.16666667 118 | manualTileSize: 0 119 | tileSize: 256 120 | accuratePlacement: 0 121 | maxJobWorkers: 0 122 | preserveTilesOutsideBounds: 0 123 | debug: 124 | m_Flags: 0 125 | m_NavMeshData: {fileID: 0} 126 | --- !u!1 &191641338 127 | GameObject: 128 | m_ObjectHideFlags: 0 129 | m_CorrespondingSourceObject: {fileID: 0} 130 | m_PrefabInstance: {fileID: 0} 131 | m_PrefabAsset: {fileID: 0} 132 | serializedVersion: 6 133 | m_Component: 134 | - component: {fileID: 191641339} 135 | - component: {fileID: 191641341} 136 | - component: {fileID: 191641340} 137 | - component: {fileID: 191641342} 138 | - component: {fileID: 191641343} 139 | - component: {fileID: 191641344} 140 | - component: {fileID: 191641345} 141 | - component: {fileID: 191641346} 142 | - component: {fileID: 191641347} 143 | m_Layer: 0 144 | m_Name: Event 145 | m_TagString: Untagged 146 | m_Icon: {fileID: 0} 147 | m_NavMeshLayer: 0 148 | m_StaticEditorFlags: 0 149 | m_IsActive: 1 150 | --- !u!4 &191641339 151 | Transform: 152 | m_ObjectHideFlags: 0 153 | m_CorrespondingSourceObject: {fileID: 0} 154 | m_PrefabInstance: {fileID: 0} 155 | m_PrefabAsset: {fileID: 0} 156 | m_GameObject: {fileID: 191641338} 157 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 158 | m_LocalPosition: {x: 0, y: 0, z: 0} 159 | m_LocalScale: {x: 1, y: 1, z: 1} 160 | m_ConstrainProportionsScale: 0 161 | m_Children: [] 162 | m_Father: {fileID: 1891552717} 163 | m_RootOrder: 2 164 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 165 | --- !u!114 &191641340 166 | MonoBehaviour: 167 | m_ObjectHideFlags: 0 168 | m_CorrespondingSourceObject: {fileID: 0} 169 | m_PrefabInstance: {fileID: 0} 170 | m_PrefabAsset: {fileID: 0} 171 | m_GameObject: {fileID: 191641338} 172 | m_Enabled: 1 173 | m_EditorHideFlags: 0 174 | m_Script: {fileID: 11500000, guid: 8e9ba67364ba64d33b3cf3432a0ff563, type: 3} 175 | m_Name: 176 | m_EditorClassIdentifier: 177 | Digest: XbyTWT8UZ1qXEM4/sdRLOzF+uwtHEEjuoj8m0VKVZFQ= 178 | Count: 50 179 | --- !u!114 &191641341 180 | MonoBehaviour: 181 | m_ObjectHideFlags: 0 182 | m_CorrespondingSourceObject: {fileID: 0} 183 | m_PrefabInstance: {fileID: 0} 184 | m_PrefabAsset: {fileID: 0} 185 | m_GameObject: {fileID: 191641338} 186 | m_Enabled: 1 187 | m_EditorHideFlags: 0 188 | m_Script: {fileID: 11500000, guid: 55344505f9a54bf7b70f78c8f5749a7f, type: 3} 189 | m_Name: 190 | m_EditorClassIdentifier: 191 | SuiNodeUrl: http://127.0.0.1:9000 192 | --- !u!114 &191641342 193 | MonoBehaviour: 194 | m_ObjectHideFlags: 0 195 | m_CorrespondingSourceObject: {fileID: 0} 196 | m_PrefabInstance: {fileID: 0} 197 | m_PrefabAsset: {fileID: 0} 198 | m_GameObject: {fileID: 191641338} 199 | m_Enabled: 1 200 | m_EditorHideFlags: 0 201 | m_Script: {fileID: 11500000, guid: fd38010570a74f1d888d80e152be696d, type: 3} 202 | m_Name: 203 | m_EditorClassIdentifier: 204 | Count: 100 205 | StartTime: 0 206 | --- !u!114 &191641343 207 | MonoBehaviour: 208 | m_ObjectHideFlags: 0 209 | m_CorrespondingSourceObject: {fileID: 0} 210 | m_PrefabInstance: {fileID: 0} 211 | m_PrefabAsset: {fileID: 0} 212 | m_GameObject: {fileID: 191641338} 213 | m_Enabled: 1 214 | m_EditorHideFlags: 0 215 | m_Script: {fileID: 11500000, guid: e07df571640f443091c7ba2c95b4dd81, type: 3} 216 | m_Name: 217 | m_EditorClassIdentifier: 218 | ObjectID: 0x30946e8bc320488ddac2a92881345131d3bb1da3 219 | Count: 50 220 | --- !u!114 &191641344 221 | MonoBehaviour: 222 | m_ObjectHideFlags: 0 223 | m_CorrespondingSourceObject: {fileID: 0} 224 | m_PrefabInstance: {fileID: 0} 225 | m_PrefabAsset: {fileID: 0} 226 | m_GameObject: {fileID: 191641338} 227 | m_Enabled: 1 228 | m_EditorHideFlags: 0 229 | m_Script: {fileID: 11500000, guid: 0f6cf17b2cb34dd29252be77afbfa3fb, type: 3} 230 | m_Name: 231 | m_EditorClassIdentifier: 232 | Address: 0x08c9e31048ce86a3538272d4adaf2069ecf26c01 233 | Count: 50 234 | --- !u!114 &191641345 235 | MonoBehaviour: 236 | m_ObjectHideFlags: 0 237 | m_CorrespondingSourceObject: {fileID: 0} 238 | m_PrefabInstance: {fileID: 0} 239 | m_PrefabAsset: {fileID: 0} 240 | m_GameObject: {fileID: 191641338} 241 | m_Enabled: 1 242 | m_EditorHideFlags: 0 243 | m_Script: {fileID: 11500000, guid: 9effdab8cd0b405492a16ffac7b69410, type: 3} 244 | m_Name: 245 | m_EditorClassIdentifier: 246 | OwnerType: 1 247 | Address: 0x08c9e31048ce86a3538272d4adaf2069ecf26c01 248 | Count: 50 249 | --- !u!114 &191641346 250 | MonoBehaviour: 251 | m_ObjectHideFlags: 0 252 | m_CorrespondingSourceObject: {fileID: 0} 253 | m_PrefabInstance: {fileID: 0} 254 | m_PrefabAsset: {fileID: 0} 255 | m_GameObject: {fileID: 191641338} 256 | m_Enabled: 1 257 | m_EditorHideFlags: 0 258 | m_Script: {fileID: 11500000, guid: 500224075e804cfe9671a6fb722706a1, type: 3} 259 | m_Name: 260 | m_EditorClassIdentifier: 261 | StructName: 0x2::devnet_nft::MintNFTEvent 262 | Count: 50 263 | --- !u!114 &191641347 264 | MonoBehaviour: 265 | m_ObjectHideFlags: 0 266 | m_CorrespondingSourceObject: {fileID: 0} 267 | m_PrefabInstance: {fileID: 0} 268 | m_PrefabAsset: {fileID: 0} 269 | m_GameObject: {fileID: 191641338} 270 | m_Enabled: 1 271 | m_EditorHideFlags: 0 272 | m_Script: {fileID: 11500000, guid: d3260ace890c4f35bc108dcf40e841e9, type: 3} 273 | m_Name: 274 | m_EditorClassIdentifier: 275 | Package: 0x2 276 | Module: devnet_nft 277 | Count: 50 278 | --- !u!1 &705507993 279 | GameObject: 280 | m_ObjectHideFlags: 0 281 | m_CorrespondingSourceObject: {fileID: 0} 282 | m_PrefabInstance: {fileID: 0} 283 | m_PrefabAsset: {fileID: 0} 284 | serializedVersion: 6 285 | m_Component: 286 | - component: {fileID: 705507995} 287 | - component: {fileID: 705507994} 288 | m_Layer: 0 289 | m_Name: Directional Light 290 | m_TagString: Untagged 291 | m_Icon: {fileID: 0} 292 | m_NavMeshLayer: 0 293 | m_StaticEditorFlags: 0 294 | m_IsActive: 1 295 | --- !u!108 &705507994 296 | Light: 297 | m_ObjectHideFlags: 0 298 | m_CorrespondingSourceObject: {fileID: 0} 299 | m_PrefabInstance: {fileID: 0} 300 | m_PrefabAsset: {fileID: 0} 301 | m_GameObject: {fileID: 705507993} 302 | m_Enabled: 1 303 | serializedVersion: 10 304 | m_Type: 1 305 | m_Shape: 0 306 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 307 | m_Intensity: 1 308 | m_Range: 10 309 | m_SpotAngle: 30 310 | m_InnerSpotAngle: 21.802082 311 | m_CookieSize: 10 312 | m_Shadows: 313 | m_Type: 2 314 | m_Resolution: -1 315 | m_CustomResolution: -1 316 | m_Strength: 1 317 | m_Bias: 0.05 318 | m_NormalBias: 0.4 319 | m_NearPlane: 0.2 320 | m_CullingMatrixOverride: 321 | e00: 1 322 | e01: 0 323 | e02: 0 324 | e03: 0 325 | e10: 0 326 | e11: 1 327 | e12: 0 328 | e13: 0 329 | e20: 0 330 | e21: 0 331 | e22: 1 332 | e23: 0 333 | e30: 0 334 | e31: 0 335 | e32: 0 336 | e33: 1 337 | m_UseCullingMatrixOverride: 0 338 | m_Cookie: {fileID: 0} 339 | m_DrawHalo: 0 340 | m_Flare: {fileID: 0} 341 | m_RenderMode: 0 342 | m_CullingMask: 343 | serializedVersion: 2 344 | m_Bits: 4294967295 345 | m_RenderingLayerMask: 1 346 | m_Lightmapping: 1 347 | m_LightShadowCasterMode: 0 348 | m_AreaSize: {x: 1, y: 1} 349 | m_BounceIntensity: 1 350 | m_ColorTemperature: 6570 351 | m_UseColorTemperature: 0 352 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} 353 | m_UseBoundingSphereOverride: 0 354 | m_UseViewFrustumForShadowCasterCull: 1 355 | m_ShadowRadius: 0 356 | m_ShadowAngle: 0 357 | --- !u!4 &705507995 358 | Transform: 359 | m_ObjectHideFlags: 0 360 | m_CorrespondingSourceObject: {fileID: 0} 361 | m_PrefabInstance: {fileID: 0} 362 | m_PrefabAsset: {fileID: 0} 363 | m_GameObject: {fileID: 705507993} 364 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 365 | m_LocalPosition: {x: 0, y: 3, z: 0} 366 | m_LocalScale: {x: 1, y: 1, z: 1} 367 | m_ConstrainProportionsScale: 0 368 | m_Children: [] 369 | m_Father: {fileID: 0} 370 | m_RootOrder: 1 371 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 372 | --- !u!1 &963194225 373 | GameObject: 374 | m_ObjectHideFlags: 0 375 | m_CorrespondingSourceObject: {fileID: 0} 376 | m_PrefabInstance: {fileID: 0} 377 | m_PrefabAsset: {fileID: 0} 378 | serializedVersion: 6 379 | m_Component: 380 | - component: {fileID: 963194228} 381 | - component: {fileID: 963194227} 382 | - component: {fileID: 963194226} 383 | m_Layer: 0 384 | m_Name: Main Camera 385 | m_TagString: MainCamera 386 | m_Icon: {fileID: 0} 387 | m_NavMeshLayer: 0 388 | m_StaticEditorFlags: 0 389 | m_IsActive: 1 390 | --- !u!81 &963194226 391 | AudioListener: 392 | m_ObjectHideFlags: 0 393 | m_CorrespondingSourceObject: {fileID: 0} 394 | m_PrefabInstance: {fileID: 0} 395 | m_PrefabAsset: {fileID: 0} 396 | m_GameObject: {fileID: 963194225} 397 | m_Enabled: 1 398 | --- !u!20 &963194227 399 | Camera: 400 | m_ObjectHideFlags: 0 401 | m_CorrespondingSourceObject: {fileID: 0} 402 | m_PrefabInstance: {fileID: 0} 403 | m_PrefabAsset: {fileID: 0} 404 | m_GameObject: {fileID: 963194225} 405 | m_Enabled: 1 406 | serializedVersion: 2 407 | m_ClearFlags: 1 408 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 409 | m_projectionMatrixMode: 1 410 | m_GateFitMode: 2 411 | m_FOVAxisMode: 0 412 | m_SensorSize: {x: 36, y: 24} 413 | m_LensShift: {x: 0, y: 0} 414 | m_FocalLength: 50 415 | m_NormalizedViewPortRect: 416 | serializedVersion: 2 417 | x: 0 418 | y: 0 419 | width: 1 420 | height: 1 421 | near clip plane: 0.3 422 | far clip plane: 1000 423 | field of view: 60 424 | orthographic: 0 425 | orthographic size: 5 426 | m_Depth: -1 427 | m_CullingMask: 428 | serializedVersion: 2 429 | m_Bits: 4294967295 430 | m_RenderingPath: -1 431 | m_TargetTexture: {fileID: 0} 432 | m_TargetDisplay: 0 433 | m_TargetEye: 3 434 | m_HDR: 1 435 | m_AllowMSAA: 1 436 | m_AllowDynamicResolution: 0 437 | m_ForceIntoRT: 0 438 | m_OcclusionCulling: 1 439 | m_StereoConvergence: 10 440 | m_StereoSeparation: 0.022 441 | --- !u!4 &963194228 442 | Transform: 443 | m_ObjectHideFlags: 0 444 | m_CorrespondingSourceObject: {fileID: 0} 445 | m_PrefabInstance: {fileID: 0} 446 | m_PrefabAsset: {fileID: 0} 447 | m_GameObject: {fileID: 963194225} 448 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 449 | m_LocalPosition: {x: 0, y: 1, z: -10} 450 | m_LocalScale: {x: 1, y: 1, z: 1} 451 | m_ConstrainProportionsScale: 0 452 | m_Children: [] 453 | m_Father: {fileID: 0} 454 | m_RootOrder: 0 455 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 456 | --- !u!1 &974511843 457 | GameObject: 458 | m_ObjectHideFlags: 0 459 | m_CorrespondingSourceObject: {fileID: 0} 460 | m_PrefabInstance: {fileID: 0} 461 | m_PrefabAsset: {fileID: 0} 462 | serializedVersion: 6 463 | m_Component: 464 | - component: {fileID: 974511844} 465 | - component: {fileID: 974511851} 466 | - component: {fileID: 974511850} 467 | - component: {fileID: 974511849} 468 | - component: {fileID: 974511848} 469 | - component: {fileID: 974511847} 470 | - component: {fileID: 974511846} 471 | - component: {fileID: 974511845} 472 | - component: {fileID: 974511852} 473 | m_Layer: 0 474 | m_Name: Transaction 475 | m_TagString: Untagged 476 | m_Icon: {fileID: 0} 477 | m_NavMeshLayer: 0 478 | m_StaticEditorFlags: 0 479 | m_IsActive: 1 480 | --- !u!4 &974511844 481 | Transform: 482 | m_ObjectHideFlags: 0 483 | m_CorrespondingSourceObject: {fileID: 0} 484 | m_PrefabInstance: {fileID: 0} 485 | m_PrefabAsset: {fileID: 0} 486 | m_GameObject: {fileID: 974511843} 487 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 488 | m_LocalPosition: {x: 0, y: 0, z: 0} 489 | m_LocalScale: {x: 1, y: 1, z: 1} 490 | m_ConstrainProportionsScale: 0 491 | m_Children: [] 492 | m_Father: {fileID: 1891552717} 493 | m_RootOrder: 1 494 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 495 | --- !u!114 &974511845 496 | MonoBehaviour: 497 | m_ObjectHideFlags: 0 498 | m_CorrespondingSourceObject: {fileID: 0} 499 | m_PrefabInstance: {fileID: 0} 500 | m_PrefabAsset: {fileID: 0} 501 | m_GameObject: {fileID: 974511843} 502 | m_Enabled: 1 503 | m_EditorHideFlags: 0 504 | m_Script: {fileID: 11500000, guid: fba40167e4b846d6a9a05b6d3c1ae862, type: 3} 505 | m_Name: 506 | m_EditorClassIdentifier: 507 | Digest: lCuDStZX86yDPCL8TZWWWwdkPCfyOHEY+dJ6EGwVueU= 508 | --- !u!114 &974511846 509 | MonoBehaviour: 510 | m_ObjectHideFlags: 0 511 | m_CorrespondingSourceObject: {fileID: 0} 512 | m_PrefabInstance: {fileID: 0} 513 | m_PrefabAsset: {fileID: 0} 514 | m_GameObject: {fileID: 974511843} 515 | m_Enabled: 1 516 | m_EditorHideFlags: 0 517 | m_Script: {fileID: 11500000, guid: 364f1d29bb354cada5593adf0dd9654c, type: 3} 518 | m_Name: 519 | m_EditorClassIdentifier: 520 | RangeStart: 5 521 | RangeEnd: 15 522 | --- !u!114 &974511847 523 | MonoBehaviour: 524 | m_ObjectHideFlags: 0 525 | m_CorrespondingSourceObject: {fileID: 0} 526 | m_PrefabInstance: {fileID: 0} 527 | m_PrefabAsset: {fileID: 0} 528 | m_GameObject: {fileID: 974511843} 529 | m_Enabled: 1 530 | m_EditorHideFlags: 0 531 | m_Script: {fileID: 11500000, guid: 875920ff2aa04afb88e86586021b6b7d, type: 3} 532 | m_Name: 533 | m_EditorClassIdentifier: 534 | TestObject: 0x0754d12ea8d4698cb861d11cb192574b53c19925 535 | --- !u!114 &974511848 536 | MonoBehaviour: 537 | m_ObjectHideFlags: 0 538 | m_CorrespondingSourceObject: {fileID: 0} 539 | m_PrefabInstance: {fileID: 0} 540 | m_PrefabAsset: {fileID: 0} 541 | m_GameObject: {fileID: 974511843} 542 | m_Enabled: 1 543 | m_EditorHideFlags: 0 544 | m_Script: {fileID: 11500000, guid: 4759e56937694f71a74a24817650d684, type: 3} 545 | m_Name: 546 | m_EditorClassIdentifier: 547 | TestAddress: 0x08c9e31048ce86a3538272d4adaf2069ecf26c01 548 | --- !u!114 &974511849 549 | MonoBehaviour: 550 | m_ObjectHideFlags: 0 551 | m_CorrespondingSourceObject: {fileID: 0} 552 | m_PrefabInstance: {fileID: 0} 553 | m_PrefabAsset: {fileID: 0} 554 | m_GameObject: {fileID: 974511843} 555 | m_Enabled: 1 556 | m_EditorHideFlags: 0 557 | m_Script: {fileID: 11500000, guid: 4c256852ca98450186e3a69e5323a776, type: 3} 558 | m_Name: 559 | m_EditorClassIdentifier: 560 | --- !u!114 &974511850 561 | MonoBehaviour: 562 | m_ObjectHideFlags: 0 563 | m_CorrespondingSourceObject: {fileID: 0} 564 | m_PrefabInstance: {fileID: 0} 565 | m_PrefabAsset: {fileID: 0} 566 | m_GameObject: {fileID: 974511843} 567 | m_Enabled: 1 568 | m_EditorHideFlags: 0 569 | m_Script: {fileID: 11500000, guid: e616e076214b4cbf92908a378a089755, type: 3} 570 | m_Name: 571 | m_EditorClassIdentifier: 572 | --- !u!114 &974511851 573 | MonoBehaviour: 574 | m_ObjectHideFlags: 0 575 | m_CorrespondingSourceObject: {fileID: 0} 576 | m_PrefabInstance: {fileID: 0} 577 | m_PrefabAsset: {fileID: 0} 578 | m_GameObject: {fileID: 974511843} 579 | m_Enabled: 1 580 | m_EditorHideFlags: 0 581 | m_Script: {fileID: 11500000, guid: 55344505f9a54bf7b70f78c8f5749a7f, type: 3} 582 | m_Name: 583 | m_EditorClassIdentifier: 584 | SuiNodeUrl: http://127.0.0.1:9000 585 | --- !u!114 &974511852 586 | MonoBehaviour: 587 | m_ObjectHideFlags: 0 588 | m_CorrespondingSourceObject: {fileID: 0} 589 | m_PrefabInstance: {fileID: 0} 590 | m_PrefabAsset: {fileID: 0} 591 | m_GameObject: {fileID: 974511843} 592 | m_Enabled: 1 593 | m_EditorHideFlags: 0 594 | m_Script: {fileID: 11500000, guid: 71c98f9d2da242ec82e716eee54c564f, type: 3} 595 | m_Name: 596 | m_EditorClassIdentifier: 597 | TestTransactionDigests: 598 | - XbyTWT8UZ1qXEM4/sdRLOzF+uwtHEEjuoj8m0VKVZFQ= 599 | - pnyn2ylZCxpfHxxUTZbMCt924Jfzg+p24TEtI7Qx5bE= 600 | - lCuDStZX86yDPCL8TZWWWwdkPCfyOHEY+dJ6EGwVueU= 601 | - 1XpVLd9CC70kzLRHwUkZEWBEF62s32DM96FEcNhUOcg= 602 | - 1b0yipd8FYznQQv12lMmbCxwKCunHhmBGz+GP28o2o4= 603 | --- !u!1 &1891552716 604 | GameObject: 605 | m_ObjectHideFlags: 0 606 | m_CorrespondingSourceObject: {fileID: 0} 607 | m_PrefabInstance: {fileID: 0} 608 | m_PrefabAsset: {fileID: 0} 609 | serializedVersion: 6 610 | m_Component: 611 | - component: {fileID: 1891552717} 612 | m_Layer: 0 613 | m_Name: RPC Tests 614 | m_TagString: Untagged 615 | m_Icon: {fileID: 0} 616 | m_NavMeshLayer: 0 617 | m_StaticEditorFlags: 0 618 | m_IsActive: 1 619 | --- !u!4 &1891552717 620 | Transform: 621 | m_ObjectHideFlags: 0 622 | m_CorrespondingSourceObject: {fileID: 0} 623 | m_PrefabInstance: {fileID: 0} 624 | m_PrefabAsset: {fileID: 0} 625 | m_GameObject: {fileID: 1891552716} 626 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 627 | m_LocalPosition: {x: 0, y: 0, z: 0} 628 | m_LocalScale: {x: 1, y: 1, z: 1} 629 | m_ConstrainProportionsScale: 0 630 | m_Children: 631 | - {fileID: 2056718994} 632 | - {fileID: 974511844} 633 | - {fileID: 191641339} 634 | m_Father: {fileID: 0} 635 | m_RootOrder: 2 636 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 637 | --- !u!1 &2056718993 638 | GameObject: 639 | m_ObjectHideFlags: 0 640 | m_CorrespondingSourceObject: {fileID: 0} 641 | m_PrefabInstance: {fileID: 0} 642 | m_PrefabAsset: {fileID: 0} 643 | serializedVersion: 6 644 | m_Component: 645 | - component: {fileID: 2056718994} 646 | - component: {fileID: 2056718996} 647 | - component: {fileID: 2056718995} 648 | m_Layer: 0 649 | m_Name: Object 650 | m_TagString: Untagged 651 | m_Icon: {fileID: 0} 652 | m_NavMeshLayer: 0 653 | m_StaticEditorFlags: 0 654 | m_IsActive: 1 655 | --- !u!4 &2056718994 656 | Transform: 657 | m_ObjectHideFlags: 0 658 | m_CorrespondingSourceObject: {fileID: 0} 659 | m_PrefabInstance: {fileID: 0} 660 | m_PrefabAsset: {fileID: 0} 661 | m_GameObject: {fileID: 2056718993} 662 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 663 | m_LocalPosition: {x: 0, y: 0, z: 0} 664 | m_LocalScale: {x: 1, y: 1, z: 1} 665 | m_ConstrainProportionsScale: 0 666 | m_Children: [] 667 | m_Father: {fileID: 1891552717} 668 | m_RootOrder: 0 669 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 670 | --- !u!114 &2056718995 671 | MonoBehaviour: 672 | m_ObjectHideFlags: 0 673 | m_CorrespondingSourceObject: {fileID: 0} 674 | m_PrefabInstance: {fileID: 0} 675 | m_PrefabAsset: {fileID: 0} 676 | m_GameObject: {fileID: 2056718993} 677 | m_Enabled: 1 678 | m_EditorHideFlags: 0 679 | m_Script: {fileID: 11500000, guid: 5d4beb797d9d24a6da58b12a0dbfceed, type: 3} 680 | m_Name: 681 | m_EditorClassIdentifier: 682 | TestObjectId: 0x3ac988444287df888b8f321683f49f4a18337f89 683 | --- !u!114 &2056718996 684 | MonoBehaviour: 685 | m_ObjectHideFlags: 0 686 | m_CorrespondingSourceObject: {fileID: 0} 687 | m_PrefabInstance: {fileID: 0} 688 | m_PrefabAsset: {fileID: 0} 689 | m_GameObject: {fileID: 2056718993} 690 | m_Enabled: 1 691 | m_EditorHideFlags: 0 692 | m_Script: {fileID: 11500000, guid: 55344505f9a54bf7b70f78c8f5749a7f, type: 3} 693 | m_Name: 694 | m_EditorClassIdentifier: 695 | SuiNodeUrl: http://127.0.0.1:9000 696 | -------------------------------------------------------------------------------- /Assets/Scenes/BasicRpcTest.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5c3ca675592e4e5ea9a2bfaae9b18f6 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f535bc69cba72471f93578e35128eafb 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/Components.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44daeae8567144e49b58e3047183af27 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Sui.Unity.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Sui.Unity", 3 | "rootNamespace": "", 4 | "references": [], 5 | "includePlatforms": [], 6 | "excludePlatforms": [], 7 | "allowUnsafeCode": false, 8 | "overrideReferences": true, 9 | "precompiledReferences": [ 10 | "SuiDotNet.Client.dll", 11 | "Nethereum.JsonRpc.RpcClient.dll", 12 | "Nethereum.JsonRpc.Client.dll", 13 | "Newtonsoft.Json.dll", 14 | "Common.Logging.Core.dll" 15 | ], 16 | "autoReferenced": true, 17 | "defineConstraints": [], 18 | "versionDefines": [], 19 | "noEngineReferences": false 20 | } -------------------------------------------------------------------------------- /Assets/Scripts/Components/Sui.Unity.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0090aea30e2904946a23e4bed246b66d 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/SuiClient.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using SuiDotNet.Client; 3 | using UnityEngine; 4 | 5 | public class SuiClient : MonoBehaviour 6 | { 7 | public SuiJsonClient Rpc; 8 | 9 | // substitute your preferred Sui node endpoint here, either in code or in Unity inspector 10 | public String SuiNodeUrl = "http://127.0.0.1:9000"; 11 | 12 | // use Awake instead of Start so this runs before things that depend on it 13 | void Awake() 14 | { 15 | var settings = new SuiClientSettings { BaseUri = SuiNodeUrl }; 16 | Rpc = new SuiJsonClient(settings); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/SuiClient.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 55344505f9a54bf7b70f78c8f5749a7f 3 | timeCreated: 1663304224 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5c34c8775d714ebbb67124446ec355c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc0ea82e1ac774de88e8cb7002b1c350 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsByModuleTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading.Tasks; 3 | using UnityEngine; 4 | 5 | [RequireComponent(typeof(SuiClient))] 6 | public class GetEventsByModuleTest : MonoBehaviour 7 | { 8 | Task Task; 9 | 10 | // substitute your struct name here 11 | public string Package = "0x2"; 12 | public string Module = "devnet_nft"; 13 | 14 | [Range(0, 100)] 15 | public uint Count = 50; 16 | 17 | void Start() 18 | { 19 | var client = gameObject.GetComponent(); 20 | Task = client.Rpc.GetEventsByModule(Package, Module, Count); 21 | } 22 | 23 | void Update() 24 | { 25 | if (Task is not {IsCompleted: true}) 26 | return; 27 | 28 | var result = Task.Result; 29 | var resLines = string.Join(",\n", (IEnumerable) result); 30 | var resultText = $"[\n{resLines}\n]"; 31 | 32 | Debug.Log("get events by module result: " + resultText); 33 | Task = null; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsByModuleTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d3260ace890c4f35bc108dcf40e841e9 3 | timeCreated: 1663344236 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsByMoveEventStructNameTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading.Tasks; 3 | using UnityEngine; 4 | 5 | [RequireComponent(typeof(SuiClient))] 6 | public class GetEventsByMoveEventStructNameTest : MonoBehaviour 7 | { 8 | Task Task; 9 | 10 | // substitute your struct name here 11 | public string StructName = "0x2::devnet_nft::MintNFTEvent"; 12 | 13 | [Range(0, 100)] 14 | public uint Count = 50; 15 | 16 | void Start() 17 | { 18 | var client = gameObject.GetComponent(); 19 | Task = client.Rpc.GetEventsByMoveEventStructName(StructName, Count); 20 | } 21 | 22 | void Update() 23 | { 24 | if (Task is not {IsCompleted: true}) 25 | return; 26 | 27 | var result = Task.Result; 28 | var resLines = string.Join(",\n", (IEnumerable) result); 29 | var resultText = $"[\n{resLines}\n]"; 30 | 31 | Debug.Log("get events by move event struct name result: " + resultText); 32 | Task = null; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsByMoveEventStructNameTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 500224075e804cfe9671a6fb722706a1 3 | timeCreated: 1663342376 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsByObjectTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading.Tasks; 3 | using UnityEngine; 4 | 5 | [RequireComponent(typeof(SuiClient))] 6 | public class GetEventsByObjectTest : MonoBehaviour 7 | { 8 | Task Task; 9 | 10 | // substitute your object id here 11 | public string ObjectID = "0x30946e8bc320488ddac2a92881345131d3bb1da3"; 12 | 13 | [Range(0, 100)] 14 | public uint Count = 50; 15 | 16 | void Start() 17 | { 18 | var client = gameObject.GetComponent(); 19 | Task = client.Rpc.GetEventsByObject(ObjectID, Count, 0, 9007199254740991); 20 | } 21 | 22 | void Update() 23 | { 24 | if (Task is not {IsCompleted: true}) 25 | return; 26 | 27 | var result = Task.Result; 28 | var resLines = string.Join(",\n\t", (IEnumerable) result); 29 | var resultText = $"[\n{resLines}\n]"; 30 | 31 | Debug.Log("get events by object result: " + resultText); 32 | Task = null; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsByObjectTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e07df571640f443091c7ba2c95b4dd81 3 | timeCreated: 1663321159 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsByRecipientTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading.Tasks; 3 | using SuiDotNet.Client.Requests; 4 | using UnityEngine; 5 | 6 | [RequireComponent(typeof(SuiClient))] 7 | public class GetEventsByRecipientTest : MonoBehaviour 8 | { 9 | Task Task; 10 | 11 | // substitute your object id here 12 | public OwnerType OwnerType = OwnerType.Address; 13 | public string Address = "0x08c9e31048ce86a3538272d4adaf2069ecf26c01"; 14 | 15 | [Range(0, 100)] 16 | public uint Count = 50; 17 | 18 | void Start() 19 | { 20 | var client = gameObject.GetComponent(); 21 | 22 | var owner = new ObjectOwner(OwnerType, Address); 23 | Task = client.Rpc.GetEventsByRecipient(owner, Count); 24 | } 25 | 26 | void Update() 27 | { 28 | if (Task is not {IsCompleted: true}) 29 | return; 30 | 31 | var result = Task.Result; 32 | var resLines = string.Join(",\n", (IEnumerable) result); 33 | var resultText = $"[\n{resLines}\n]"; 34 | 35 | Debug.Log("get events by recipient result: " + resultText); 36 | Task = null; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsByRecipientTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9effdab8cd0b405492a16ffac7b69410 3 | timeCreated: 1663341952 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsBySenderTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading.Tasks; 3 | using UnityEngine; 4 | 5 | [RequireComponent(typeof(SuiClient))] 6 | public class GetEventsBySenderTest : MonoBehaviour 7 | { 8 | Task Task; 9 | 10 | // substitute your object id here 11 | public string Address = "0x08c9e31048ce86a3538272d4adaf2069ecf26c01"; 12 | 13 | [Range(0, 100)] 14 | public uint Count = 50; 15 | 16 | void Start() 17 | { 18 | var client = gameObject.GetComponent(); 19 | Task = client.Rpc.GetEventsBySender(Address, Count); 20 | } 21 | 22 | void Update() 23 | { 24 | if (Task is not {IsCompleted: true}) 25 | return; 26 | 27 | var result = Task.Result; 28 | var resLines = string.Join(",\n", (IEnumerable) result); 29 | var resultText = $"[\n{resLines}\n]"; 30 | 31 | Debug.Log("get events by sender result: " + resultText); 32 | Task = null; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsBySenderTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f6cf17b2cb34dd29252be77afbfa3fb 3 | timeCreated: 1663341453 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsByTimeRangeTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading.Tasks; 3 | using UnityEngine; 4 | 5 | [RequireComponent(typeof(SuiClient))] 6 | public class GetEventsByTimeRangeTest : MonoBehaviour 7 | { 8 | Task Task; 9 | 10 | [Range(5, 100)] 11 | public uint Count = 100; 12 | 13 | [Range(0, 100)] 14 | public uint StartTime = 0; 15 | 16 | 17 | void Start() 18 | { 19 | var client = gameObject.GetComponent(); 20 | Task = client.Rpc.GetEventsByTimeRange(Count, StartTime); 21 | } 22 | 23 | void Update() 24 | { 25 | if (Task is not {IsCompleted: true}) 26 | return; 27 | 28 | var result = Task.Result; 29 | var resLines = string.Join(",\n\t", (IEnumerable) result); 30 | var resultText = $"[\n{resLines}\n]"; 31 | 32 | Debug.Log("get events by time range result: " + resultText); 33 | Task = null; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsByTimeRangeTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd38010570a74f1d888d80e152be696d 3 | timeCreated: 1663320309 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsByTransactionTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading.Tasks; 3 | using UnityEngine; 4 | 5 | [RequireComponent(typeof(SuiClient))] 6 | public class GetEventsByTransactionTest : MonoBehaviour 7 | { 8 | Task Task; 9 | 10 | // substitute your transaction digest here 11 | public string Digest = "XbyTWT8UZ1qXEM4/sdRLOzF+uwtHEEjuoj8m0VKVZFQ="; 12 | 13 | [Range(0, 100)] 14 | public uint Count = 50; 15 | 16 | void Start() 17 | { 18 | var client = gameObject.GetComponent(); 19 | Task = client.Rpc.GetEventsByTransaction(Digest, Count); 20 | } 21 | 22 | void Update() 23 | { 24 | if (Task is not {IsCompleted: true}) 25 | return; 26 | 27 | var result = Task.Result; 28 | var resLines = string.Join(",\n\t", (IEnumerable) result); 29 | var resultText = $"[\n{resLines}\n]"; 30 | 31 | Debug.Log("get events by transaction result: " + resultText); 32 | Task = null; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Event/GetEventsByTransactionTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e9ba67364ba64d33b3cf3432a0ff563 3 | timeCreated: 1663307425 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Sui.Unity.Debug.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Sui.Unity.Debug", 3 | "rootNamespace": "", 4 | "references": [ 5 | "GUID:0090aea30e2904946a23e4bed246b66d" 6 | ], 7 | "includePlatforms": [], 8 | "excludePlatforms": [], 9 | "allowUnsafeCode": false, 10 | "overrideReferences": true, 11 | "precompiledReferences": [ 12 | "SuiDotNet.Client.dll", 13 | "Nethereum.JsonRpc.Client.dll", 14 | "Nethereum.JsonRpc.RpcClient.dll", 15 | "Common.Logging.Core.dll", 16 | "Newtonsoft.Json.dll" 17 | ], 18 | "autoReferenced": true, 19 | "defineConstraints": [], 20 | "versionDefines": [], 21 | "noEngineReferences": false 22 | } -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Sui.Unity.Debug.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 621ebee72eccd424f90d91ca37ca1546 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/SuiGetObjectTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Threading.Tasks; 3 | using SuiDotNet.Client.Requests; 4 | using UnityEngine; 5 | 6 | [RequireComponent(typeof(SuiClient))] 7 | public class SuiGetObjectTest : MonoBehaviour 8 | { 9 | public Task GetObjectTask; 10 | 11 | // substitute your object ID here 12 | public String TestObjectId = "0x3ac988444287df888b8f321683f49f4a18337f89"; 13 | 14 | void Start() 15 | { 16 | var client = gameObject.GetComponent(); 17 | GetObjectTask = client.Rpc.GetObject(TestObjectId); 18 | } 19 | 20 | void Update() 21 | { 22 | if (GetObjectTask is not {IsCompleted: true}) 23 | return; 24 | 25 | Debug.Log("owner type: " + GetObjectTask.Result.Owner.Type); 26 | Debug.Log("owner address: " + GetObjectTask.Result.Owner.Address); 27 | Debug.Log("object type: " + GetObjectTask.Result.Data.Type); 28 | Debug.Log("object digest: " + GetObjectTask.Result.Reference.Digest); 29 | Debug.Log("previous tx: " + GetObjectTask.Result.PreviousTransaction); 30 | Debug.Log("storage rebate: " + GetObjectTask.Result.StorageRebate); 31 | GetObjectTask = null; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/SuiGetObjectTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d4beb797d9d24a6da58b12a0dbfceed 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f5c5d31b72f9144c0a7f82c2c3a308f5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetRecentTransactionsTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading.Tasks; 3 | using SuiDotNet.Client.Requests; 4 | using UnityEngine; 5 | 6 | [RequireComponent(typeof(SuiClient))] 7 | public class GetRecentTransactionsTest : MonoBehaviour 8 | { 9 | Task Task; 10 | 11 | void Start() 12 | { 13 | var client = gameObject.GetComponent(); 14 | Task = client.Rpc.GetRecentTransactions(); 15 | } 16 | 17 | void Update() 18 | { 19 | if (Task is not {IsCompleted: true}) 20 | return; 21 | 22 | var result = Task.Result; 23 | var resLines = string.Join(",\n\t", (IEnumerable) result); 24 | var resultText = $"[\n\t{resLines}\n]"; 25 | Debug.Log("get recent transactions result:\n" + resultText); 26 | Task = null; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetRecentTransactionsTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e616e076214b4cbf92908a378a089755 3 | timeCreated: 1663307425 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetTotalTransactionNumberTest.cs: -------------------------------------------------------------------------------- 1 | using System.Threading.Tasks; 2 | using UnityEngine; 3 | 4 | [RequireComponent(typeof(SuiClient))] 5 | public class GetTotalTransactionNumberTest : MonoBehaviour 6 | { 7 | Task Task; 8 | 9 | void Start() 10 | { 11 | var client = gameObject.GetComponent(); 12 | Task = client.Rpc.GetTotalTransactionNumber(); 13 | } 14 | 15 | void Update() 16 | { 17 | if (Task is not {IsCompleted: true}) 18 | return; 19 | 20 | var result = Task.Result; 21 | Debug.Log("get total transaction count: " + result); 22 | Task = null; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetTotalTransactionNumberTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c256852ca98450186e3a69e5323a776 3 | timeCreated: 1663307817 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetTransactionTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Threading.Tasks; 4 | using Newtonsoft.Json.Linq; 5 | using SuiDotNet.Client.Requests; 6 | using UnityEngine; 7 | 8 | [RequireComponent(typeof(SuiClient))] 9 | public class GetTransactionTest : MonoBehaviour 10 | { 11 | public Task GetTransactionTask; 12 | 13 | // substitute your transaction digest here 14 | public String Digest = "XbyTWT8UZ1qXEM4/sdRLOzF+uwtHEEjuoj8m0VKVZFQ="; 15 | 16 | void Start() 17 | { 18 | var client = gameObject.GetComponent(); 19 | GetTransactionTask = client.Rpc.GetTransactionWithEffects(Digest); 20 | } 21 | 22 | void Update() 23 | { 24 | if (GetTransactionTask is not {IsCompleted: true}) 25 | return; 26 | 27 | var result = GetTransactionTask.Result; 28 | Debug.Log("tx - time: " + result.Timestamp); 29 | if(result.ParsedData != null) 30 | Debug.Log("tx - parsedData: " + result.ParsedData); 31 | 32 | var effects = result.Effects; 33 | Debug.Log("tx - effects.status.status: " + effects.Status.Status); 34 | Debug.Log("tx - effects.transactionDigest: " + effects.TransactionDigest); 35 | Debug.Log("tx - effects.gasUsed: " + effects.GasUsed); 36 | Debug.Log("tx - effects.gasObject: " + effects.GasObject); 37 | 38 | LogAll(effects.Created, "effects.created members follow..."); 39 | LogAll(effects.Deleted, "effects.deleted members follow..."); 40 | LogAll(effects.Mutated, "effects.mutated members follow..."); 41 | 42 | LogAll(effects.Events, "effects.events members follow..."); 43 | 44 | var cert = result.Certificate; 45 | Debug.Log("tx - cert: " + cert); 46 | 47 | GetTransactionTask = null; 48 | } 49 | 50 | static void LogAll(T[] data, string initialLog = null) 51 | { 52 | if (data is not {Length: > 0}) 53 | return; 54 | if(initialLog != null) 55 | Debug.Log(initialLog); 56 | foreach (var d in data) 57 | Debug.Log(d); 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetTransactionTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fba40167e4b846d6a9a05b6d3c1ae862 3 | timeCreated: 1663304340 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetTransactionsBatchTest.cs: -------------------------------------------------------------------------------- 1 | using System.Threading.Tasks; 2 | using SuiDotNet.Client.Requests; 3 | using UnityEngine; 4 | 5 | [RequireComponent(typeof(SuiClient))] 6 | public class GetTransactionsBatchTest : MonoBehaviour 7 | { 8 | public Task RpcTask; 9 | 10 | // substitute your transaction digests here 11 | public string[] TestTransactionDigests = { 12 | "XbyTWT8UZ1qXEM4/sdRLOzF+uwtHEEjuoj8m0VKVZFQ=", 13 | "pnyn2ylZCxpfHxxUTZbMCt924Jfzg+p24TEtI7Qx5bE=", 14 | "lCuDStZX86yDPCL8TZWWWwdkPCfyOHEY+dJ6EGwVueU=", 15 | "1XpVLd9CC70kzLRHwUkZEWBEF62s32DM96FEcNhUOcg=", 16 | "1b0yipd8FYznQQv12lMmbCxwKCunHhmBGz+GP28o2o4=" 17 | }; 18 | 19 | void Start() 20 | { 21 | var client = gameObject.GetComponent(); 22 | RpcTask = client.Rpc.GetTransactionWithEffectsBatch(TestTransactionDigests); 23 | } 24 | 25 | void Update() 26 | { 27 | if (RpcTask is not {IsCompleted: true}) 28 | return; 29 | 30 | var result = RpcTask.Result; 31 | for (var i = 0; i < result.Length; i++) 32 | { 33 | var tx = result[i]; 34 | Debug.Log($"get tx batch {i}, effects: " + tx.Effects); 35 | Debug.Log($"get tx batch {i}, cert: " + tx.Certificate); 36 | 37 | /* 38 | var cert = tx.Certificate; 39 | 40 | Debug.Log($"get tx batch {i}, digest: " + cert.TransactionDigest); 41 | Debug.Log($"get tx batch {i}, signature: " + cert.Signature); 42 | Debug.Log($"get tx batch {i}, data: " + cert.Data); 43 | Debug.Log($"get tx batch {i}, authSignInfo:\n" + cert.AuthoritySignInfo); 44 | */ 45 | 46 | Debug.Log($"get tx batch {i}, time: " + tx.Timestamp); 47 | //Debug.Log($"get tx batch {i}, effects.created length: " + tx.Effects.Created?.Length); 48 | //Debug.Log($"get tx batch {i}, effects.mutated length: " + tx.Effects.Mutated?.Length); 49 | Debug.Log($"get tx batch {i}, parsed: " + tx.ParsedData); 50 | } 51 | 52 | RpcTask = null; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetTransactionsBatchTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71c98f9d2da242ec82e716eee54c564f 3 | timeCreated: 1663310077 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetTransactionsForAddressTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Threading.Tasks; 3 | using SuiDotNet.Client.Requests; 4 | using UnityEngine; 5 | 6 | [RequireComponent(typeof(SuiClient))] 7 | public class GetTransactionsForAddressTest : MonoBehaviour 8 | { 9 | public Task GetTransactionsForAddressTask; 10 | 11 | // substitute your test address here 12 | public String TestAddress = "0x08c9e31048ce86a3538272d4adaf2069ecf26c01"; 13 | 14 | void Start() 15 | { 16 | var client = gameObject.GetComponent(); 17 | GetTransactionsForAddressTask = client.Rpc.GetTransactionsForAddress(TestAddress); 18 | } 19 | 20 | void Update() 21 | { 22 | if (GetTransactionsForAddressTask is not {IsCompleted: true}) 23 | return; 24 | 25 | Debug.Log("tx for address count: " + GetTransactionsForAddressTask.Result.Length); 26 | foreach (var addrTx in GetTransactionsForAddressTask.Result) 27 | Debug.Log("get tx for address result: [" + addrTx.SequenceNumber + ", " + addrTx.Digest + "]"); 28 | 29 | GetTransactionsForAddressTask = null; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetTransactionsForAddressTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4759e56937694f71a74a24817650d684 3 | timeCreated: 1663304587 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetTransactionsForObjectTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Threading.Tasks; 3 | using SuiDotNet.Client.Requests; 4 | using UnityEngine; 5 | 6 | [RequireComponent(typeof(SuiClient))] 7 | public class GetTransactionsForObjectTest : MonoBehaviour 8 | { 9 | public Task GetTransactionsForObjectTask; 10 | 11 | // substitute your test object id here 12 | public String TestObject = "0x0754d12ea8d4698cb861d11cb192574b53c19925"; 13 | 14 | void Start() 15 | { 16 | var client = gameObject.GetComponent(); 17 | GetTransactionsForObjectTask = client.Rpc.GetTransactionsForObject(TestObject); 18 | } 19 | 20 | void Update() 21 | { 22 | if (GetTransactionsForObjectTask is not {IsCompleted: true}) 23 | return; 24 | 25 | Debug.Log("tx for object count: " + GetTransactionsForObjectTask.Result.Length); 26 | foreach (var objTx in GetTransactionsForObjectTask.Result) 27 | Debug.Log("get tx for object result: [" + objTx.SequenceNumber + ", " + objTx.Digest + "]"); 28 | 29 | GetTransactionsForObjectTask = null; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetTransactionsForObjectTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 875920ff2aa04afb88e86586021b6b7d 3 | timeCreated: 1663304732 -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetTransactionsInRangeTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Threading.Tasks; 3 | using SuiDotNet.Client.Requests; 4 | using UnityEngine; 5 | 6 | [RequireComponent(typeof(SuiClient))] 7 | public class GetTransactionsInRangeTest : MonoBehaviour 8 | { 9 | Task Task; 10 | 11 | public ulong RangeStart = 5; 12 | public ulong RangeEnd = 15; 13 | 14 | void Start() 15 | { 16 | var client = gameObject.GetComponent(); 17 | Task = client.Rpc.GetTransactionDigestsInRange(RangeStart, RangeEnd); 18 | } 19 | 20 | void Update() 21 | { 22 | if (Task is not {IsCompleted: true}) 23 | return; 24 | 25 | var result = Task.Result; 26 | var resLines = string.Join(",\n\t", (IEnumerable) result); 27 | var resultText = $"[\n\t{resLines}\n]"; 28 | Debug.Log("get transactions in range result:\n" + resultText); 29 | Task = null; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Assets/Scripts/Components/Test/Transaction/GetTransactionsInRangeTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 364f1d29bb354cada5593adf0dd9654c 3 | timeCreated: 1663308612 -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": "1.17.1", 4 | "com.unity.feature.development": "1.0.1", 5 | "com.unity.ide.rider": "3.0.15", 6 | "com.unity.ide.visualstudio": "2.0.16", 7 | "com.unity.ide.vscode": "1.2.5", 8 | "com.unity.test-framework": "1.1.31", 9 | "com.unity.textmeshpro": "3.0.6", 10 | "com.unity.timeline": "1.6.4", 11 | "com.unity.ugui": "1.0.0", 12 | "com.unity.visualscripting": "1.7.8", 13 | "com.unity.modules.ai": "1.0.0", 14 | "com.unity.modules.androidjni": "1.0.0", 15 | "com.unity.modules.animation": "1.0.0", 16 | "com.unity.modules.assetbundle": "1.0.0", 17 | "com.unity.modules.audio": "1.0.0", 18 | "com.unity.modules.cloth": "1.0.0", 19 | "com.unity.modules.director": "1.0.0", 20 | "com.unity.modules.imageconversion": "1.0.0", 21 | "com.unity.modules.imgui": "1.0.0", 22 | "com.unity.modules.jsonserialize": "1.0.0", 23 | "com.unity.modules.particlesystem": "1.0.0", 24 | "com.unity.modules.physics": "1.0.0", 25 | "com.unity.modules.physics2d": "1.0.0", 26 | "com.unity.modules.screencapture": "1.0.0", 27 | "com.unity.modules.terrain": "1.0.0", 28 | "com.unity.modules.terrainphysics": "1.0.0", 29 | "com.unity.modules.tilemap": "1.0.0", 30 | "com.unity.modules.ui": "1.0.0", 31 | "com.unity.modules.uielements": "1.0.0", 32 | "com.unity.modules.umbra": "1.0.0", 33 | "com.unity.modules.unityanalytics": "1.0.0", 34 | "com.unity.modules.unitywebrequest": "1.0.0", 35 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 36 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 37 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 38 | "com.unity.modules.unitywebrequestwww": "1.0.0", 39 | "com.unity.modules.vehicles": "1.0.0", 40 | "com.unity.modules.video": "1.0.0", 41 | "com.unity.modules.vr": "1.0.0", 42 | "com.unity.modules.wind": "1.0.0", 43 | "com.unity.modules.xr": "1.0.0" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": { 4 | "version": "1.17.1", 5 | "depth": 0, 6 | "source": "registry", 7 | "dependencies": { 8 | "com.unity.services.core": "1.0.1" 9 | }, 10 | "url": "https://packages.unity.com" 11 | }, 12 | "com.unity.editorcoroutines": { 13 | "version": "1.0.0", 14 | "depth": 1, 15 | "source": "registry", 16 | "dependencies": {}, 17 | "url": "https://packages.unity.com" 18 | }, 19 | "com.unity.ext.nunit": { 20 | "version": "1.0.6", 21 | "depth": 1, 22 | "source": "registry", 23 | "dependencies": {}, 24 | "url": "https://packages.unity.com" 25 | }, 26 | "com.unity.feature.development": { 27 | "version": "1.0.1", 28 | "depth": 0, 29 | "source": "builtin", 30 | "dependencies": { 31 | "com.unity.ide.visualstudio": "2.0.16", 32 | "com.unity.ide.rider": "3.0.15", 33 | "com.unity.ide.vscode": "1.2.5", 34 | "com.unity.editorcoroutines": "1.0.0", 35 | "com.unity.performance.profile-analyzer": "1.1.1", 36 | "com.unity.test-framework": "1.1.31", 37 | "com.unity.testtools.codecoverage": "1.0.1" 38 | } 39 | }, 40 | "com.unity.ide.rider": { 41 | "version": "3.0.15", 42 | "depth": 0, 43 | "source": "registry", 44 | "dependencies": { 45 | "com.unity.ext.nunit": "1.0.6" 46 | }, 47 | "url": "https://packages.unity.com" 48 | }, 49 | "com.unity.ide.visualstudio": { 50 | "version": "2.0.16", 51 | "depth": 0, 52 | "source": "registry", 53 | "dependencies": { 54 | "com.unity.test-framework": "1.1.9" 55 | }, 56 | "url": "https://packages.unity.com" 57 | }, 58 | "com.unity.ide.vscode": { 59 | "version": "1.2.5", 60 | "depth": 0, 61 | "source": "registry", 62 | "dependencies": {}, 63 | "url": "https://packages.unity.com" 64 | }, 65 | "com.unity.nuget.newtonsoft-json": { 66 | "version": "3.0.2", 67 | "depth": 2, 68 | "source": "registry", 69 | "dependencies": {}, 70 | "url": "https://packages.unity.com" 71 | }, 72 | "com.unity.performance.profile-analyzer": { 73 | "version": "1.1.1", 74 | "depth": 1, 75 | "source": "registry", 76 | "dependencies": {}, 77 | "url": "https://packages.unity.com" 78 | }, 79 | "com.unity.services.core": { 80 | "version": "1.4.2", 81 | "depth": 1, 82 | "source": "registry", 83 | "dependencies": { 84 | "com.unity.modules.unitywebrequest": "1.0.0", 85 | "com.unity.nuget.newtonsoft-json": "3.0.2", 86 | "com.unity.modules.androidjni": "1.0.0" 87 | }, 88 | "url": "https://packages.unity.com" 89 | }, 90 | "com.unity.settings-manager": { 91 | "version": "1.0.3", 92 | "depth": 2, 93 | "source": "registry", 94 | "dependencies": {}, 95 | "url": "https://packages.unity.com" 96 | }, 97 | "com.unity.test-framework": { 98 | "version": "1.1.31", 99 | "depth": 0, 100 | "source": "registry", 101 | "dependencies": { 102 | "com.unity.ext.nunit": "1.0.6", 103 | "com.unity.modules.imgui": "1.0.0", 104 | "com.unity.modules.jsonserialize": "1.0.0" 105 | }, 106 | "url": "https://packages.unity.com" 107 | }, 108 | "com.unity.testtools.codecoverage": { 109 | "version": "1.0.1", 110 | "depth": 1, 111 | "source": "registry", 112 | "dependencies": { 113 | "com.unity.test-framework": "1.0.16", 114 | "com.unity.settings-manager": "1.0.1" 115 | }, 116 | "url": "https://packages.unity.com" 117 | }, 118 | "com.unity.textmeshpro": { 119 | "version": "3.0.6", 120 | "depth": 0, 121 | "source": "registry", 122 | "dependencies": { 123 | "com.unity.ugui": "1.0.0" 124 | }, 125 | "url": "https://packages.unity.com" 126 | }, 127 | "com.unity.timeline": { 128 | "version": "1.6.4", 129 | "depth": 0, 130 | "source": "registry", 131 | "dependencies": { 132 | "com.unity.modules.director": "1.0.0", 133 | "com.unity.modules.animation": "1.0.0", 134 | "com.unity.modules.audio": "1.0.0", 135 | "com.unity.modules.particlesystem": "1.0.0" 136 | }, 137 | "url": "https://packages.unity.com" 138 | }, 139 | "com.unity.ugui": { 140 | "version": "1.0.0", 141 | "depth": 0, 142 | "source": "builtin", 143 | "dependencies": { 144 | "com.unity.modules.ui": "1.0.0", 145 | "com.unity.modules.imgui": "1.0.0" 146 | } 147 | }, 148 | "com.unity.visualscripting": { 149 | "version": "1.7.8", 150 | "depth": 0, 151 | "source": "registry", 152 | "dependencies": { 153 | "com.unity.ugui": "1.0.0", 154 | "com.unity.modules.jsonserialize": "1.0.0" 155 | }, 156 | "url": "https://packages.unity.com" 157 | }, 158 | "com.unity.modules.ai": { 159 | "version": "1.0.0", 160 | "depth": 0, 161 | "source": "builtin", 162 | "dependencies": {} 163 | }, 164 | "com.unity.modules.androidjni": { 165 | "version": "1.0.0", 166 | "depth": 0, 167 | "source": "builtin", 168 | "dependencies": {} 169 | }, 170 | "com.unity.modules.animation": { 171 | "version": "1.0.0", 172 | "depth": 0, 173 | "source": "builtin", 174 | "dependencies": {} 175 | }, 176 | "com.unity.modules.assetbundle": { 177 | "version": "1.0.0", 178 | "depth": 0, 179 | "source": "builtin", 180 | "dependencies": {} 181 | }, 182 | "com.unity.modules.audio": { 183 | "version": "1.0.0", 184 | "depth": 0, 185 | "source": "builtin", 186 | "dependencies": {} 187 | }, 188 | "com.unity.modules.cloth": { 189 | "version": "1.0.0", 190 | "depth": 0, 191 | "source": "builtin", 192 | "dependencies": { 193 | "com.unity.modules.physics": "1.0.0" 194 | } 195 | }, 196 | "com.unity.modules.director": { 197 | "version": "1.0.0", 198 | "depth": 0, 199 | "source": "builtin", 200 | "dependencies": { 201 | "com.unity.modules.audio": "1.0.0", 202 | "com.unity.modules.animation": "1.0.0" 203 | } 204 | }, 205 | "com.unity.modules.imageconversion": { 206 | "version": "1.0.0", 207 | "depth": 0, 208 | "source": "builtin", 209 | "dependencies": {} 210 | }, 211 | "com.unity.modules.imgui": { 212 | "version": "1.0.0", 213 | "depth": 0, 214 | "source": "builtin", 215 | "dependencies": {} 216 | }, 217 | "com.unity.modules.jsonserialize": { 218 | "version": "1.0.0", 219 | "depth": 0, 220 | "source": "builtin", 221 | "dependencies": {} 222 | }, 223 | "com.unity.modules.particlesystem": { 224 | "version": "1.0.0", 225 | "depth": 0, 226 | "source": "builtin", 227 | "dependencies": {} 228 | }, 229 | "com.unity.modules.physics": { 230 | "version": "1.0.0", 231 | "depth": 0, 232 | "source": "builtin", 233 | "dependencies": {} 234 | }, 235 | "com.unity.modules.physics2d": { 236 | "version": "1.0.0", 237 | "depth": 0, 238 | "source": "builtin", 239 | "dependencies": {} 240 | }, 241 | "com.unity.modules.screencapture": { 242 | "version": "1.0.0", 243 | "depth": 0, 244 | "source": "builtin", 245 | "dependencies": { 246 | "com.unity.modules.imageconversion": "1.0.0" 247 | } 248 | }, 249 | "com.unity.modules.subsystems": { 250 | "version": "1.0.0", 251 | "depth": 1, 252 | "source": "builtin", 253 | "dependencies": { 254 | "com.unity.modules.jsonserialize": "1.0.0" 255 | } 256 | }, 257 | "com.unity.modules.terrain": { 258 | "version": "1.0.0", 259 | "depth": 0, 260 | "source": "builtin", 261 | "dependencies": {} 262 | }, 263 | "com.unity.modules.terrainphysics": { 264 | "version": "1.0.0", 265 | "depth": 0, 266 | "source": "builtin", 267 | "dependencies": { 268 | "com.unity.modules.physics": "1.0.0", 269 | "com.unity.modules.terrain": "1.0.0" 270 | } 271 | }, 272 | "com.unity.modules.tilemap": { 273 | "version": "1.0.0", 274 | "depth": 0, 275 | "source": "builtin", 276 | "dependencies": { 277 | "com.unity.modules.physics2d": "1.0.0" 278 | } 279 | }, 280 | "com.unity.modules.ui": { 281 | "version": "1.0.0", 282 | "depth": 0, 283 | "source": "builtin", 284 | "dependencies": {} 285 | }, 286 | "com.unity.modules.uielements": { 287 | "version": "1.0.0", 288 | "depth": 0, 289 | "source": "builtin", 290 | "dependencies": { 291 | "com.unity.modules.ui": "1.0.0", 292 | "com.unity.modules.imgui": "1.0.0", 293 | "com.unity.modules.jsonserialize": "1.0.0", 294 | "com.unity.modules.uielementsnative": "1.0.0" 295 | } 296 | }, 297 | "com.unity.modules.uielementsnative": { 298 | "version": "1.0.0", 299 | "depth": 1, 300 | "source": "builtin", 301 | "dependencies": { 302 | "com.unity.modules.ui": "1.0.0", 303 | "com.unity.modules.imgui": "1.0.0", 304 | "com.unity.modules.jsonserialize": "1.0.0" 305 | } 306 | }, 307 | "com.unity.modules.umbra": { 308 | "version": "1.0.0", 309 | "depth": 0, 310 | "source": "builtin", 311 | "dependencies": {} 312 | }, 313 | "com.unity.modules.unityanalytics": { 314 | "version": "1.0.0", 315 | "depth": 0, 316 | "source": "builtin", 317 | "dependencies": { 318 | "com.unity.modules.unitywebrequest": "1.0.0", 319 | "com.unity.modules.jsonserialize": "1.0.0" 320 | } 321 | }, 322 | "com.unity.modules.unitywebrequest": { 323 | "version": "1.0.0", 324 | "depth": 0, 325 | "source": "builtin", 326 | "dependencies": {} 327 | }, 328 | "com.unity.modules.unitywebrequestassetbundle": { 329 | "version": "1.0.0", 330 | "depth": 0, 331 | "source": "builtin", 332 | "dependencies": { 333 | "com.unity.modules.assetbundle": "1.0.0", 334 | "com.unity.modules.unitywebrequest": "1.0.0" 335 | } 336 | }, 337 | "com.unity.modules.unitywebrequestaudio": { 338 | "version": "1.0.0", 339 | "depth": 0, 340 | "source": "builtin", 341 | "dependencies": { 342 | "com.unity.modules.unitywebrequest": "1.0.0", 343 | "com.unity.modules.audio": "1.0.0" 344 | } 345 | }, 346 | "com.unity.modules.unitywebrequesttexture": { 347 | "version": "1.0.0", 348 | "depth": 0, 349 | "source": "builtin", 350 | "dependencies": { 351 | "com.unity.modules.unitywebrequest": "1.0.0", 352 | "com.unity.modules.imageconversion": "1.0.0" 353 | } 354 | }, 355 | "com.unity.modules.unitywebrequestwww": { 356 | "version": "1.0.0", 357 | "depth": 0, 358 | "source": "builtin", 359 | "dependencies": { 360 | "com.unity.modules.unitywebrequest": "1.0.0", 361 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 362 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 363 | "com.unity.modules.audio": "1.0.0", 364 | "com.unity.modules.assetbundle": "1.0.0", 365 | "com.unity.modules.imageconversion": "1.0.0" 366 | } 367 | }, 368 | "com.unity.modules.vehicles": { 369 | "version": "1.0.0", 370 | "depth": 0, 371 | "source": "builtin", 372 | "dependencies": { 373 | "com.unity.modules.physics": "1.0.0" 374 | } 375 | }, 376 | "com.unity.modules.video": { 377 | "version": "1.0.0", 378 | "depth": 0, 379 | "source": "builtin", 380 | "dependencies": { 381 | "com.unity.modules.audio": "1.0.0", 382 | "com.unity.modules.ui": "1.0.0", 383 | "com.unity.modules.unitywebrequest": "1.0.0" 384 | } 385 | }, 386 | "com.unity.modules.vr": { 387 | "version": "1.0.0", 388 | "depth": 0, 389 | "source": "builtin", 390 | "dependencies": { 391 | "com.unity.modules.jsonserialize": "1.0.0", 392 | "com.unity.modules.physics": "1.0.0", 393 | "com.unity.modules.xr": "1.0.0" 394 | } 395 | }, 396 | "com.unity.modules.wind": { 397 | "version": "1.0.0", 398 | "depth": 0, 399 | "source": "builtin", 400 | "dependencies": {} 401 | }, 402 | "com.unity.modules.xr": { 403 | "version": "1.0.0", 404 | "depth": 0, 405 | "source": "builtin", 406 | "dependencies": { 407 | "com.unity.modules.physics": "1.0.0", 408 | "com.unity.modules.jsonserialize": "1.0.0", 409 | "com.unity.modules.subsystems": "1.0.0" 410 | } 411 | } 412 | } 413 | } 414 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 0 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | m_UseLegacyProbeSampleCount: 0 30 | m_SerializeInlineMappingsOnOneLine: 1 31 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | m_LogWhenShaderIsCompiled: 0 63 | m_AllowEnlightenSupportForUpgradedProject: 0 64 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/MemorySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!387306366 &1 4 | MemorySettings: 5 | m_ObjectHideFlags: 0 6 | m_EditorMemorySettings: 7 | m_MainAllocatorBlockSize: -1 8 | m_ThreadAllocatorBlockSize: -1 9 | m_MainGfxBlockSize: -1 10 | m_ThreadGfxBlockSize: -1 11 | m_CacheBlockSize: -1 12 | m_TypetreeBlockSize: -1 13 | m_ProfilerBlockSize: -1 14 | m_ProfilerEditorBlockSize: -1 15 | m_BucketAllocatorGranularity: -1 16 | m_BucketAllocatorBucketsCount: -1 17 | m_BucketAllocatorBlockSize: -1 18 | m_BucketAllocatorBlockCount: -1 19 | m_ProfilerBucketAllocatorGranularity: -1 20 | m_ProfilerBucketAllocatorBucketsCount: -1 21 | m_ProfilerBucketAllocatorBlockSize: -1 22 | m_ProfilerBucketAllocatorBlockCount: -1 23 | m_TempAllocatorSizeMain: -1 24 | m_JobTempAllocatorBlockSize: -1 25 | m_BackgroundJobTempAllocatorBlockSize: -1 26 | m_JobTempAllocatorReducedBlockSize: -1 27 | m_TempAllocatorSizeGIBakingWorker: -1 28 | m_TempAllocatorSizeNavMeshWorker: -1 29 | m_TempAllocatorSizeAudioWorker: -1 30 | m_TempAllocatorSizeCloudWorker: -1 31 | m_TempAllocatorSizeGfx: -1 32 | m_TempAllocatorSizeJobWorker: -1 33 | m_TempAllocatorSizeBackgroundWorker: -1 34 | m_TempAllocatorSizePreloadManager: -1 35 | m_PlatformMemorySettings: {} 36 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreReleasePackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | m_SeeAllPackageVersions: 0 20 | oneTimeWarningShown: 0 21 | m_Registries: 22 | - m_Id: main 23 | m_Name: 24 | m_Url: https://packages.unity.com 25 | m_Scopes: [] 26 | m_IsDefault: 1 27 | m_Capabilities: 7 28 | m_UserSelectedRegistryName: 29 | m_UserAddingNewScopedRegistry: 0 30 | m_RegistryInfoDraft: 31 | m_Modified: 0 32 | m_ErrorMessage: 33 | m_UserModificationsInstanceId: -830 34 | m_OriginalInstanceId: -832 35 | m_LoadAssets: 0 36 | -------------------------------------------------------------------------------- /ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "m_Name": "Settings", 3 | "m_Path": "ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json", 4 | "m_Dictionary": { 5 | "m_DictionaryValues": [] 6 | } 7 | } -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 23 7 | productGUID: d9cc3f9eb92824ec6b6482a6039ec0d4 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: SuiDotNet Test 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1920 46 | defaultScreenHeight: 1080 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | mipStripping: 0 53 | numberOfMipsStripped: 0 54 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 55 | iosShowActivityIndicatorOnLoading: -1 56 | androidShowActivityIndicatorOnLoading: -1 57 | iosUseCustomAppBackgroundBehavior: 0 58 | iosAllowHTTPDownload: 1 59 | allowedAutorotateToPortrait: 1 60 | allowedAutorotateToPortraitUpsideDown: 1 61 | allowedAutorotateToLandscapeRight: 1 62 | allowedAutorotateToLandscapeLeft: 1 63 | useOSAutorotation: 1 64 | use32BitDisplayBuffer: 1 65 | preserveFramebufferAlpha: 0 66 | disableDepthAndStencilBuffers: 0 67 | androidStartInFullscreen: 1 68 | androidRenderOutsideSafeArea: 1 69 | androidUseSwappy: 1 70 | androidBlitType: 0 71 | androidResizableWindow: 0 72 | androidDefaultWindowWidth: 1920 73 | androidDefaultWindowHeight: 1080 74 | androidMinimumWindowWidth: 400 75 | androidMinimumWindowHeight: 300 76 | androidFullscreenMode: 1 77 | defaultIsNativeResolution: 1 78 | macRetinaSupport: 1 79 | runInBackground: 1 80 | captureSingleScreen: 0 81 | muteOtherAudioSources: 0 82 | Prepare IOS For Recording: 0 83 | Force IOS Speakers When Recording: 0 84 | deferSystemGesturesMode: 0 85 | hideHomeButton: 0 86 | submitAnalytics: 1 87 | usePlayerLog: 1 88 | bakeCollisionMeshes: 0 89 | forceSingleInstance: 0 90 | useFlipModelSwapchain: 1 91 | resizableWindow: 0 92 | useMacAppStoreValidation: 0 93 | macAppStoreCategory: public.app-category.games 94 | gpuSkinning: 1 95 | xboxPIXTextureCapture: 0 96 | xboxEnableAvatar: 0 97 | xboxEnableKinect: 0 98 | xboxEnableKinectAutoTracking: 0 99 | xboxEnableFitness: 0 100 | visibleInBackground: 1 101 | allowFullscreenSwitch: 1 102 | fullscreenMode: 1 103 | xboxSpeechDB: 0 104 | xboxEnableHeadOrientation: 0 105 | xboxEnableGuest: 0 106 | xboxEnablePIXSampling: 0 107 | metalFramebufferOnly: 0 108 | xboxOneResolution: 0 109 | xboxOneSResolution: 0 110 | xboxOneXResolution: 3 111 | xboxOneMonoLoggingLevel: 0 112 | xboxOneLoggingLevel: 1 113 | xboxOneDisableEsram: 0 114 | xboxOneEnableTypeOptimization: 0 115 | xboxOnePresentImmediateThreshold: 0 116 | switchQueueCommandMemory: 0 117 | switchQueueControlMemory: 16384 118 | switchQueueComputeMemory: 262144 119 | switchNVNShaderPoolsGranularity: 33554432 120 | switchNVNDefaultPoolsGranularity: 16777216 121 | switchNVNOtherPoolsGranularity: 16777216 122 | switchNVNMaxPublicTextureIDCount: 0 123 | switchNVNMaxPublicSamplerIDCount: 0 124 | stadiaPresentMode: 0 125 | stadiaTargetFramerate: 0 126 | vulkanNumSwapchainBuffers: 3 127 | vulkanEnableSetSRGBWrite: 0 128 | vulkanEnablePreTransform: 1 129 | vulkanEnableLateAcquireNextImage: 0 130 | vulkanEnableCommandBufferRecycling: 1 131 | m_SupportedAspectRatios: 132 | 4:3: 1 133 | 5:4: 1 134 | 16:10: 1 135 | 16:9: 1 136 | Others: 1 137 | bundleVersion: 0.1 138 | preloadedAssets: [] 139 | metroInputSource: 0 140 | wsaTransparentSwapchain: 0 141 | m_HolographicPauseOnTrackingLoss: 1 142 | xboxOneDisableKinectGpuReservation: 1 143 | xboxOneEnable7thCore: 1 144 | vrSettings: 145 | enable360StereoCapture: 0 146 | isWsaHolographicRemotingEnabled: 0 147 | enableFrameTimingStats: 0 148 | enableOpenGLProfilerGPURecorders: 1 149 | useHDRDisplay: 0 150 | D3DHDRBitDepth: 0 151 | m_ColorGamuts: 00000000 152 | targetPixelDensity: 30 153 | resolutionScalingMode: 0 154 | resetResolutionOnWindowResize: 0 155 | androidSupportedAspectRatio: 1 156 | androidMaxAspectRatio: 2.1 157 | applicationIdentifier: 158 | Standalone: com.DefaultCompany.SuiDotNet-Test 159 | buildNumber: 160 | Standalone: 0 161 | iPhone: 0 162 | tvOS: 0 163 | overrideDefaultApplicationIdentifier: 0 164 | AndroidBundleVersionCode: 1 165 | AndroidMinSdkVersion: 22 166 | AndroidTargetSdkVersion: 0 167 | AndroidPreferredInstallLocation: 1 168 | aotOptions: 169 | stripEngineCode: 1 170 | iPhoneStrippingLevel: 0 171 | iPhoneScriptCallOptimization: 0 172 | ForceInternetPermission: 0 173 | ForceSDCardPermission: 0 174 | CreateWallpaper: 0 175 | APKExpansionFiles: 0 176 | keepLoadedShadersAlive: 0 177 | StripUnusedMeshComponents: 1 178 | VertexChannelCompressionMask: 4054 179 | iPhoneSdkVersion: 988 180 | iOSTargetOSVersionString: 11.0 181 | tvOSSdkVersion: 0 182 | tvOSRequireExtendedGameController: 0 183 | tvOSTargetOSVersionString: 11.0 184 | uIPrerenderedIcon: 0 185 | uIRequiresPersistentWiFi: 0 186 | uIRequiresFullScreen: 1 187 | uIStatusBarHidden: 1 188 | uIExitOnSuspend: 0 189 | uIStatusBarStyle: 0 190 | appleTVSplashScreen: {fileID: 0} 191 | appleTVSplashScreen2x: {fileID: 0} 192 | tvOSSmallIconLayers: [] 193 | tvOSSmallIconLayers2x: [] 194 | tvOSLargeIconLayers: [] 195 | tvOSLargeIconLayers2x: [] 196 | tvOSTopShelfImageLayers: [] 197 | tvOSTopShelfImageLayers2x: [] 198 | tvOSTopShelfImageWideLayers: [] 199 | tvOSTopShelfImageWideLayers2x: [] 200 | iOSLaunchScreenType: 0 201 | iOSLaunchScreenPortrait: {fileID: 0} 202 | iOSLaunchScreenLandscape: {fileID: 0} 203 | iOSLaunchScreenBackgroundColor: 204 | serializedVersion: 2 205 | rgba: 0 206 | iOSLaunchScreenFillPct: 100 207 | iOSLaunchScreenSize: 100 208 | iOSLaunchScreenCustomXibPath: 209 | iOSLaunchScreeniPadType: 0 210 | iOSLaunchScreeniPadImage: {fileID: 0} 211 | iOSLaunchScreeniPadBackgroundColor: 212 | serializedVersion: 2 213 | rgba: 0 214 | iOSLaunchScreeniPadFillPct: 100 215 | iOSLaunchScreeniPadSize: 100 216 | iOSLaunchScreeniPadCustomXibPath: 217 | iOSLaunchScreenCustomStoryboardPath: 218 | iOSLaunchScreeniPadCustomStoryboardPath: 219 | iOSDeviceRequirements: [] 220 | iOSURLSchemes: [] 221 | macOSURLSchemes: [] 222 | iOSBackgroundModes: 0 223 | iOSMetalForceHardShadows: 0 224 | metalEditorSupport: 1 225 | metalAPIValidation: 1 226 | iOSRenderExtraFrameOnPause: 0 227 | iosCopyPluginsCodeInsteadOfSymlink: 0 228 | appleDeveloperTeamID: 229 | iOSManualSigningProvisioningProfileID: 230 | tvOSManualSigningProvisioningProfileID: 231 | iOSManualSigningProvisioningProfileType: 0 232 | tvOSManualSigningProvisioningProfileType: 0 233 | appleEnableAutomaticSigning: 0 234 | iOSRequireARKit: 0 235 | iOSAutomaticallyDetectAndAddCapabilities: 1 236 | appleEnableProMotion: 0 237 | shaderPrecisionModel: 0 238 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 239 | templatePackageId: com.unity.template.3d@8.1.0 240 | templateDefaultScene: Assets/Scenes/SampleScene.unity 241 | useCustomMainManifest: 0 242 | useCustomLauncherManifest: 0 243 | useCustomMainGradleTemplate: 0 244 | useCustomLauncherGradleManifest: 0 245 | useCustomBaseGradleTemplate: 0 246 | useCustomGradlePropertiesTemplate: 0 247 | useCustomProguardFile: 0 248 | AndroidTargetArchitectures: 1 249 | AndroidTargetDevices: 0 250 | AndroidSplashScreenScale: 0 251 | androidSplashScreen: {fileID: 0} 252 | AndroidKeystoreName: 253 | AndroidKeyaliasName: 254 | AndroidBuildApkPerCpuArchitecture: 0 255 | AndroidTVCompatibility: 0 256 | AndroidIsGame: 1 257 | AndroidEnableTango: 0 258 | androidEnableBanner: 1 259 | androidUseLowAccuracyLocation: 0 260 | androidUseCustomKeystore: 0 261 | m_AndroidBanners: 262 | - width: 320 263 | height: 180 264 | banner: {fileID: 0} 265 | androidGamepadSupportLevel: 0 266 | chromeosInputEmulation: 1 267 | AndroidMinifyWithR8: 0 268 | AndroidMinifyRelease: 0 269 | AndroidMinifyDebug: 0 270 | AndroidValidateAppBundleSize: 1 271 | AndroidAppBundleSizeToValidate: 150 272 | m_BuildTargetIcons: [] 273 | m_BuildTargetPlatformIcons: [] 274 | m_BuildTargetBatching: 275 | - m_BuildTarget: Standalone 276 | m_StaticBatching: 1 277 | m_DynamicBatching: 0 278 | - m_BuildTarget: tvOS 279 | m_StaticBatching: 1 280 | m_DynamicBatching: 0 281 | - m_BuildTarget: Android 282 | m_StaticBatching: 1 283 | m_DynamicBatching: 0 284 | - m_BuildTarget: iPhone 285 | m_StaticBatching: 1 286 | m_DynamicBatching: 0 287 | - m_BuildTarget: WebGL 288 | m_StaticBatching: 0 289 | m_DynamicBatching: 0 290 | m_BuildTargetGraphicsJobs: 291 | - m_BuildTarget: MacStandaloneSupport 292 | m_GraphicsJobs: 0 293 | - m_BuildTarget: Switch 294 | m_GraphicsJobs: 1 295 | - m_BuildTarget: MetroSupport 296 | m_GraphicsJobs: 1 297 | - m_BuildTarget: AppleTVSupport 298 | m_GraphicsJobs: 0 299 | - m_BuildTarget: BJMSupport 300 | m_GraphicsJobs: 1 301 | - m_BuildTarget: LinuxStandaloneSupport 302 | m_GraphicsJobs: 1 303 | - m_BuildTarget: PS4Player 304 | m_GraphicsJobs: 1 305 | - m_BuildTarget: iOSSupport 306 | m_GraphicsJobs: 0 307 | - m_BuildTarget: WindowsStandaloneSupport 308 | m_GraphicsJobs: 1 309 | - m_BuildTarget: XboxOnePlayer 310 | m_GraphicsJobs: 1 311 | - m_BuildTarget: LuminSupport 312 | m_GraphicsJobs: 0 313 | - m_BuildTarget: AndroidPlayer 314 | m_GraphicsJobs: 0 315 | - m_BuildTarget: WebGLSupport 316 | m_GraphicsJobs: 0 317 | m_BuildTargetGraphicsJobMode: 318 | - m_BuildTarget: PS4Player 319 | m_GraphicsJobMode: 0 320 | - m_BuildTarget: XboxOnePlayer 321 | m_GraphicsJobMode: 0 322 | m_BuildTargetGraphicsAPIs: 323 | - m_BuildTarget: AndroidPlayer 324 | m_APIs: 150000000b000000 325 | m_Automatic: 1 326 | - m_BuildTarget: iOSSupport 327 | m_APIs: 10000000 328 | m_Automatic: 1 329 | - m_BuildTarget: AppleTVSupport 330 | m_APIs: 10000000 331 | m_Automatic: 1 332 | - m_BuildTarget: WebGLSupport 333 | m_APIs: 0b000000 334 | m_Automatic: 1 335 | m_BuildTargetVRSettings: 336 | - m_BuildTarget: Standalone 337 | m_Enabled: 0 338 | m_Devices: 339 | - Oculus 340 | - OpenVR 341 | openGLRequireES31: 0 342 | openGLRequireES31AEP: 0 343 | openGLRequireES32: 0 344 | m_TemplateCustomTags: {} 345 | mobileMTRendering: 346 | Android: 1 347 | iPhone: 1 348 | tvOS: 1 349 | m_BuildTargetGroupLightmapEncodingQuality: 350 | - m_BuildTarget: Android 351 | m_EncodingQuality: 1 352 | - m_BuildTarget: iPhone 353 | m_EncodingQuality: 1 354 | - m_BuildTarget: tvOS 355 | m_EncodingQuality: 1 356 | m_BuildTargetGroupLightmapSettings: [] 357 | m_BuildTargetNormalMapEncoding: 358 | - m_BuildTarget: Android 359 | m_Encoding: 1 360 | - m_BuildTarget: iPhone 361 | m_Encoding: 1 362 | - m_BuildTarget: tvOS 363 | m_Encoding: 1 364 | m_BuildTargetDefaultTextureCompressionFormat: 365 | - m_BuildTarget: Android 366 | m_Format: 3 367 | playModeTestRunnerEnabled: 0 368 | runPlayModeTestAsEditModeTest: 0 369 | actionOnDotNetUnhandledException: 1 370 | enableInternalProfiler: 0 371 | logObjCUncaughtExceptions: 1 372 | enableCrashReportAPI: 0 373 | cameraUsageDescription: 374 | locationUsageDescription: 375 | microphoneUsageDescription: 376 | bluetoothUsageDescription: 377 | switchNMETAOverride: 378 | switchNetLibKey: 379 | switchSocketMemoryPoolSize: 6144 380 | switchSocketAllocatorPoolSize: 128 381 | switchSocketConcurrencyLimit: 14 382 | switchScreenResolutionBehavior: 2 383 | switchUseCPUProfiler: 0 384 | switchUseGOLDLinker: 0 385 | switchLTOSetting: 0 386 | switchApplicationID: 0x01004b9000490000 387 | switchNSODependencies: 388 | switchTitleNames_0: 389 | switchTitleNames_1: 390 | switchTitleNames_2: 391 | switchTitleNames_3: 392 | switchTitleNames_4: 393 | switchTitleNames_5: 394 | switchTitleNames_6: 395 | switchTitleNames_7: 396 | switchTitleNames_8: 397 | switchTitleNames_9: 398 | switchTitleNames_10: 399 | switchTitleNames_11: 400 | switchTitleNames_12: 401 | switchTitleNames_13: 402 | switchTitleNames_14: 403 | switchTitleNames_15: 404 | switchPublisherNames_0: 405 | switchPublisherNames_1: 406 | switchPublisherNames_2: 407 | switchPublisherNames_3: 408 | switchPublisherNames_4: 409 | switchPublisherNames_5: 410 | switchPublisherNames_6: 411 | switchPublisherNames_7: 412 | switchPublisherNames_8: 413 | switchPublisherNames_9: 414 | switchPublisherNames_10: 415 | switchPublisherNames_11: 416 | switchPublisherNames_12: 417 | switchPublisherNames_13: 418 | switchPublisherNames_14: 419 | switchPublisherNames_15: 420 | switchIcons_0: {fileID: 0} 421 | switchIcons_1: {fileID: 0} 422 | switchIcons_2: {fileID: 0} 423 | switchIcons_3: {fileID: 0} 424 | switchIcons_4: {fileID: 0} 425 | switchIcons_5: {fileID: 0} 426 | switchIcons_6: {fileID: 0} 427 | switchIcons_7: {fileID: 0} 428 | switchIcons_8: {fileID: 0} 429 | switchIcons_9: {fileID: 0} 430 | switchIcons_10: {fileID: 0} 431 | switchIcons_11: {fileID: 0} 432 | switchIcons_12: {fileID: 0} 433 | switchIcons_13: {fileID: 0} 434 | switchIcons_14: {fileID: 0} 435 | switchIcons_15: {fileID: 0} 436 | switchSmallIcons_0: {fileID: 0} 437 | switchSmallIcons_1: {fileID: 0} 438 | switchSmallIcons_2: {fileID: 0} 439 | switchSmallIcons_3: {fileID: 0} 440 | switchSmallIcons_4: {fileID: 0} 441 | switchSmallIcons_5: {fileID: 0} 442 | switchSmallIcons_6: {fileID: 0} 443 | switchSmallIcons_7: {fileID: 0} 444 | switchSmallIcons_8: {fileID: 0} 445 | switchSmallIcons_9: {fileID: 0} 446 | switchSmallIcons_10: {fileID: 0} 447 | switchSmallIcons_11: {fileID: 0} 448 | switchSmallIcons_12: {fileID: 0} 449 | switchSmallIcons_13: {fileID: 0} 450 | switchSmallIcons_14: {fileID: 0} 451 | switchSmallIcons_15: {fileID: 0} 452 | switchManualHTML: 453 | switchAccessibleURLs: 454 | switchLegalInformation: 455 | switchMainThreadStackSize: 1048576 456 | switchPresenceGroupId: 457 | switchLogoHandling: 0 458 | switchReleaseVersion: 0 459 | switchDisplayVersion: 1.0.0 460 | switchStartupUserAccount: 0 461 | switchTouchScreenUsage: 0 462 | switchSupportedLanguagesMask: 0 463 | switchLogoType: 0 464 | switchApplicationErrorCodeCategory: 465 | switchUserAccountSaveDataSize: 0 466 | switchUserAccountSaveDataJournalSize: 0 467 | switchApplicationAttribute: 0 468 | switchCardSpecSize: -1 469 | switchCardSpecClock: -1 470 | switchRatingsMask: 0 471 | switchRatingsInt_0: 0 472 | switchRatingsInt_1: 0 473 | switchRatingsInt_2: 0 474 | switchRatingsInt_3: 0 475 | switchRatingsInt_4: 0 476 | switchRatingsInt_5: 0 477 | switchRatingsInt_6: 0 478 | switchRatingsInt_7: 0 479 | switchRatingsInt_8: 0 480 | switchRatingsInt_9: 0 481 | switchRatingsInt_10: 0 482 | switchRatingsInt_11: 0 483 | switchRatingsInt_12: 0 484 | switchLocalCommunicationIds_0: 485 | switchLocalCommunicationIds_1: 486 | switchLocalCommunicationIds_2: 487 | switchLocalCommunicationIds_3: 488 | switchLocalCommunicationIds_4: 489 | switchLocalCommunicationIds_5: 490 | switchLocalCommunicationIds_6: 491 | switchLocalCommunicationIds_7: 492 | switchParentalControl: 0 493 | switchAllowsScreenshot: 1 494 | switchAllowsVideoCapturing: 1 495 | switchAllowsRuntimeAddOnContentInstall: 0 496 | switchDataLossConfirmation: 0 497 | switchUserAccountLockEnabled: 0 498 | switchSystemResourceMemory: 16777216 499 | switchSupportedNpadStyles: 22 500 | switchNativeFsCacheSize: 32 501 | switchIsHoldTypeHorizontal: 0 502 | switchSupportedNpadCount: 8 503 | switchSocketConfigEnabled: 0 504 | switchTcpInitialSendBufferSize: 32 505 | switchTcpInitialReceiveBufferSize: 64 506 | switchTcpAutoSendBufferSizeMax: 256 507 | switchTcpAutoReceiveBufferSizeMax: 256 508 | switchUdpSendBufferSize: 9 509 | switchUdpReceiveBufferSize: 42 510 | switchSocketBufferEfficiency: 4 511 | switchSocketInitializeEnabled: 1 512 | switchNetworkInterfaceManagerInitializeEnabled: 1 513 | switchPlayerConnectionEnabled: 1 514 | switchUseNewStyleFilepaths: 0 515 | switchUseMicroSleepForYield: 1 516 | switchEnableRamDiskSupport: 0 517 | switchMicroSleepForYieldTime: 25 518 | switchRamDiskSpaceSize: 12 519 | ps4NPAgeRating: 12 520 | ps4NPTitleSecret: 521 | ps4NPTrophyPackPath: 522 | ps4ParentalLevel: 11 523 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 524 | ps4Category: 0 525 | ps4MasterVersion: 01.00 526 | ps4AppVersion: 01.00 527 | ps4AppType: 0 528 | ps4ParamSfxPath: 529 | ps4VideoOutPixelFormat: 0 530 | ps4VideoOutInitialWidth: 1920 531 | ps4VideoOutBaseModeInitialWidth: 1920 532 | ps4VideoOutReprojectionRate: 60 533 | ps4PronunciationXMLPath: 534 | ps4PronunciationSIGPath: 535 | ps4BackgroundImagePath: 536 | ps4StartupImagePath: 537 | ps4StartupImagesFolder: 538 | ps4IconImagesFolder: 539 | ps4SaveDataImagePath: 540 | ps4SdkOverride: 541 | ps4BGMPath: 542 | ps4ShareFilePath: 543 | ps4ShareOverlayImagePath: 544 | ps4PrivacyGuardImagePath: 545 | ps4ExtraSceSysFile: 546 | ps4NPtitleDatPath: 547 | ps4RemotePlayKeyAssignment: -1 548 | ps4RemotePlayKeyMappingDir: 549 | ps4PlayTogetherPlayerCount: 0 550 | ps4EnterButtonAssignment: 1 551 | ps4ApplicationParam1: 0 552 | ps4ApplicationParam2: 0 553 | ps4ApplicationParam3: 0 554 | ps4ApplicationParam4: 0 555 | ps4DownloadDataSize: 0 556 | ps4GarlicHeapSize: 2048 557 | ps4ProGarlicHeapSize: 2560 558 | playerPrefsMaxSize: 32768 559 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 560 | ps4pnSessions: 1 561 | ps4pnPresence: 1 562 | ps4pnFriends: 1 563 | ps4pnGameCustomData: 1 564 | playerPrefsSupport: 0 565 | enableApplicationExit: 0 566 | resetTempFolder: 1 567 | restrictedAudioUsageRights: 0 568 | ps4UseResolutionFallback: 0 569 | ps4ReprojectionSupport: 0 570 | ps4UseAudio3dBackend: 0 571 | ps4UseLowGarlicFragmentationMode: 1 572 | ps4SocialScreenEnabled: 0 573 | ps4ScriptOptimizationLevel: 0 574 | ps4Audio3dVirtualSpeakerCount: 14 575 | ps4attribCpuUsage: 0 576 | ps4PatchPkgPath: 577 | ps4PatchLatestPkgPath: 578 | ps4PatchChangeinfoPath: 579 | ps4PatchDayOne: 0 580 | ps4attribUserManagement: 0 581 | ps4attribMoveSupport: 0 582 | ps4attrib3DSupport: 0 583 | ps4attribShareSupport: 0 584 | ps4attribExclusiveVR: 0 585 | ps4disableAutoHideSplash: 0 586 | ps4videoRecordingFeaturesUsed: 0 587 | ps4contentSearchFeaturesUsed: 0 588 | ps4CompatibilityPS5: 0 589 | ps4AllowPS5Detection: 0 590 | ps4GPU800MHz: 1 591 | ps4attribEyeToEyeDistanceSettingVR: 0 592 | ps4IncludedModules: [] 593 | ps4attribVROutputEnabled: 0 594 | monoEnv: 595 | splashScreenBackgroundSourceLandscape: {fileID: 0} 596 | splashScreenBackgroundSourcePortrait: {fileID: 0} 597 | blurSplashScreenBackground: 1 598 | spritePackerPolicy: 599 | webGLMemorySize: 16 600 | webGLExceptionSupport: 1 601 | webGLNameFilesAsHashes: 0 602 | webGLDataCaching: 1 603 | webGLDebugSymbols: 0 604 | webGLEmscriptenArgs: 605 | webGLModulesDirectory: 606 | webGLTemplate: APPLICATION:Default 607 | webGLAnalyzeBuildSize: 0 608 | webGLUseEmbeddedResources: 0 609 | webGLCompressionFormat: 1 610 | webGLWasmArithmeticExceptions: 0 611 | webGLLinkerTarget: 1 612 | webGLThreadsSupport: 0 613 | webGLDecompressionFallback: 0 614 | scriptingDefineSymbols: {} 615 | additionalCompilerArguments: {} 616 | platformArchitecture: {} 617 | scriptingBackend: {} 618 | il2cppCompilerConfiguration: {} 619 | managedStrippingLevel: {} 620 | incrementalIl2cppBuild: {} 621 | suppressCommonWarnings: 1 622 | allowUnsafeCode: 0 623 | useDeterministicCompilation: 1 624 | enableRoslynAnalyzers: 1 625 | additionalIl2CppArgs: 626 | scriptingRuntimeVersion: 1 627 | gcIncremental: 1 628 | assemblyVersionValidation: 0 629 | gcWBarrierValidation: 0 630 | apiCompatibilityLevelPerPlatform: {} 631 | m_RenderingPath: 1 632 | m_MobileRenderingPath: 1 633 | metroPackageName: Template_3D 634 | metroPackageVersion: 635 | metroCertificatePath: 636 | metroCertificatePassword: 637 | metroCertificateSubject: 638 | metroCertificateIssuer: 639 | metroCertificateNotAfter: 0000000000000000 640 | metroApplicationDescription: Template_3D 641 | wsaImages: {} 642 | metroTileShortName: 643 | metroTileShowName: 0 644 | metroMediumTileShowName: 0 645 | metroLargeTileShowName: 0 646 | metroWideTileShowName: 0 647 | metroSupportStreamingInstall: 0 648 | metroLastRequiredScene: 0 649 | metroDefaultTileSize: 1 650 | metroTileForegroundText: 2 651 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 652 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} 653 | metroSplashScreenUseBackgroundColor: 0 654 | platformCapabilities: {} 655 | metroTargetDeviceFamilies: {} 656 | metroFTAName: 657 | metroFTAFileTypes: [] 658 | metroProtocolName: 659 | vcxProjDefaultLanguage: 660 | XboxOneProductId: 661 | XboxOneUpdateKey: 662 | XboxOneSandboxId: 663 | XboxOneContentId: 664 | XboxOneTitleId: 665 | XboxOneSCId: 666 | XboxOneGameOsOverridePath: 667 | XboxOnePackagingOverridePath: 668 | XboxOneAppManifestOverridePath: 669 | XboxOneVersion: 1.0.0.0 670 | XboxOnePackageEncryption: 0 671 | XboxOnePackageUpdateGranularity: 2 672 | XboxOneDescription: 673 | XboxOneLanguage: 674 | - enus 675 | XboxOneCapability: [] 676 | XboxOneGameRating: {} 677 | XboxOneIsContentPackage: 0 678 | XboxOneEnhancedXboxCompatibilityMode: 0 679 | XboxOneEnableGPUVariability: 1 680 | XboxOneSockets: {} 681 | XboxOneSplashScreen: {fileID: 0} 682 | XboxOneAllowedProductIds: [] 683 | XboxOnePersistentLocalStorageSize: 0 684 | XboxOneXTitleMemory: 8 685 | XboxOneOverrideIdentityName: 686 | XboxOneOverrideIdentityPublisher: 687 | vrEditorSettings: {} 688 | cloudServicesEnabled: 689 | UNet: 1 690 | luminIcon: 691 | m_Name: 692 | m_ModelFolderPath: 693 | m_PortalFolderPath: 694 | luminCert: 695 | m_CertPath: 696 | m_SignPackage: 1 697 | luminIsChannelApp: 0 698 | luminVersion: 699 | m_VersionCode: 1 700 | m_VersionName: 701 | apiCompatibilityLevel: 6 702 | activeInputHandler: 0 703 | cloudProjectId: 704 | framebufferDepthMemorylessMode: 0 705 | qualitySettingsNames: [] 706 | projectName: 707 | organizationId: 708 | cloudEnabled: 0 709 | legacyClampBlendShapeWeights: 0 710 | playerDataPath: 711 | forceSRGBBlit: 1 712 | virtualTexturingSupportEnabled: 0 713 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2021.3.8f1 2 | m_EditorVersionWithRevision: 2021.3.8f1 (b30333d56e81) 3 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 0 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | blendWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 1 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | blendWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | blendWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 0 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 70 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | blendWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 2 199 | antiAliasing: 2 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: 220 | Android: 2 221 | Lumin: 5 222 | Nintendo 3DS: 5 223 | Nintendo Switch: 5 224 | PS4: 5 225 | PSP2: 2 226 | Stadia: 5 227 | Standalone: 5 228 | WebGL: 3 229 | Windows Store Apps: 5 230 | XboxOne: 5 231 | iPhone: 2 232 | tvOS: 2 233 | -------------------------------------------------------------------------------- /ProjectSettings/SceneTemplateSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "templatePinStates": [], 3 | "dependencyTypeInfos": [ 4 | { 5 | "userAdded": false, 6 | "type": "UnityEngine.AnimationClip", 7 | "ignore": false, 8 | "defaultInstantiationMode": 0, 9 | "supportsModification": true 10 | }, 11 | { 12 | "userAdded": false, 13 | "type": "UnityEditor.Animations.AnimatorController", 14 | "ignore": false, 15 | "defaultInstantiationMode": 0, 16 | "supportsModification": true 17 | }, 18 | { 19 | "userAdded": false, 20 | "type": "UnityEngine.AnimatorOverrideController", 21 | "ignore": false, 22 | "defaultInstantiationMode": 0, 23 | "supportsModification": true 24 | }, 25 | { 26 | "userAdded": false, 27 | "type": "UnityEditor.Audio.AudioMixerController", 28 | "ignore": false, 29 | "defaultInstantiationMode": 0, 30 | "supportsModification": true 31 | }, 32 | { 33 | "userAdded": false, 34 | "type": "UnityEngine.ComputeShader", 35 | "ignore": true, 36 | "defaultInstantiationMode": 1, 37 | "supportsModification": true 38 | }, 39 | { 40 | "userAdded": false, 41 | "type": "UnityEngine.Cubemap", 42 | "ignore": false, 43 | "defaultInstantiationMode": 0, 44 | "supportsModification": true 45 | }, 46 | { 47 | "userAdded": false, 48 | "type": "UnityEngine.GameObject", 49 | "ignore": false, 50 | "defaultInstantiationMode": 0, 51 | "supportsModification": true 52 | }, 53 | { 54 | "userAdded": false, 55 | "type": "UnityEditor.LightingDataAsset", 56 | "ignore": false, 57 | "defaultInstantiationMode": 0, 58 | "supportsModification": false 59 | }, 60 | { 61 | "userAdded": false, 62 | "type": "UnityEngine.LightingSettings", 63 | "ignore": false, 64 | "defaultInstantiationMode": 0, 65 | "supportsModification": true 66 | }, 67 | { 68 | "userAdded": false, 69 | "type": "UnityEngine.Material", 70 | "ignore": false, 71 | "defaultInstantiationMode": 0, 72 | "supportsModification": true 73 | }, 74 | { 75 | "userAdded": false, 76 | "type": "UnityEditor.MonoScript", 77 | "ignore": true, 78 | "defaultInstantiationMode": 1, 79 | "supportsModification": true 80 | }, 81 | { 82 | "userAdded": false, 83 | "type": "UnityEngine.PhysicMaterial", 84 | "ignore": false, 85 | "defaultInstantiationMode": 0, 86 | "supportsModification": true 87 | }, 88 | { 89 | "userAdded": false, 90 | "type": "UnityEngine.PhysicsMaterial2D", 91 | "ignore": false, 92 | "defaultInstantiationMode": 0, 93 | "supportsModification": true 94 | }, 95 | { 96 | "userAdded": false, 97 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile", 98 | "ignore": false, 99 | "defaultInstantiationMode": 0, 100 | "supportsModification": true 101 | }, 102 | { 103 | "userAdded": false, 104 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessResources", 105 | "ignore": false, 106 | "defaultInstantiationMode": 0, 107 | "supportsModification": true 108 | }, 109 | { 110 | "userAdded": false, 111 | "type": "UnityEngine.Rendering.VolumeProfile", 112 | "ignore": false, 113 | "defaultInstantiationMode": 0, 114 | "supportsModification": true 115 | }, 116 | { 117 | "userAdded": false, 118 | "type": "UnityEditor.SceneAsset", 119 | "ignore": false, 120 | "defaultInstantiationMode": 0, 121 | "supportsModification": false 122 | }, 123 | { 124 | "userAdded": false, 125 | "type": "UnityEngine.Shader", 126 | "ignore": true, 127 | "defaultInstantiationMode": 1, 128 | "supportsModification": true 129 | }, 130 | { 131 | "userAdded": false, 132 | "type": "UnityEngine.ShaderVariantCollection", 133 | "ignore": true, 134 | "defaultInstantiationMode": 1, 135 | "supportsModification": true 136 | }, 137 | { 138 | "userAdded": false, 139 | "type": "UnityEngine.Texture", 140 | "ignore": false, 141 | "defaultInstantiationMode": 0, 142 | "supportsModification": true 143 | }, 144 | { 145 | "userAdded": false, 146 | "type": "UnityEngine.Texture2D", 147 | "ignore": false, 148 | "defaultInstantiationMode": 0, 149 | "supportsModification": true 150 | }, 151 | { 152 | "userAdded": false, 153 | "type": "UnityEngine.Timeline.TimelineAsset", 154 | "ignore": false, 155 | "defaultInstantiationMode": 0, 156 | "supportsModification": true 157 | } 158 | ], 159 | "defaultDependencyTypeInfo": { 160 | "userAdded": false, 161 | "type": "", 162 | "ignore": false, 163 | "defaultInstantiationMode": 1, 164 | "supportsModification": true 165 | }, 166 | "newSceneOverride": 0 167 | } -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_DashboardUrl: https://dashboard.unity3d.com 13 | m_TestInitMode: 0 14 | CrashReportingSettings: 15 | m_EventUrl: https://perf-events.cloud.unity3d.com 16 | m_Enabled: 0 17 | m_LogBufferSize: 10 18 | m_CaptureEditorExceptions: 1 19 | UnityPurchasingSettings: 20 | m_Enabled: 0 21 | m_TestMode: 0 22 | UnityAnalyticsSettings: 23 | m_Enabled: 0 24 | m_TestMode: 0 25 | m_InitializeOnStartup: 1 26 | UnityAdsSettings: 27 | m_Enabled: 0 28 | m_InitializeOnStartup: 1 29 | m_TestMode: 0 30 | m_IosGameId: 31 | m_AndroidGameId: 32 | m_GameIds: {} 33 | m_GameId: 34 | PerformanceReportingSettings: 35 | m_Enabled: 0 36 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /ProjectSettings/boot.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MystenLabs/Sui-Unity/69422a5ba54cf54bf1d36bfae44627d58d42ef97/ProjectSettings/boot.config -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Sui-Unity 2 | Unity project for developing Sui's in-progress Unity SDK. 3 | 4 | ## Dependencies 5 | 6 | [`SuiDotNet.Client`](https://github.com/stella3d/SuiDotNet) must be built for the `netstandard2.1` .NET target. 7 | 8 | This should produce 4 .DLL files to copy into in `/Assets/Plugins/`: 9 | 10 | * `SuiDotNet.Client` 11 | * `Nethereum.JsonRpc.Client` 12 | * `Nethereum.JsonRpc.RpcClient` 13 | * `Common.Logging.Core` 14 | 15 | When `SuiDotNet.Client` is changed, the copies in the Unity project must be updated. 16 | 17 | ## Basic Testing 18 | Open the `BasicRpcTest` scene. 19 | 20 | On the "RPC Tests" object, there are a few sub-objects which contain very basic read method test scripts, categorized by data type. 21 | 22 | Run the scene with the tests you want enabled to make requests and see results in the debug console. 23 | 24 | The default values for transaction digests, objects, addresses etc. in the tests will likely **_not produce anything on your network_** - they must be changed to known values from your Sui instance. 25 | 26 | image 27 | 28 | 29 | --------------------------------------------------------------------------------