├── .gitignore ├── Assets └── .gitkeep ├── LICENSE ├── Packages ├── com.ruccho.serializable-readonly-struct │ ├── CodeGen.meta │ ├── CodeGen │ │ ├── AssemblyResolver.cs │ │ ├── AssemblyResolver.cs.meta │ │ ├── Processor.cs │ │ ├── Processor.cs.meta │ │ ├── Unity.SerializableReadonlyStruct.CodeGen.asmdef │ │ └── Unity.SerializableReadonlyStruct.CodeGen.asmdef.meta │ ├── Runtime.meta │ ├── Runtime │ │ ├── SerializableReadonlyAttribute.cs │ │ ├── SerializableReadonlyAttribute.cs.meta │ │ ├── SerializableReadonlyStruct.asmdef │ │ └── SerializableReadonlyStruct.asmdef.meta │ ├── package.json │ └── package.json.meta ├── manifest.json └── packages-lock.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── MemorySettings.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── PackageManagerSettings.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset ├── VersionControlSettings.asset └── XRSettings.asset └── README.md /.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 | /.idea -------------------------------------------------------------------------------- /Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruccho/SerializableReadonlyStruct/ab900d5114b2b385998aa067941be17b0620e4b7/Assets/.gitkeep -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Noboru Seto 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/CodeGen.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7118e9b1fd1ae146bac622b16eb3ebc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/CodeGen/AssemblyResolver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Mono.Cecil; 5 | 6 | namespace SerializableReadonlyStruct 7 | { 8 | internal class AssemblyResolver : BaseAssemblyResolver 9 | { 10 | private readonly Dictionary cache = new(); 11 | 12 | public AssemblyResolver() 13 | { 14 | foreach (var dir in GetSearchDirectories()) RemoveSearchDirectory(dir); 15 | } 16 | 17 | public override AssemblyDefinition Resolve(AssemblyNameReference name) 18 | { 19 | if (cache.TryGetValue(name.FullName, out var definition)) return definition; 20 | 21 | var readerParameters = new ReaderParameters 22 | { 23 | InMemory = true, 24 | AssemblyResolver = this, 25 | ReadSymbols = false 26 | }; 27 | readerParameters.ReadingMode = ReadingMode.Deferred; 28 | AssemblyDefinition assemblyDefinition; 29 | 30 | try 31 | { 32 | assemblyDefinition = Resolve(name, readerParameters); 33 | } 34 | catch (Exception) 35 | { 36 | if (readerParameters.ReadSymbols) 37 | { 38 | readerParameters.ReadSymbols = false; 39 | assemblyDefinition = Resolve(name, readerParameters); 40 | } 41 | else 42 | { 43 | throw new AssemblyResolutionException(name); 44 | } 45 | } 46 | 47 | cache.Add(name.FullName, assemblyDefinition); 48 | return assemblyDefinition; 49 | } 50 | 51 | public new void AddSearchDirectory(string directory) 52 | { 53 | if (!GetSearchDirectories().Contains(directory)) base.AddSearchDirectory(directory); 54 | } 55 | } 56 | } -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/CodeGen/AssemblyResolver.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d03c4b8ddb134b8dac999cfa09610c30 3 | timeCreated: 1727086436 -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/CodeGen/Processor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using Mono.Cecil; 6 | using Mono.Cecil.Cil; 7 | using Unity.CompilationPipeline.Common.ILPostProcessing; 8 | 9 | namespace SerializableReadonlyStruct 10 | { 11 | internal class Processor : ILPostProcessor 12 | { 13 | public override ILPostProcessor GetInstance() 14 | { 15 | return this; 16 | } 17 | 18 | public override bool WillProcess(ICompiledAssembly compiledAssembly) 19 | { 20 | return compiledAssembly.References.Any(r => 21 | Path.GetFileNameWithoutExtension(r) == "SerializableReadonlyStruct"); 22 | } 23 | 24 | public override ILPostProcessResult Process(ICompiledAssembly compiledAssembly) 25 | { 26 | if (!WillProcess(compiledAssembly)) return new ILPostProcessResult(null); 27 | 28 | var loader = new AssemblyResolver(); 29 | 30 | var folders = new HashSet(); 31 | foreach (var reference in compiledAssembly.References) 32 | folders.Add(Path.Combine(Environment.CurrentDirectory, Path.GetDirectoryName(reference))); 33 | 34 | var folderList = folders.OrderBy(x => x); 35 | foreach (var folder in folderList) loader.AddSearchDirectory(folder); 36 | 37 | var readerParameters = new ReaderParameters 38 | { 39 | InMemory = true, 40 | AssemblyResolver = loader, 41 | ReadSymbols = true, 42 | ReadingMode = ReadingMode.Deferred 43 | }; 44 | 45 | readerParameters.SymbolStream = new MemoryStream(compiledAssembly.InMemoryAssembly.PdbData); 46 | 47 | var assembly = AssemblyDefinition.ReadAssembly(new MemoryStream(compiledAssembly.InMemoryAssembly.PeData), 48 | readerParameters); 49 | 50 | ProcessAssembly(assembly); 51 | 52 | byte[] peData; 53 | byte[] pdbData; 54 | { 55 | var peStream = new MemoryStream(); 56 | var pdbStream = new MemoryStream(); 57 | var writeParameters = new WriterParameters 58 | { 59 | SymbolWriterProvider = new PortablePdbWriterProvider(), 60 | WriteSymbols = true, 61 | SymbolStream = pdbStream 62 | }; 63 | 64 | assembly.Write(peStream, writeParameters); 65 | peStream.Flush(); 66 | pdbStream.Flush(); 67 | 68 | peData = peStream.ToArray(); 69 | pdbData = pdbStream.ToArray(); 70 | } 71 | 72 | return new ILPostProcessResult(new InMemoryAssembly(peData, pdbData)); 73 | } 74 | 75 | private void ProcessAssembly(AssemblyDefinition assembly) 76 | { 77 | foreach (var module in assembly.Modules) 78 | foreach (var type in module.GetTypes()) 79 | ProcessType(type); 80 | } 81 | 82 | private void ProcessType(TypeDefinition type) 83 | { 84 | if (!type.IsValueType) return; 85 | if (!type.IsSerializable) return; 86 | var customAttributes = type.CustomAttributes; 87 | if (customAttributes.All(attr => 88 | attr.AttributeType.FullName != "SerializableReadonlyStruct.SerializableReadonlyAttribute")) return; 89 | 90 | for (var i = 0; i < customAttributes.Count; i++) 91 | { 92 | var attr = customAttributes[i]; 93 | if (attr.AttributeType.FullName == "System.Runtime.CompilerServices.IsReadOnlyAttribute") 94 | { 95 | customAttributes.RemoveAt(i); 96 | i--; 97 | } 98 | } 99 | 100 | foreach (var field in type.Fields) 101 | if (field.IsInitOnly) 102 | field.IsInitOnly = false; 103 | } 104 | } 105 | } -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/CodeGen/Processor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6023274b4b3e9e4eac616f7365adafb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/CodeGen/Unity.SerializableReadonlyStruct.CodeGen.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Unity.SerializableReadonlyStruct.CodeGen", 3 | "rootNamespace": "SerializableReadonlyStruct", 4 | "references": [], 5 | "includePlatforms": [ 6 | "Editor" 7 | ], 8 | "excludePlatforms": [], 9 | "allowUnsafeCode": false, 10 | "overrideReferences": true, 11 | "precompiledReferences": [ 12 | "Mono.Cecil.dll", 13 | "Mono.Cecil.Mdb.dll", 14 | "Mono.Cecil.Pdb.dll", 15 | "Mono.Cecil.Rocks.dll" 16 | ], 17 | "autoReferenced": false, 18 | "defineConstraints": [], 19 | "versionDefines": [], 20 | "noEngineReferences": true 21 | } -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/CodeGen/Unity.SerializableReadonlyStruct.CodeGen.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5cc3ed65144ec624bacef578c054f61a 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/Runtime.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 864853fbfea24a54eb864da3c719e418 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/Runtime/SerializableReadonlyAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace SerializableReadonlyStruct 4 | { 5 | [AttributeUsage(AttributeTargets.Struct)] 6 | public class SerializableReadonlyAttribute : Attribute 7 | { 8 | } 9 | } -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/Runtime/SerializableReadonlyAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ca72e332943c934a9952b96f73e63ff 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/Runtime/SerializableReadonlyStruct.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SerializableReadonlyStruct" 3 | } 4 | -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/Runtime/SerializableReadonlyStruct.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8e4a84e10e31794b8cfe2c540a40ecb 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.ruccho.serializable-readonly-struct", 3 | "version": "0.1.0", 4 | "displayName": "Serializable Readonly Struct", 5 | "description": "An IL Post-processor to make \"readonly\" structs serializable.", 6 | "unity": "2022.3", 7 | "dependencies": { 8 | "com.unity.nuget.mono-cecil": "1.11.4" 9 | }, 10 | "author": { 11 | "name": "ruccho", 12 | "url": "https://ruccho.com" 13 | } 14 | } -------------------------------------------------------------------------------- /Packages/com.ruccho.serializable-readonly-struct/package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59acea4294abf3a459473794cd20ad1b 3 | PackageManifestImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": "2.5.1", 4 | "com.unity.feature.2d": "2.0.0", 5 | "com.unity.ide.rider": "3.0.27", 6 | "com.unity.ide.visualstudio": "2.0.22", 7 | "com.unity.test-framework": "1.1.33", 8 | "com.unity.textmeshpro": "3.0.6", 9 | "com.unity.timeline": "1.7.6", 10 | "com.unity.ugui": "1.0.0", 11 | "com.unity.visualscripting": "1.9.1", 12 | "com.unity.modules.ai": "1.0.0", 13 | "com.unity.modules.androidjni": "1.0.0", 14 | "com.unity.modules.animation": "1.0.0", 15 | "com.unity.modules.assetbundle": "1.0.0", 16 | "com.unity.modules.audio": "1.0.0", 17 | "com.unity.modules.cloth": "1.0.0", 18 | "com.unity.modules.director": "1.0.0", 19 | "com.unity.modules.imageconversion": "1.0.0", 20 | "com.unity.modules.imgui": "1.0.0", 21 | "com.unity.modules.jsonserialize": "1.0.0", 22 | "com.unity.modules.particlesystem": "1.0.0", 23 | "com.unity.modules.physics": "1.0.0", 24 | "com.unity.modules.physics2d": "1.0.0", 25 | "com.unity.modules.screencapture": "1.0.0", 26 | "com.unity.modules.terrain": "1.0.0", 27 | "com.unity.modules.terrainphysics": "1.0.0", 28 | "com.unity.modules.tilemap": "1.0.0", 29 | "com.unity.modules.ui": "1.0.0", 30 | "com.unity.modules.uielements": "1.0.0", 31 | "com.unity.modules.umbra": "1.0.0", 32 | "com.unity.modules.unityanalytics": "1.0.0", 33 | "com.unity.modules.unitywebrequest": "1.0.0", 34 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 35 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 36 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 37 | "com.unity.modules.unitywebrequestwww": "1.0.0", 38 | "com.unity.modules.vehicles": "1.0.0", 39 | "com.unity.modules.video": "1.0.0", 40 | "com.unity.modules.vr": "1.0.0", 41 | "com.unity.modules.wind": "1.0.0", 42 | "com.unity.modules.xr": "1.0.0" 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.ruccho.serializable-readonly-struct": { 4 | "version": "file:com.ruccho.serializable-readonly-struct", 5 | "depth": 0, 6 | "source": "embedded", 7 | "dependencies": { 8 | "com.unity.nuget.mono-cecil": "1.11.4" 9 | } 10 | }, 11 | "com.unity.2d.animation": { 12 | "version": "9.0.4", 13 | "depth": 1, 14 | "source": "registry", 15 | "dependencies": { 16 | "com.unity.2d.common": "8.0.1", 17 | "com.unity.2d.sprite": "1.0.0", 18 | "com.unity.collections": "1.1.0", 19 | "com.unity.modules.animation": "1.0.0", 20 | "com.unity.modules.uielements": "1.0.0" 21 | }, 22 | "url": "https://packages.unity.com" 23 | }, 24 | "com.unity.2d.aseprite": { 25 | "version": "1.1.0", 26 | "depth": 1, 27 | "source": "registry", 28 | "dependencies": { 29 | "com.unity.2d.common": "6.0.6", 30 | "com.unity.2d.sprite": "1.0.0", 31 | "com.unity.mathematics": "1.2.6", 32 | "com.unity.modules.animation": "1.0.0" 33 | }, 34 | "url": "https://packages.unity.com" 35 | }, 36 | "com.unity.2d.common": { 37 | "version": "8.0.2", 38 | "depth": 2, 39 | "source": "registry", 40 | "dependencies": { 41 | "com.unity.burst": "1.7.3", 42 | "com.unity.2d.sprite": "1.0.0", 43 | "com.unity.mathematics": "1.1.0", 44 | "com.unity.modules.animation": "1.0.0", 45 | "com.unity.modules.uielements": "1.0.0" 46 | }, 47 | "url": "https://packages.unity.com" 48 | }, 49 | "com.unity.2d.pixel-perfect": { 50 | "version": "5.0.3", 51 | "depth": 1, 52 | "source": "registry", 53 | "dependencies": {}, 54 | "url": "https://packages.unity.com" 55 | }, 56 | "com.unity.2d.psdimporter": { 57 | "version": "8.0.3", 58 | "depth": 1, 59 | "source": "registry", 60 | "dependencies": { 61 | "com.unity.2d.common": "8.0.2", 62 | "com.unity.2d.sprite": "1.0.0", 63 | "com.unity.2d.animation": "9.0.4" 64 | }, 65 | "url": "https://packages.unity.com" 66 | }, 67 | "com.unity.2d.sprite": { 68 | "version": "1.0.0", 69 | "depth": 1, 70 | "source": "builtin", 71 | "dependencies": {} 72 | }, 73 | "com.unity.2d.spriteshape": { 74 | "version": "9.0.2", 75 | "depth": 1, 76 | "source": "registry", 77 | "dependencies": { 78 | "com.unity.2d.common": "8.0.1", 79 | "com.unity.mathematics": "1.1.0", 80 | "com.unity.modules.physics2d": "1.0.0" 81 | }, 82 | "url": "https://packages.unity.com" 83 | }, 84 | "com.unity.2d.tilemap": { 85 | "version": "1.0.0", 86 | "depth": 1, 87 | "source": "builtin", 88 | "dependencies": { 89 | "com.unity.modules.tilemap": "1.0.0", 90 | "com.unity.modules.uielements": "1.0.0" 91 | } 92 | }, 93 | "com.unity.2d.tilemap.extras": { 94 | "version": "3.1.2", 95 | "depth": 1, 96 | "source": "registry", 97 | "dependencies": { 98 | "com.unity.ugui": "1.0.0", 99 | "com.unity.2d.tilemap": "1.0.0", 100 | "com.unity.modules.tilemap": "1.0.0", 101 | "com.unity.modules.jsonserialize": "1.0.0" 102 | }, 103 | "url": "https://packages.unity.com" 104 | }, 105 | "com.unity.burst": { 106 | "version": "1.8.12", 107 | "depth": 3, 108 | "source": "registry", 109 | "dependencies": { 110 | "com.unity.mathematics": "1.2.1", 111 | "com.unity.modules.jsonserialize": "1.0.0" 112 | }, 113 | "url": "https://packages.unity.com" 114 | }, 115 | "com.unity.collab-proxy": { 116 | "version": "2.5.1", 117 | "depth": 0, 118 | "source": "registry", 119 | "dependencies": {}, 120 | "url": "https://packages.unity.com" 121 | }, 122 | "com.unity.collections": { 123 | "version": "1.2.4", 124 | "depth": 2, 125 | "source": "registry", 126 | "dependencies": { 127 | "com.unity.burst": "1.6.6", 128 | "com.unity.test-framework": "1.1.31" 129 | }, 130 | "url": "https://packages.unity.com" 131 | }, 132 | "com.unity.ext.nunit": { 133 | "version": "1.0.6", 134 | "depth": 1, 135 | "source": "registry", 136 | "dependencies": {}, 137 | "url": "https://packages.unity.com" 138 | }, 139 | "com.unity.feature.2d": { 140 | "version": "2.0.0", 141 | "depth": 0, 142 | "source": "builtin", 143 | "dependencies": { 144 | "com.unity.2d.animation": "9.0.4", 145 | "com.unity.2d.pixel-perfect": "5.0.3", 146 | "com.unity.2d.psdimporter": "8.0.3", 147 | "com.unity.2d.sprite": "1.0.0", 148 | "com.unity.2d.spriteshape": "9.0.2", 149 | "com.unity.2d.tilemap": "1.0.0", 150 | "com.unity.2d.tilemap.extras": "3.1.2", 151 | "com.unity.2d.aseprite": "1.1.0" 152 | } 153 | }, 154 | "com.unity.ide.rider": { 155 | "version": "3.0.27", 156 | "depth": 0, 157 | "source": "registry", 158 | "dependencies": { 159 | "com.unity.ext.nunit": "1.0.6" 160 | }, 161 | "url": "https://packages.unity.com" 162 | }, 163 | "com.unity.ide.visualstudio": { 164 | "version": "2.0.22", 165 | "depth": 0, 166 | "source": "registry", 167 | "dependencies": { 168 | "com.unity.test-framework": "1.1.9" 169 | }, 170 | "url": "https://packages.unity.com" 171 | }, 172 | "com.unity.mathematics": { 173 | "version": "1.2.6", 174 | "depth": 2, 175 | "source": "registry", 176 | "dependencies": {}, 177 | "url": "https://packages.unity.com" 178 | }, 179 | "com.unity.nuget.mono-cecil": { 180 | "version": "1.11.4", 181 | "depth": 1, 182 | "source": "registry", 183 | "dependencies": {}, 184 | "url": "https://packages.unity.com" 185 | }, 186 | "com.unity.test-framework": { 187 | "version": "1.1.33", 188 | "depth": 0, 189 | "source": "registry", 190 | "dependencies": { 191 | "com.unity.ext.nunit": "1.0.6", 192 | "com.unity.modules.imgui": "1.0.0", 193 | "com.unity.modules.jsonserialize": "1.0.0" 194 | }, 195 | "url": "https://packages.unity.com" 196 | }, 197 | "com.unity.textmeshpro": { 198 | "version": "3.0.6", 199 | "depth": 0, 200 | "source": "registry", 201 | "dependencies": { 202 | "com.unity.ugui": "1.0.0" 203 | }, 204 | "url": "https://packages.unity.com" 205 | }, 206 | "com.unity.timeline": { 207 | "version": "1.7.6", 208 | "depth": 0, 209 | "source": "registry", 210 | "dependencies": { 211 | "com.unity.modules.audio": "1.0.0", 212 | "com.unity.modules.director": "1.0.0", 213 | "com.unity.modules.animation": "1.0.0", 214 | "com.unity.modules.particlesystem": "1.0.0" 215 | }, 216 | "url": "https://packages.unity.com" 217 | }, 218 | "com.unity.ugui": { 219 | "version": "1.0.0", 220 | "depth": 0, 221 | "source": "builtin", 222 | "dependencies": { 223 | "com.unity.modules.ui": "1.0.0", 224 | "com.unity.modules.imgui": "1.0.0" 225 | } 226 | }, 227 | "com.unity.visualscripting": { 228 | "version": "1.9.1", 229 | "depth": 0, 230 | "source": "registry", 231 | "dependencies": { 232 | "com.unity.ugui": "1.0.0", 233 | "com.unity.modules.jsonserialize": "1.0.0" 234 | }, 235 | "url": "https://packages.unity.com" 236 | }, 237 | "com.unity.modules.ai": { 238 | "version": "1.0.0", 239 | "depth": 0, 240 | "source": "builtin", 241 | "dependencies": {} 242 | }, 243 | "com.unity.modules.androidjni": { 244 | "version": "1.0.0", 245 | "depth": 0, 246 | "source": "builtin", 247 | "dependencies": {} 248 | }, 249 | "com.unity.modules.animation": { 250 | "version": "1.0.0", 251 | "depth": 0, 252 | "source": "builtin", 253 | "dependencies": {} 254 | }, 255 | "com.unity.modules.assetbundle": { 256 | "version": "1.0.0", 257 | "depth": 0, 258 | "source": "builtin", 259 | "dependencies": {} 260 | }, 261 | "com.unity.modules.audio": { 262 | "version": "1.0.0", 263 | "depth": 0, 264 | "source": "builtin", 265 | "dependencies": {} 266 | }, 267 | "com.unity.modules.cloth": { 268 | "version": "1.0.0", 269 | "depth": 0, 270 | "source": "builtin", 271 | "dependencies": { 272 | "com.unity.modules.physics": "1.0.0" 273 | } 274 | }, 275 | "com.unity.modules.director": { 276 | "version": "1.0.0", 277 | "depth": 0, 278 | "source": "builtin", 279 | "dependencies": { 280 | "com.unity.modules.audio": "1.0.0", 281 | "com.unity.modules.animation": "1.0.0" 282 | } 283 | }, 284 | "com.unity.modules.imageconversion": { 285 | "version": "1.0.0", 286 | "depth": 0, 287 | "source": "builtin", 288 | "dependencies": {} 289 | }, 290 | "com.unity.modules.imgui": { 291 | "version": "1.0.0", 292 | "depth": 0, 293 | "source": "builtin", 294 | "dependencies": {} 295 | }, 296 | "com.unity.modules.jsonserialize": { 297 | "version": "1.0.0", 298 | "depth": 0, 299 | "source": "builtin", 300 | "dependencies": {} 301 | }, 302 | "com.unity.modules.particlesystem": { 303 | "version": "1.0.0", 304 | "depth": 0, 305 | "source": "builtin", 306 | "dependencies": {} 307 | }, 308 | "com.unity.modules.physics": { 309 | "version": "1.0.0", 310 | "depth": 0, 311 | "source": "builtin", 312 | "dependencies": {} 313 | }, 314 | "com.unity.modules.physics2d": { 315 | "version": "1.0.0", 316 | "depth": 0, 317 | "source": "builtin", 318 | "dependencies": {} 319 | }, 320 | "com.unity.modules.screencapture": { 321 | "version": "1.0.0", 322 | "depth": 0, 323 | "source": "builtin", 324 | "dependencies": { 325 | "com.unity.modules.imageconversion": "1.0.0" 326 | } 327 | }, 328 | "com.unity.modules.subsystems": { 329 | "version": "1.0.0", 330 | "depth": 1, 331 | "source": "builtin", 332 | "dependencies": { 333 | "com.unity.modules.jsonserialize": "1.0.0" 334 | } 335 | }, 336 | "com.unity.modules.terrain": { 337 | "version": "1.0.0", 338 | "depth": 0, 339 | "source": "builtin", 340 | "dependencies": {} 341 | }, 342 | "com.unity.modules.terrainphysics": { 343 | "version": "1.0.0", 344 | "depth": 0, 345 | "source": "builtin", 346 | "dependencies": { 347 | "com.unity.modules.physics": "1.0.0", 348 | "com.unity.modules.terrain": "1.0.0" 349 | } 350 | }, 351 | "com.unity.modules.tilemap": { 352 | "version": "1.0.0", 353 | "depth": 0, 354 | "source": "builtin", 355 | "dependencies": { 356 | "com.unity.modules.physics2d": "1.0.0" 357 | } 358 | }, 359 | "com.unity.modules.ui": { 360 | "version": "1.0.0", 361 | "depth": 0, 362 | "source": "builtin", 363 | "dependencies": {} 364 | }, 365 | "com.unity.modules.uielements": { 366 | "version": "1.0.0", 367 | "depth": 0, 368 | "source": "builtin", 369 | "dependencies": { 370 | "com.unity.modules.ui": "1.0.0", 371 | "com.unity.modules.imgui": "1.0.0", 372 | "com.unity.modules.jsonserialize": "1.0.0" 373 | } 374 | }, 375 | "com.unity.modules.umbra": { 376 | "version": "1.0.0", 377 | "depth": 0, 378 | "source": "builtin", 379 | "dependencies": {} 380 | }, 381 | "com.unity.modules.unityanalytics": { 382 | "version": "1.0.0", 383 | "depth": 0, 384 | "source": "builtin", 385 | "dependencies": { 386 | "com.unity.modules.unitywebrequest": "1.0.0", 387 | "com.unity.modules.jsonserialize": "1.0.0" 388 | } 389 | }, 390 | "com.unity.modules.unitywebrequest": { 391 | "version": "1.0.0", 392 | "depth": 0, 393 | "source": "builtin", 394 | "dependencies": {} 395 | }, 396 | "com.unity.modules.unitywebrequestassetbundle": { 397 | "version": "1.0.0", 398 | "depth": 0, 399 | "source": "builtin", 400 | "dependencies": { 401 | "com.unity.modules.assetbundle": "1.0.0", 402 | "com.unity.modules.unitywebrequest": "1.0.0" 403 | } 404 | }, 405 | "com.unity.modules.unitywebrequestaudio": { 406 | "version": "1.0.0", 407 | "depth": 0, 408 | "source": "builtin", 409 | "dependencies": { 410 | "com.unity.modules.unitywebrequest": "1.0.0", 411 | "com.unity.modules.audio": "1.0.0" 412 | } 413 | }, 414 | "com.unity.modules.unitywebrequesttexture": { 415 | "version": "1.0.0", 416 | "depth": 0, 417 | "source": "builtin", 418 | "dependencies": { 419 | "com.unity.modules.unitywebrequest": "1.0.0", 420 | "com.unity.modules.imageconversion": "1.0.0" 421 | } 422 | }, 423 | "com.unity.modules.unitywebrequestwww": { 424 | "version": "1.0.0", 425 | "depth": 0, 426 | "source": "builtin", 427 | "dependencies": { 428 | "com.unity.modules.unitywebrequest": "1.0.0", 429 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 430 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 431 | "com.unity.modules.audio": "1.0.0", 432 | "com.unity.modules.assetbundle": "1.0.0", 433 | "com.unity.modules.imageconversion": "1.0.0" 434 | } 435 | }, 436 | "com.unity.modules.vehicles": { 437 | "version": "1.0.0", 438 | "depth": 0, 439 | "source": "builtin", 440 | "dependencies": { 441 | "com.unity.modules.physics": "1.0.0" 442 | } 443 | }, 444 | "com.unity.modules.video": { 445 | "version": "1.0.0", 446 | "depth": 0, 447 | "source": "builtin", 448 | "dependencies": { 449 | "com.unity.modules.audio": "1.0.0", 450 | "com.unity.modules.ui": "1.0.0", 451 | "com.unity.modules.unitywebrequest": "1.0.0" 452 | } 453 | }, 454 | "com.unity.modules.vr": { 455 | "version": "1.0.0", 456 | "depth": 0, 457 | "source": "builtin", 458 | "dependencies": { 459 | "com.unity.modules.jsonserialize": "1.0.0", 460 | "com.unity.modules.physics": "1.0.0", 461 | "com.unity.modules.xr": "1.0.0" 462 | } 463 | }, 464 | "com.unity.modules.wind": { 465 | "version": "1.0.0", 466 | "depth": 0, 467 | "source": "builtin", 468 | "dependencies": {} 469 | }, 470 | "com.unity.modules.xr": { 471 | "version": "1.0.0", 472 | "depth": 0, 473 | "source": "builtin", 474 | "dependencies": { 475 | "com.unity.modules.physics": "1.0.0", 476 | "com.unity.modules.jsonserialize": "1.0.0", 477 | "com.unity.modules.subsystems": "1.0.0" 478 | } 479 | } 480 | } 481 | } 482 | -------------------------------------------------------------------------------- /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: 0 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: 13 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_DefaultMaxDepenetrationVelocity: 10 11 | m_SleepThreshold: 0.005 12 | m_DefaultContactOffset: 0.01 13 | m_DefaultSolverIterations: 6 14 | m_DefaultSolverVelocityIterations: 1 15 | m_QueriesHitBackfaces: 0 16 | m_QueriesHitTriggers: 1 17 | m_EnableAdaptiveForce: 0 18 | m_ClothInterCollisionDistance: 0.1 19 | m_ClothInterCollisionStiffness: 0.2 20 | m_ContactsGeneration: 1 21 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 22 | m_AutoSimulation: 1 23 | m_AutoSyncTransforms: 0 24 | m_ReuseCollisionCallbacks: 1 25 | m_ClothInterCollisionSettingsToggle: 0 26 | m_ClothGravity: {x: 0, y: -9.81, z: 0} 27 | m_ContactPairsMode: 0 28 | m_BroadphaseType: 0 29 | m_WorldBounds: 30 | m_Center: {x: 0, y: 0, z: 0} 31 | m_Extent: {x: 250, y: 250, z: 250} 32 | m_WorldSubdivisions: 8 33 | m_FrictionType: 0 34 | m_EnableEnhancedDeterminism: 0 35 | m_EnableUnifiedHeightmaps: 1 36 | m_SolverType: 0 37 | m_DefaultMaxAngularSpeed: 50 38 | -------------------------------------------------------------------------------- /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 | - enabled: 1 9 | path: Assets/Scenes/SampleScene.unity 10 | guid: 2cda990e2423bbf4892e6590ba056729 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /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_SerializationMode: 2 8 | m_LineEndingsForNewScripts: 0 9 | m_DefaultBehaviorMode: 1 10 | m_PrefabRegularEnvironment: {fileID: 0} 11 | m_PrefabUIEnvironment: {fileID: 0} 12 | m_SpritePackerMode: 5 13 | m_SpritePackerPaddingPower: 1 14 | m_EtcTextureCompressorBehavior: 1 15 | m_EtcTextureFastCompressor: 1 16 | m_EtcTextureNormalCompressor: 2 17 | m_EtcTextureBestCompressor: 4 18 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;asmref;rsp 19 | m_ProjectGenerationRootNamespace: 20 | m_EnableTextureStreamingInEditMode: 1 21 | m_EnableTextureStreamingInPlayMode: 1 22 | m_AsyncShaderCompilation: 1 23 | m_CachingShaderPreprocessor: 1 24 | m_PrefabModeAllowAutoSave: 1 25 | m_EnterPlayModeOptionsEnabled: 0 26 | m_EnterPlayModeOptions: 3 27 | m_GameObjectNamingDigits: 1 28 | m_GameObjectNamingScheme: 0 29 | m_AssetNamingUsesSpace: 1 30 | m_UseLegacyProbeSampleCount: 0 31 | m_SerializeInlineMappingsOnOneLine: 1 32 | m_DisableCookiesInLightmapper: 1 33 | m_AssetPipelineMode: 1 34 | m_CacheServerMode: 0 35 | m_CacheServerEndpoint: 36 | m_CacheServerNamespacePrefix: default 37 | m_CacheServerEnableDownload: 1 38 | m_CacheServerEnableUpload: 1 39 | m_CacheServerEnableAuth: 0 40 | m_CacheServerEnableTls: 0 41 | -------------------------------------------------------------------------------- /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_VideoShadersIncludeMode: 2 32 | m_AlwaysIncludedShaders: 33 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 39 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} 40 | m_PreloadedShaders: [] 41 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} 42 | m_CustomRenderPipeline: {fileID: 0} 43 | m_TransparencySortMode: 0 44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 45 | m_DefaultRenderingPath: 1 46 | m_DefaultMobileRenderingPath: 1 47 | m_TierSettings: [] 48 | m_LightmapStripping: 0 49 | m_FogStripping: 0 50 | m_InstancingStripping: 0 51 | m_LightmapKeepPlain: 1 52 | m_LightmapKeepDirCombined: 1 53 | m_LightmapKeepDynamicPlain: 1 54 | m_LightmapKeepDynamicDirCombined: 1 55 | m_LightmapKeepShadowMask: 1 56 | m_LightmapKeepSubtractive: 1 57 | m_FogKeepLinear: 1 58 | m_FogKeepExp: 1 59 | m_FogKeepExp2: 1 60 | m_AlbedoSwatchInfos: [] 61 | m_LightsUseLinearIntensity: 0 62 | m_LightsUseColorTemperature: 0 63 | m_DefaultRenderingLayerMask: 1 64 | m_LogWhenShaderIsCompiled: 0 65 | -------------------------------------------------------------------------------- /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 | - serializedVersion: 3 297 | m_Name: Enable Debug Button 1 298 | descriptiveName: 299 | descriptiveNegativeName: 300 | negativeButton: 301 | positiveButton: left ctrl 302 | altNegativeButton: 303 | altPositiveButton: joystick button 8 304 | gravity: 0 305 | dead: 0 306 | sensitivity: 0 307 | snap: 0 308 | invert: 0 309 | type: 0 310 | axis: 0 311 | joyNum: 0 312 | - serializedVersion: 3 313 | m_Name: Enable Debug Button 2 314 | descriptiveName: 315 | descriptiveNegativeName: 316 | negativeButton: 317 | positiveButton: backspace 318 | altNegativeButton: 319 | altPositiveButton: joystick button 9 320 | gravity: 0 321 | dead: 0 322 | sensitivity: 0 323 | snap: 0 324 | invert: 0 325 | type: 0 326 | axis: 0 327 | joyNum: 0 328 | - serializedVersion: 3 329 | m_Name: Debug Reset 330 | descriptiveName: 331 | descriptiveNegativeName: 332 | negativeButton: 333 | positiveButton: left alt 334 | altNegativeButton: 335 | altPositiveButton: joystick button 1 336 | gravity: 0 337 | dead: 0 338 | sensitivity: 0 339 | snap: 0 340 | invert: 0 341 | type: 0 342 | axis: 0 343 | joyNum: 0 344 | - serializedVersion: 3 345 | m_Name: Debug Next 346 | descriptiveName: 347 | descriptiveNegativeName: 348 | negativeButton: 349 | positiveButton: page down 350 | altNegativeButton: 351 | altPositiveButton: joystick button 5 352 | gravity: 0 353 | dead: 0 354 | sensitivity: 0 355 | snap: 0 356 | invert: 0 357 | type: 0 358 | axis: 0 359 | joyNum: 0 360 | - serializedVersion: 3 361 | m_Name: Debug Previous 362 | descriptiveName: 363 | descriptiveNegativeName: 364 | negativeButton: 365 | positiveButton: page up 366 | altNegativeButton: 367 | altPositiveButton: joystick button 4 368 | gravity: 0 369 | dead: 0 370 | sensitivity: 0 371 | snap: 0 372 | invert: 0 373 | type: 0 374 | axis: 0 375 | joyNum: 0 376 | - serializedVersion: 3 377 | m_Name: Debug Validate 378 | descriptiveName: 379 | descriptiveNegativeName: 380 | negativeButton: 381 | positiveButton: return 382 | altNegativeButton: 383 | altPositiveButton: joystick button 0 384 | gravity: 0 385 | dead: 0 386 | sensitivity: 0 387 | snap: 0 388 | invert: 0 389 | type: 0 390 | axis: 0 391 | joyNum: 0 392 | - serializedVersion: 3 393 | m_Name: Debug Persistent 394 | descriptiveName: 395 | descriptiveNegativeName: 396 | negativeButton: 397 | positiveButton: right shift 398 | altNegativeButton: 399 | altPositiveButton: joystick button 2 400 | gravity: 0 401 | dead: 0 402 | sensitivity: 0 403 | snap: 0 404 | invert: 0 405 | type: 0 406 | axis: 0 407 | joyNum: 0 408 | - serializedVersion: 3 409 | m_Name: Debug Multiplier 410 | descriptiveName: 411 | descriptiveNegativeName: 412 | negativeButton: 413 | positiveButton: left shift 414 | altNegativeButton: 415 | altPositiveButton: joystick button 3 416 | gravity: 0 417 | dead: 0 418 | sensitivity: 0 419 | snap: 0 420 | invert: 0 421 | type: 0 422 | axis: 0 423 | joyNum: 0 424 | - serializedVersion: 3 425 | m_Name: Debug Horizontal 426 | descriptiveName: 427 | descriptiveNegativeName: 428 | negativeButton: left 429 | positiveButton: right 430 | altNegativeButton: 431 | altPositiveButton: 432 | gravity: 1000 433 | dead: 0.001 434 | sensitivity: 1000 435 | snap: 0 436 | invert: 0 437 | type: 0 438 | axis: 0 439 | joyNum: 0 440 | - serializedVersion: 3 441 | m_Name: Debug Vertical 442 | descriptiveName: 443 | descriptiveNegativeName: 444 | negativeButton: down 445 | positiveButton: up 446 | altNegativeButton: 447 | altPositiveButton: 448 | gravity: 1000 449 | dead: 0.001 450 | sensitivity: 1000 451 | snap: 0 452 | invert: 0 453 | type: 0 454 | axis: 0 455 | joyNum: 0 456 | - serializedVersion: 3 457 | m_Name: Debug Vertical 458 | descriptiveName: 459 | descriptiveNegativeName: 460 | negativeButton: down 461 | positiveButton: up 462 | altNegativeButton: 463 | altPositiveButton: 464 | gravity: 1000 465 | dead: 0.001 466 | sensitivity: 1000 467 | snap: 0 468 | invert: 0 469 | type: 2 470 | axis: 6 471 | joyNum: 0 472 | - serializedVersion: 3 473 | m_Name: Debug Horizontal 474 | descriptiveName: 475 | descriptiveNegativeName: 476 | negativeButton: left 477 | positiveButton: right 478 | altNegativeButton: 479 | altPositiveButton: 480 | gravity: 1000 481 | dead: 0.001 482 | sensitivity: 1000 483 | snap: 0 484 | invert: 0 485 | type: 2 486 | axis: 5 487 | joyNum: 0 488 | -------------------------------------------------------------------------------- /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 | maxJobWorkers: 0 89 | preserveTilesOutsideBounds: 0 90 | debug: 91 | m_Flags: 0 92 | m_SettingNames: 93 | - Humanoid 94 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /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_ErrorMessage: 32 | m_Original: 33 | m_Id: 34 | m_Name: 35 | m_Url: 36 | m_Scopes: [] 37 | m_IsDefault: 0 38 | m_Capabilities: 0 39 | m_Modified: 0 40 | m_Name: 41 | m_Url: 42 | m_Scopes: 43 | - 44 | m_SelectedScopeIndex: 0 45 | -------------------------------------------------------------------------------- /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: 5 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_SimulationMode: 0 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: 26 7 | productGUID: 95a1248d828362d4c9bb9b48c5b472a5 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: SerializableReadonlyStruct 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: 1 51 | unsupportedMSAAFallback: 0 52 | m_SpriteBatchVertexThreshold: 300 53 | m_MTRendering: 1 54 | mipStripping: 0 55 | numberOfMipsStripped: 0 56 | numberOfMipsStrippedPerMipmapLimitGroup: {} 57 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 58 | iosShowActivityIndicatorOnLoading: -1 59 | androidShowActivityIndicatorOnLoading: -1 60 | iosUseCustomAppBackgroundBehavior: 0 61 | allowedAutorotateToPortrait: 1 62 | allowedAutorotateToPortraitUpsideDown: 1 63 | allowedAutorotateToLandscapeRight: 1 64 | allowedAutorotateToLandscapeLeft: 1 65 | useOSAutorotation: 1 66 | use32BitDisplayBuffer: 1 67 | preserveFramebufferAlpha: 0 68 | disableDepthAndStencilBuffers: 0 69 | androidStartInFullscreen: 1 70 | androidRenderOutsideSafeArea: 1 71 | androidUseSwappy: 1 72 | androidBlitType: 0 73 | androidResizableWindow: 0 74 | androidDefaultWindowWidth: 1920 75 | androidDefaultWindowHeight: 1080 76 | androidMinimumWindowWidth: 400 77 | androidMinimumWindowHeight: 300 78 | androidFullscreenMode: 1 79 | androidAutoRotationBehavior: 1 80 | defaultIsNativeResolution: 1 81 | macRetinaSupport: 1 82 | runInBackground: 0 83 | captureSingleScreen: 0 84 | muteOtherAudioSources: 0 85 | Prepare IOS For Recording: 0 86 | Force IOS Speakers When Recording: 0 87 | deferSystemGesturesMode: 0 88 | hideHomeButton: 0 89 | submitAnalytics: 1 90 | usePlayerLog: 1 91 | dedicatedServerOptimizations: 0 92 | bakeCollisionMeshes: 0 93 | forceSingleInstance: 0 94 | useFlipModelSwapchain: 1 95 | resizableWindow: 0 96 | useMacAppStoreValidation: 0 97 | macAppStoreCategory: public.app-category.games 98 | gpuSkinning: 0 99 | xboxPIXTextureCapture: 0 100 | xboxEnableAvatar: 0 101 | xboxEnableKinect: 0 102 | xboxEnableKinectAutoTracking: 0 103 | xboxEnableFitness: 0 104 | visibleInBackground: 1 105 | allowFullscreenSwitch: 1 106 | fullscreenMode: 1 107 | xboxSpeechDB: 0 108 | xboxEnableHeadOrientation: 0 109 | xboxEnableGuest: 0 110 | xboxEnablePIXSampling: 0 111 | metalFramebufferOnly: 0 112 | xboxOneResolution: 0 113 | xboxOneSResolution: 0 114 | xboxOneXResolution: 3 115 | xboxOneMonoLoggingLevel: 0 116 | xboxOneLoggingLevel: 1 117 | xboxOneDisableEsram: 0 118 | xboxOneEnableTypeOptimization: 0 119 | xboxOnePresentImmediateThreshold: 0 120 | switchQueueCommandMemory: 1048576 121 | switchQueueControlMemory: 16384 122 | switchQueueComputeMemory: 262144 123 | switchNVNShaderPoolsGranularity: 33554432 124 | switchNVNDefaultPoolsGranularity: 16777216 125 | switchNVNOtherPoolsGranularity: 16777216 126 | switchGpuScratchPoolGranularity: 2097152 127 | switchAllowGpuScratchShrinking: 0 128 | switchNVNMaxPublicTextureIDCount: 0 129 | switchNVNMaxPublicSamplerIDCount: 0 130 | switchNVNGraphicsFirmwareMemory: 32 131 | switchMaxWorkerMultiple: 8 132 | stadiaPresentMode: 0 133 | stadiaTargetFramerate: 0 134 | vulkanNumSwapchainBuffers: 3 135 | vulkanEnableSetSRGBWrite: 0 136 | vulkanEnablePreTransform: 0 137 | vulkanEnableLateAcquireNextImage: 0 138 | vulkanEnableCommandBufferRecycling: 1 139 | loadStoreDebugModeEnabled: 0 140 | visionOSBundleVersion: 1.0 141 | tvOSBundleVersion: 1.0 142 | bundleVersion: 1.0 143 | preloadedAssets: [] 144 | metroInputSource: 0 145 | wsaTransparentSwapchain: 0 146 | m_HolographicPauseOnTrackingLoss: 1 147 | xboxOneDisableKinectGpuReservation: 1 148 | xboxOneEnable7thCore: 1 149 | vrSettings: 150 | enable360StereoCapture: 0 151 | isWsaHolographicRemotingEnabled: 0 152 | enableFrameTimingStats: 0 153 | enableOpenGLProfilerGPURecorders: 1 154 | allowHDRDisplaySupport: 0 155 | useHDRDisplay: 0 156 | hdrBitDepth: 0 157 | m_ColorGamuts: 00000000 158 | targetPixelDensity: 30 159 | resolutionScalingMode: 0 160 | resetResolutionOnWindowResize: 0 161 | androidSupportedAspectRatio: 1 162 | androidMaxAspectRatio: 2.1 163 | applicationIdentifier: 164 | Standalone: com.DefaultCompany.2DProject 165 | buildNumber: 166 | Standalone: 0 167 | VisionOS: 0 168 | iPhone: 0 169 | tvOS: 0 170 | overrideDefaultApplicationIdentifier: 1 171 | AndroidBundleVersionCode: 1 172 | AndroidMinSdkVersion: 22 173 | AndroidTargetSdkVersion: 0 174 | AndroidPreferredInstallLocation: 1 175 | aotOptions: 176 | stripEngineCode: 1 177 | iPhoneStrippingLevel: 0 178 | iPhoneScriptCallOptimization: 0 179 | ForceInternetPermission: 0 180 | ForceSDCardPermission: 0 181 | CreateWallpaper: 0 182 | APKExpansionFiles: 0 183 | keepLoadedShadersAlive: 0 184 | StripUnusedMeshComponents: 0 185 | strictShaderVariantMatching: 0 186 | VertexChannelCompressionMask: 4054 187 | iPhoneSdkVersion: 988 188 | iOSTargetOSVersionString: 12.0 189 | tvOSSdkVersion: 0 190 | tvOSRequireExtendedGameController: 0 191 | tvOSTargetOSVersionString: 12.0 192 | VisionOSSdkVersion: 0 193 | VisionOSTargetOSVersionString: 1.0 194 | uIPrerenderedIcon: 0 195 | uIRequiresPersistentWiFi: 0 196 | uIRequiresFullScreen: 1 197 | uIStatusBarHidden: 1 198 | uIExitOnSuspend: 0 199 | uIStatusBarStyle: 0 200 | appleTVSplashScreen: {fileID: 0} 201 | appleTVSplashScreen2x: {fileID: 0} 202 | tvOSSmallIconLayers: [] 203 | tvOSSmallIconLayers2x: [] 204 | tvOSLargeIconLayers: [] 205 | tvOSLargeIconLayers2x: [] 206 | tvOSTopShelfImageLayers: [] 207 | tvOSTopShelfImageLayers2x: [] 208 | tvOSTopShelfImageWideLayers: [] 209 | tvOSTopShelfImageWideLayers2x: [] 210 | iOSLaunchScreenType: 0 211 | iOSLaunchScreenPortrait: {fileID: 0} 212 | iOSLaunchScreenLandscape: {fileID: 0} 213 | iOSLaunchScreenBackgroundColor: 214 | serializedVersion: 2 215 | rgba: 0 216 | iOSLaunchScreenFillPct: 100 217 | iOSLaunchScreenSize: 100 218 | iOSLaunchScreenCustomXibPath: 219 | iOSLaunchScreeniPadType: 0 220 | iOSLaunchScreeniPadImage: {fileID: 0} 221 | iOSLaunchScreeniPadBackgroundColor: 222 | serializedVersion: 2 223 | rgba: 0 224 | iOSLaunchScreeniPadFillPct: 100 225 | iOSLaunchScreeniPadSize: 100 226 | iOSLaunchScreeniPadCustomXibPath: 227 | iOSLaunchScreenCustomStoryboardPath: 228 | iOSLaunchScreeniPadCustomStoryboardPath: 229 | iOSDeviceRequirements: [] 230 | iOSURLSchemes: [] 231 | macOSURLSchemes: [] 232 | iOSBackgroundModes: 0 233 | iOSMetalForceHardShadows: 0 234 | metalEditorSupport: 1 235 | metalAPIValidation: 1 236 | iOSRenderExtraFrameOnPause: 0 237 | iosCopyPluginsCodeInsteadOfSymlink: 0 238 | appleDeveloperTeamID: 239 | iOSManualSigningProvisioningProfileID: 240 | tvOSManualSigningProvisioningProfileID: 241 | VisionOSManualSigningProvisioningProfileID: 242 | iOSManualSigningProvisioningProfileType: 0 243 | tvOSManualSigningProvisioningProfileType: 0 244 | VisionOSManualSigningProvisioningProfileType: 0 245 | appleEnableAutomaticSigning: 0 246 | iOSRequireARKit: 0 247 | iOSAutomaticallyDetectAndAddCapabilities: 1 248 | appleEnableProMotion: 0 249 | shaderPrecisionModel: 0 250 | clonedFromGUID: 10ad67313f4034357812315f3c407484 251 | templatePackageId: com.unity.template.2d@7.0.3 252 | templateDefaultScene: Assets/Scenes/SampleScene.unity 253 | useCustomMainManifest: 0 254 | useCustomLauncherManifest: 0 255 | useCustomMainGradleTemplate: 0 256 | useCustomLauncherGradleManifest: 0 257 | useCustomBaseGradleTemplate: 0 258 | useCustomGradlePropertiesTemplate: 0 259 | useCustomGradleSettingsTemplate: 0 260 | useCustomProguardFile: 0 261 | AndroidTargetArchitectures: 1 262 | AndroidTargetDevices: 0 263 | AndroidSplashScreenScale: 0 264 | androidSplashScreen: {fileID: 0} 265 | AndroidKeystoreName: 266 | AndroidKeyaliasName: 267 | AndroidEnableArmv9SecurityFeatures: 0 268 | AndroidBuildApkPerCpuArchitecture: 0 269 | AndroidTVCompatibility: 0 270 | AndroidIsGame: 1 271 | AndroidEnableTango: 0 272 | androidEnableBanner: 1 273 | androidUseLowAccuracyLocation: 0 274 | androidUseCustomKeystore: 0 275 | m_AndroidBanners: 276 | - width: 320 277 | height: 180 278 | banner: {fileID: 0} 279 | androidGamepadSupportLevel: 0 280 | chromeosInputEmulation: 1 281 | AndroidMinifyRelease: 0 282 | AndroidMinifyDebug: 0 283 | AndroidValidateAppBundleSize: 1 284 | AndroidAppBundleSizeToValidate: 150 285 | m_BuildTargetIcons: [] 286 | m_BuildTargetPlatformIcons: [] 287 | m_BuildTargetBatching: [] 288 | m_BuildTargetShaderSettings: [] 289 | m_BuildTargetGraphicsJobs: 290 | - m_BuildTarget: MacStandaloneSupport 291 | m_GraphicsJobs: 0 292 | - m_BuildTarget: Switch 293 | m_GraphicsJobs: 0 294 | - m_BuildTarget: MetroSupport 295 | m_GraphicsJobs: 0 296 | - m_BuildTarget: AppleTVSupport 297 | m_GraphicsJobs: 0 298 | - m_BuildTarget: BJMSupport 299 | m_GraphicsJobs: 0 300 | - m_BuildTarget: LinuxStandaloneSupport 301 | m_GraphicsJobs: 0 302 | - m_BuildTarget: PS4Player 303 | m_GraphicsJobs: 0 304 | - m_BuildTarget: iOSSupport 305 | m_GraphicsJobs: 0 306 | - m_BuildTarget: WindowsStandaloneSupport 307 | m_GraphicsJobs: 0 308 | - m_BuildTarget: XboxOnePlayer 309 | m_GraphicsJobs: 0 310 | - m_BuildTarget: LuminSupport 311 | m_GraphicsJobs: 0 312 | - m_BuildTarget: AndroidPlayer 313 | m_GraphicsJobs: 0 314 | - m_BuildTarget: WebGLSupport 315 | m_GraphicsJobs: 0 316 | m_BuildTargetGraphicsJobMode: [] 317 | m_BuildTargetGraphicsAPIs: 318 | - m_BuildTarget: AndroidPlayer 319 | m_APIs: 150000000b000000 320 | m_Automatic: 1 321 | - m_BuildTarget: iOSSupport 322 | m_APIs: 10000000 323 | m_Automatic: 1 324 | m_BuildTargetVRSettings: [] 325 | m_DefaultShaderChunkSizeInMB: 16 326 | m_DefaultShaderChunkCount: 0 327 | openGLRequireES31: 0 328 | openGLRequireES31AEP: 0 329 | openGLRequireES32: 0 330 | m_TemplateCustomTags: {} 331 | mobileMTRendering: 332 | Android: 1 333 | iPhone: 1 334 | tvOS: 1 335 | m_BuildTargetGroupLightmapEncodingQuality: [] 336 | m_BuildTargetGroupHDRCubemapEncodingQuality: [] 337 | m_BuildTargetGroupLightmapSettings: [] 338 | m_BuildTargetGroupLoadStoreDebugModeSettings: [] 339 | m_BuildTargetNormalMapEncoding: [] 340 | m_BuildTargetDefaultTextureCompressionFormat: 341 | - m_BuildTarget: Android 342 | m_Format: 3 343 | playModeTestRunnerEnabled: 0 344 | runPlayModeTestAsEditModeTest: 0 345 | actionOnDotNetUnhandledException: 1 346 | enableInternalProfiler: 0 347 | logObjCUncaughtExceptions: 1 348 | enableCrashReportAPI: 0 349 | cameraUsageDescription: 350 | locationUsageDescription: 351 | microphoneUsageDescription: 352 | bluetoothUsageDescription: 353 | macOSTargetOSVersion: 10.13.0 354 | switchNMETAOverride: 355 | switchNetLibKey: 356 | switchSocketMemoryPoolSize: 6144 357 | switchSocketAllocatorPoolSize: 128 358 | switchSocketConcurrencyLimit: 14 359 | switchScreenResolutionBehavior: 2 360 | switchUseCPUProfiler: 0 361 | switchEnableFileSystemTrace: 0 362 | switchLTOSetting: 0 363 | switchApplicationID: 0x01004b9000490000 364 | switchNSODependencies: 365 | switchCompilerFlags: 366 | switchTitleNames_0: 367 | switchTitleNames_1: 368 | switchTitleNames_2: 369 | switchTitleNames_3: 370 | switchTitleNames_4: 371 | switchTitleNames_5: 372 | switchTitleNames_6: 373 | switchTitleNames_7: 374 | switchTitleNames_8: 375 | switchTitleNames_9: 376 | switchTitleNames_10: 377 | switchTitleNames_11: 378 | switchTitleNames_12: 379 | switchTitleNames_13: 380 | switchTitleNames_14: 381 | switchTitleNames_15: 382 | switchPublisherNames_0: 383 | switchPublisherNames_1: 384 | switchPublisherNames_2: 385 | switchPublisherNames_3: 386 | switchPublisherNames_4: 387 | switchPublisherNames_5: 388 | switchPublisherNames_6: 389 | switchPublisherNames_7: 390 | switchPublisherNames_8: 391 | switchPublisherNames_9: 392 | switchPublisherNames_10: 393 | switchPublisherNames_11: 394 | switchPublisherNames_12: 395 | switchPublisherNames_13: 396 | switchPublisherNames_14: 397 | switchPublisherNames_15: 398 | switchIcons_0: {fileID: 0} 399 | switchIcons_1: {fileID: 0} 400 | switchIcons_2: {fileID: 0} 401 | switchIcons_3: {fileID: 0} 402 | switchIcons_4: {fileID: 0} 403 | switchIcons_5: {fileID: 0} 404 | switchIcons_6: {fileID: 0} 405 | switchIcons_7: {fileID: 0} 406 | switchIcons_8: {fileID: 0} 407 | switchIcons_9: {fileID: 0} 408 | switchIcons_10: {fileID: 0} 409 | switchIcons_11: {fileID: 0} 410 | switchIcons_12: {fileID: 0} 411 | switchIcons_13: {fileID: 0} 412 | switchIcons_14: {fileID: 0} 413 | switchIcons_15: {fileID: 0} 414 | switchSmallIcons_0: {fileID: 0} 415 | switchSmallIcons_1: {fileID: 0} 416 | switchSmallIcons_2: {fileID: 0} 417 | switchSmallIcons_3: {fileID: 0} 418 | switchSmallIcons_4: {fileID: 0} 419 | switchSmallIcons_5: {fileID: 0} 420 | switchSmallIcons_6: {fileID: 0} 421 | switchSmallIcons_7: {fileID: 0} 422 | switchSmallIcons_8: {fileID: 0} 423 | switchSmallIcons_9: {fileID: 0} 424 | switchSmallIcons_10: {fileID: 0} 425 | switchSmallIcons_11: {fileID: 0} 426 | switchSmallIcons_12: {fileID: 0} 427 | switchSmallIcons_13: {fileID: 0} 428 | switchSmallIcons_14: {fileID: 0} 429 | switchSmallIcons_15: {fileID: 0} 430 | switchManualHTML: 431 | switchAccessibleURLs: 432 | switchLegalInformation: 433 | switchMainThreadStackSize: 1048576 434 | switchPresenceGroupId: 435 | switchLogoHandling: 0 436 | switchReleaseVersion: 0 437 | switchDisplayVersion: 1.0.0 438 | switchStartupUserAccount: 0 439 | switchSupportedLanguagesMask: 0 440 | switchLogoType: 0 441 | switchApplicationErrorCodeCategory: 442 | switchUserAccountSaveDataSize: 0 443 | switchUserAccountSaveDataJournalSize: 0 444 | switchApplicationAttribute: 0 445 | switchCardSpecSize: -1 446 | switchCardSpecClock: -1 447 | switchRatingsMask: 0 448 | switchRatingsInt_0: 0 449 | switchRatingsInt_1: 0 450 | switchRatingsInt_2: 0 451 | switchRatingsInt_3: 0 452 | switchRatingsInt_4: 0 453 | switchRatingsInt_5: 0 454 | switchRatingsInt_6: 0 455 | switchRatingsInt_7: 0 456 | switchRatingsInt_8: 0 457 | switchRatingsInt_9: 0 458 | switchRatingsInt_10: 0 459 | switchRatingsInt_11: 0 460 | switchRatingsInt_12: 0 461 | switchLocalCommunicationIds_0: 462 | switchLocalCommunicationIds_1: 463 | switchLocalCommunicationIds_2: 464 | switchLocalCommunicationIds_3: 465 | switchLocalCommunicationIds_4: 466 | switchLocalCommunicationIds_5: 467 | switchLocalCommunicationIds_6: 468 | switchLocalCommunicationIds_7: 469 | switchParentalControl: 0 470 | switchAllowsScreenshot: 1 471 | switchAllowsVideoCapturing: 1 472 | switchAllowsRuntimeAddOnContentInstall: 0 473 | switchDataLossConfirmation: 0 474 | switchUserAccountLockEnabled: 0 475 | switchSystemResourceMemory: 16777216 476 | switchSupportedNpadStyles: 22 477 | switchNativeFsCacheSize: 32 478 | switchIsHoldTypeHorizontal: 0 479 | switchSupportedNpadCount: 8 480 | switchEnableTouchScreen: 1 481 | switchSocketConfigEnabled: 0 482 | switchTcpInitialSendBufferSize: 32 483 | switchTcpInitialReceiveBufferSize: 64 484 | switchTcpAutoSendBufferSizeMax: 256 485 | switchTcpAutoReceiveBufferSizeMax: 256 486 | switchUdpSendBufferSize: 9 487 | switchUdpReceiveBufferSize: 42 488 | switchSocketBufferEfficiency: 4 489 | switchSocketInitializeEnabled: 1 490 | switchNetworkInterfaceManagerInitializeEnabled: 1 491 | switchUseNewStyleFilepaths: 0 492 | switchUseLegacyFmodPriorities: 0 493 | switchUseMicroSleepForYield: 1 494 | switchEnableRamDiskSupport: 0 495 | switchMicroSleepForYieldTime: 25 496 | switchRamDiskSpaceSize: 12 497 | ps4NPAgeRating: 12 498 | ps4NPTitleSecret: 499 | ps4NPTrophyPackPath: 500 | ps4ParentalLevel: 11 501 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 502 | ps4Category: 0 503 | ps4MasterVersion: 01.00 504 | ps4AppVersion: 01.00 505 | ps4AppType: 0 506 | ps4ParamSfxPath: 507 | ps4VideoOutPixelFormat: 0 508 | ps4VideoOutInitialWidth: 1920 509 | ps4VideoOutBaseModeInitialWidth: 1920 510 | ps4VideoOutReprojectionRate: 60 511 | ps4PronunciationXMLPath: 512 | ps4PronunciationSIGPath: 513 | ps4BackgroundImagePath: 514 | ps4StartupImagePath: 515 | ps4StartupImagesFolder: 516 | ps4IconImagesFolder: 517 | ps4SaveDataImagePath: 518 | ps4SdkOverride: 519 | ps4BGMPath: 520 | ps4ShareFilePath: 521 | ps4ShareOverlayImagePath: 522 | ps4PrivacyGuardImagePath: 523 | ps4ExtraSceSysFile: 524 | ps4NPtitleDatPath: 525 | ps4RemotePlayKeyAssignment: -1 526 | ps4RemotePlayKeyMappingDir: 527 | ps4PlayTogetherPlayerCount: 0 528 | ps4EnterButtonAssignment: 2 529 | ps4ApplicationParam1: 0 530 | ps4ApplicationParam2: 0 531 | ps4ApplicationParam3: 0 532 | ps4ApplicationParam4: 0 533 | ps4DownloadDataSize: 0 534 | ps4GarlicHeapSize: 2048 535 | ps4ProGarlicHeapSize: 2560 536 | playerPrefsMaxSize: 32768 537 | ps4Passcode: bi9UOuSpM2Tlh01vOzwvSikHFswuzleh 538 | ps4pnSessions: 1 539 | ps4pnPresence: 1 540 | ps4pnFriends: 1 541 | ps4pnGameCustomData: 1 542 | playerPrefsSupport: 0 543 | enableApplicationExit: 0 544 | resetTempFolder: 1 545 | restrictedAudioUsageRights: 0 546 | ps4UseResolutionFallback: 0 547 | ps4ReprojectionSupport: 0 548 | ps4UseAudio3dBackend: 0 549 | ps4UseLowGarlicFragmentationMode: 1 550 | ps4SocialScreenEnabled: 0 551 | ps4ScriptOptimizationLevel: 2 552 | ps4Audio3dVirtualSpeakerCount: 14 553 | ps4attribCpuUsage: 0 554 | ps4PatchPkgPath: 555 | ps4PatchLatestPkgPath: 556 | ps4PatchChangeinfoPath: 557 | ps4PatchDayOne: 0 558 | ps4attribUserManagement: 0 559 | ps4attribMoveSupport: 0 560 | ps4attrib3DSupport: 0 561 | ps4attribShareSupport: 0 562 | ps4attribExclusiveVR: 0 563 | ps4disableAutoHideSplash: 0 564 | ps4videoRecordingFeaturesUsed: 0 565 | ps4contentSearchFeaturesUsed: 0 566 | ps4CompatibilityPS5: 0 567 | ps4AllowPS5Detection: 0 568 | ps4GPU800MHz: 1 569 | ps4attribEyeToEyeDistanceSettingVR: 0 570 | ps4IncludedModules: [] 571 | ps4attribVROutputEnabled: 0 572 | monoEnv: 573 | splashScreenBackgroundSourceLandscape: {fileID: 0} 574 | splashScreenBackgroundSourcePortrait: {fileID: 0} 575 | blurSplashScreenBackground: 1 576 | spritePackerPolicy: 577 | webGLMemorySize: 32 578 | webGLExceptionSupport: 1 579 | webGLNameFilesAsHashes: 0 580 | webGLShowDiagnostics: 0 581 | webGLDataCaching: 1 582 | webGLDebugSymbols: 0 583 | webGLEmscriptenArgs: 584 | webGLModulesDirectory: 585 | webGLTemplate: APPLICATION:Default 586 | webGLAnalyzeBuildSize: 0 587 | webGLUseEmbeddedResources: 0 588 | webGLCompressionFormat: 0 589 | webGLWasmArithmeticExceptions: 0 590 | webGLLinkerTarget: 1 591 | webGLThreadsSupport: 0 592 | webGLDecompressionFallback: 0 593 | webGLInitialMemorySize: 32 594 | webGLMaximumMemorySize: 2048 595 | webGLMemoryGrowthMode: 2 596 | webGLMemoryLinearGrowthStep: 16 597 | webGLMemoryGeometricGrowthStep: 0.2 598 | webGLMemoryGeometricGrowthCap: 96 599 | webGLPowerPreference: 2 600 | scriptingDefineSymbols: {} 601 | additionalCompilerArguments: {} 602 | platformArchitecture: {} 603 | scriptingBackend: {} 604 | il2cppCompilerConfiguration: {} 605 | il2cppCodeGeneration: {} 606 | managedStrippingLevel: 607 | EmbeddedLinux: 1 608 | GameCoreScarlett: 1 609 | GameCoreXboxOne: 1 610 | Nintendo Switch: 1 611 | PS4: 1 612 | PS5: 1 613 | QNX: 1 614 | Stadia: 1 615 | VisionOS: 1 616 | WebGL: 1 617 | Windows Store Apps: 1 618 | XboxOne: 1 619 | iPhone: 1 620 | tvOS: 1 621 | incrementalIl2cppBuild: {} 622 | suppressCommonWarnings: 1 623 | allowUnsafeCode: 0 624 | useDeterministicCompilation: 1 625 | additionalIl2CppArgs: 626 | scriptingRuntimeVersion: 1 627 | gcIncremental: 1 628 | gcWBarrierValidation: 0 629 | apiCompatibilityLevelPerPlatform: {} 630 | m_RenderingPath: 1 631 | m_MobileRenderingPath: 1 632 | metroPackageName: SerializableReadonlyStruct 633 | metroPackageVersion: 634 | metroCertificatePath: 635 | metroCertificatePassword: 636 | metroCertificateSubject: 637 | metroCertificateIssuer: 638 | metroCertificateNotAfter: 0000000000000000 639 | metroApplicationDescription: SerializableReadonlyStruct 640 | wsaImages: {} 641 | metroTileShortName: 642 | metroTileShowName: 0 643 | metroMediumTileShowName: 0 644 | metroLargeTileShowName: 0 645 | metroWideTileShowName: 0 646 | metroSupportStreamingInstall: 0 647 | metroLastRequiredScene: 0 648 | metroDefaultTileSize: 1 649 | metroTileForegroundText: 2 650 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 651 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} 652 | metroSplashScreenUseBackgroundColor: 0 653 | platformCapabilities: {} 654 | metroTargetDeviceFamilies: {} 655 | metroFTAName: 656 | metroFTAFileTypes: [] 657 | metroProtocolName: 658 | vcxProjDefaultLanguage: 659 | XboxOneProductId: 660 | XboxOneUpdateKey: 661 | XboxOneSandboxId: 662 | XboxOneContentId: 663 | XboxOneTitleId: 664 | XboxOneSCId: 665 | XboxOneGameOsOverridePath: 666 | XboxOnePackagingOverridePath: 667 | XboxOneAppManifestOverridePath: 668 | XboxOneVersion: 1.0.0.0 669 | XboxOnePackageEncryption: 0 670 | XboxOnePackageUpdateGranularity: 2 671 | XboxOneDescription: 672 | XboxOneLanguage: 673 | - enus 674 | XboxOneCapability: [] 675 | XboxOneGameRating: {} 676 | XboxOneIsContentPackage: 0 677 | XboxOneEnhancedXboxCompatibilityMode: 0 678 | XboxOneEnableGPUVariability: 1 679 | XboxOneSockets: {} 680 | XboxOneSplashScreen: {fileID: 0} 681 | XboxOneAllowedProductIds: [] 682 | XboxOnePersistentLocalStorageSize: 0 683 | XboxOneXTitleMemory: 8 684 | XboxOneOverrideIdentityName: 685 | XboxOneOverrideIdentityPublisher: 686 | vrEditorSettings: {} 687 | cloudServicesEnabled: {} 688 | luminIcon: 689 | m_Name: 690 | m_ModelFolderPath: 691 | m_PortalFolderPath: 692 | luminCert: 693 | m_CertPath: 694 | m_SignPackage: 1 695 | luminIsChannelApp: 0 696 | luminVersion: 697 | m_VersionCode: 1 698 | m_VersionName: 699 | hmiPlayerDataPath: 700 | hmiForceSRGBBlit: 1 701 | embeddedLinuxEnableGamepadInput: 1 702 | hmiLogStartupTiming: 0 703 | hmiCpuConfiguration: 704 | apiCompatibilityLevel: 6 705 | activeInputHandler: 0 706 | windowsGamepadBackendHint: 0 707 | cloudProjectId: 708 | framebufferDepthMemorylessMode: 0 709 | qualitySettingsNames: [] 710 | projectName: 711 | organizationId: 712 | cloudEnabled: 0 713 | legacyClampBlendShapeWeights: 0 714 | hmiLoadingImage: {fileID: 0} 715 | platformRequiresReadableAssets: 0 716 | virtualTexturingSupportEnabled: 0 717 | insecureHttpOption: 0 718 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2022.3.18f1 2 | m_EditorVersionWithRevision: 2022.3.18f1 (d29bea25151d) 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 | skinWeights: 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 | customRenderPipeline: {fileID: 0} 44 | excludedTargetPlatforms: [] 45 | - serializedVersion: 2 46 | name: Low 47 | pixelLightCount: 0 48 | shadows: 0 49 | shadowResolution: 0 50 | shadowProjection: 1 51 | shadowCascades: 1 52 | shadowDistance: 20 53 | shadowNearPlaneOffset: 3 54 | shadowCascade2Split: 0.33333334 55 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 56 | shadowmaskMode: 0 57 | skinWeights: 2 58 | textureQuality: 0 59 | anisotropicTextures: 0 60 | antiAliasing: 0 61 | softParticles: 0 62 | softVegetation: 0 63 | realtimeReflectionProbes: 0 64 | billboardsFaceCameraPosition: 0 65 | vSyncCount: 0 66 | lodBias: 0.4 67 | maximumLODLevel: 0 68 | streamingMipmapsActive: 0 69 | streamingMipmapsAddAllCameras: 1 70 | streamingMipmapsMemoryBudget: 512 71 | streamingMipmapsRenderersPerFrame: 512 72 | streamingMipmapsMaxLevelReduction: 2 73 | streamingMipmapsMaxFileIORequests: 1024 74 | particleRaycastBudget: 16 75 | asyncUploadTimeSlice: 2 76 | asyncUploadBufferSize: 16 77 | asyncUploadPersistentBuffer: 1 78 | resolutionScalingFixedDPIFactor: 1 79 | customRenderPipeline: {fileID: 0} 80 | excludedTargetPlatforms: [] 81 | - serializedVersion: 2 82 | name: Medium 83 | pixelLightCount: 1 84 | shadows: 1 85 | shadowResolution: 0 86 | shadowProjection: 1 87 | shadowCascades: 1 88 | shadowDistance: 20 89 | shadowNearPlaneOffset: 3 90 | shadowCascade2Split: 0.33333334 91 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 92 | shadowmaskMode: 0 93 | skinWeights: 2 94 | textureQuality: 0 95 | anisotropicTextures: 1 96 | antiAliasing: 0 97 | softParticles: 0 98 | softVegetation: 0 99 | realtimeReflectionProbes: 0 100 | billboardsFaceCameraPosition: 0 101 | vSyncCount: 1 102 | lodBias: 0.7 103 | maximumLODLevel: 0 104 | streamingMipmapsActive: 0 105 | streamingMipmapsAddAllCameras: 1 106 | streamingMipmapsMemoryBudget: 512 107 | streamingMipmapsRenderersPerFrame: 512 108 | streamingMipmapsMaxLevelReduction: 2 109 | streamingMipmapsMaxFileIORequests: 1024 110 | particleRaycastBudget: 64 111 | asyncUploadTimeSlice: 2 112 | asyncUploadBufferSize: 16 113 | asyncUploadPersistentBuffer: 1 114 | resolutionScalingFixedDPIFactor: 1 115 | customRenderPipeline: {fileID: 0} 116 | excludedTargetPlatforms: [] 117 | - serializedVersion: 2 118 | name: High 119 | pixelLightCount: 2 120 | shadows: 2 121 | shadowResolution: 1 122 | shadowProjection: 1 123 | shadowCascades: 2 124 | shadowDistance: 40 125 | shadowNearPlaneOffset: 3 126 | shadowCascade2Split: 0.33333334 127 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 128 | shadowmaskMode: 1 129 | skinWeights: 2 130 | textureQuality: 0 131 | anisotropicTextures: 1 132 | antiAliasing: 0 133 | softParticles: 0 134 | softVegetation: 1 135 | realtimeReflectionProbes: 1 136 | billboardsFaceCameraPosition: 1 137 | vSyncCount: 1 138 | lodBias: 1 139 | maximumLODLevel: 0 140 | streamingMipmapsActive: 0 141 | streamingMipmapsAddAllCameras: 1 142 | streamingMipmapsMemoryBudget: 512 143 | streamingMipmapsRenderersPerFrame: 512 144 | streamingMipmapsMaxLevelReduction: 2 145 | streamingMipmapsMaxFileIORequests: 1024 146 | particleRaycastBudget: 256 147 | asyncUploadTimeSlice: 2 148 | asyncUploadBufferSize: 16 149 | asyncUploadPersistentBuffer: 1 150 | resolutionScalingFixedDPIFactor: 1 151 | customRenderPipeline: {fileID: 0} 152 | excludedTargetPlatforms: [] 153 | - serializedVersion: 2 154 | name: Very High 155 | pixelLightCount: 3 156 | shadows: 2 157 | shadowResolution: 2 158 | shadowProjection: 1 159 | shadowCascades: 2 160 | shadowDistance: 70 161 | shadowNearPlaneOffset: 3 162 | shadowCascade2Split: 0.33333334 163 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 164 | shadowmaskMode: 1 165 | skinWeights: 4 166 | textureQuality: 0 167 | anisotropicTextures: 2 168 | antiAliasing: 2 169 | softParticles: 1 170 | softVegetation: 1 171 | realtimeReflectionProbes: 1 172 | billboardsFaceCameraPosition: 1 173 | vSyncCount: 1 174 | lodBias: 1.5 175 | maximumLODLevel: 0 176 | streamingMipmapsActive: 0 177 | streamingMipmapsAddAllCameras: 1 178 | streamingMipmapsMemoryBudget: 512 179 | streamingMipmapsRenderersPerFrame: 512 180 | streamingMipmapsMaxLevelReduction: 2 181 | streamingMipmapsMaxFileIORequests: 1024 182 | particleRaycastBudget: 1024 183 | asyncUploadTimeSlice: 2 184 | asyncUploadBufferSize: 16 185 | asyncUploadPersistentBuffer: 1 186 | resolutionScalingFixedDPIFactor: 1 187 | customRenderPipeline: {fileID: 0} 188 | excludedTargetPlatforms: [] 189 | - serializedVersion: 2 190 | name: Ultra 191 | pixelLightCount: 4 192 | shadows: 2 193 | shadowResolution: 2 194 | shadowProjection: 1 195 | shadowCascades: 4 196 | shadowDistance: 150 197 | shadowNearPlaneOffset: 3 198 | shadowCascade2Split: 0.33333334 199 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 200 | shadowmaskMode: 1 201 | skinWeights: 255 202 | textureQuality: 0 203 | anisotropicTextures: 2 204 | antiAliasing: 2 205 | softParticles: 1 206 | softVegetation: 1 207 | realtimeReflectionProbes: 1 208 | billboardsFaceCameraPosition: 1 209 | vSyncCount: 1 210 | lodBias: 2 211 | maximumLODLevel: 0 212 | streamingMipmapsActive: 0 213 | streamingMipmapsAddAllCameras: 1 214 | streamingMipmapsMemoryBudget: 512 215 | streamingMipmapsRenderersPerFrame: 512 216 | streamingMipmapsMaxLevelReduction: 2 217 | streamingMipmapsMaxFileIORequests: 1024 218 | particleRaycastBudget: 4096 219 | asyncUploadTimeSlice: 2 220 | asyncUploadBufferSize: 16 221 | asyncUploadPersistentBuffer: 1 222 | resolutionScalingFixedDPIFactor: 1 223 | customRenderPipeline: {fileID: 0} 224 | excludedTargetPlatforms: [] 225 | m_PerPlatformDefaultQuality: 226 | Android: 2 227 | Lumin: 5 228 | GameCoreScarlett: 5 229 | GameCoreXboxOne: 5 230 | Nintendo Switch: 5 231 | PS4: 5 232 | PS5: 5 233 | Stadia: 5 234 | Standalone: 5 235 | WebGL: 3 236 | Windows Store Apps: 5 237 | XboxOne: 5 238 | iPhone: 2 239 | tvOS: 2 240 | -------------------------------------------------------------------------------- /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 | m_PackageRequiringCoreStatsPresent: 0 27 | UnityAdsSettings: 28 | m_Enabled: 0 29 | m_InitializeOnStartup: 1 30 | m_TestMode: 0 31 | m_IosGameId: 32 | m_AndroidGameId: 33 | m_GameIds: {} 34 | m_GameId: 35 | PerformanceReportingSettings: 36 | m_Enabled: 0 37 | -------------------------------------------------------------------------------- /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 | m_CompiledVersion: 0 14 | m_RuntimeVersion: 0 15 | -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SerializableReadonlyStruct 2 | 3 | > [!WARNING] 4 | > This package is currently very experimental. 5 | 6 | An IL Post-processor for Unity to make `readonly` structs serializable. 7 | 8 | `readonly` fields cannot be serialized by default in Unity, but this package allows you to serialize `readonly` fields in structs. 9 | 10 | ```cs 11 | using System; 12 | using UnityEngine; 13 | using SerializableReadonlyStruct; 14 | 15 | public class Example : MonoBehaviour 16 | { 17 | [SerializeField] private S s; 18 | } 19 | 20 | [Serializable, SerializableReadonly] 21 | public readonly struct S 22 | { 23 | [SerializeField] private readonly int a; 24 | } 25 | ``` 26 | 27 | ## Installation 28 | 29 | Add git URL to Package Manager: 30 | 31 | ``` 32 | https://github.com/ruccho/SerializableReadonlyStruct.git?path=/Packages/com.ruccho.serializable-readonly-struct 33 | ``` 34 | 35 | ## Compatibility 36 | 37 | Actually, `[SerializableReadonly]` just removes the `readonly` keyword from the struct definition from the compiled DLLs. `readonly` is an annotation only for the compiler and the runtime does not care about it (unless the metadata is used by reflection). The effect of `readonly` is still valid in the compiled code. 38 | 39 | If `[SerializableReadonly]` is used in precompiled assemblies (e.g. libraries), other `csproj`s will reference the compiled assembly which has no `readonly` keyword. This means the fields seem to be mutable on IDE but actually immutable in the compilation. 40 | 41 | ```cs 42 | 43 | #region Assembly-CSharp.dll 44 | 45 | public class Example : MonoBehaviour 46 | { 47 | [SerializeField] private S s; 48 | 49 | private void Start() 50 | { 51 | s.a = 100; // This is legal on the IDE, but cause a compilation error on Unity 52 | } 53 | } 54 | 55 | #endregion 56 | 57 | // If SomeLibrary.dll doesn't have Unity-generated csproj, it will precompiled and referenced by Assembly-CSharp.dll 58 | #region SomeLibrary.dll 59 | 60 | [Serializable, SerializableReadonly] 61 | public readonly struct S 62 | { 63 | public readonly int a; 64 | } 65 | 66 | #endregion 67 | 68 | ``` 69 | 70 | --------------------------------------------------------------------------------