├── .gitignore ├── Assets ├── Models.meta ├── Models │ ├── New Prefab.prefab │ ├── New Prefab.prefab.meta │ ├── NewMesh.asset │ ├── NewMesh.asset.meta │ ├── SkinnedWorm.fbx │ ├── SkinnedWorm.fbx.meta │ ├── TestCubeHierarchy.fbx │ └── TestCubeHierarchy.fbx.meta ├── Scenes.meta ├── Scenes │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── Scripts.meta └── Scripts │ ├── Editor.meta │ └── Editor │ ├── GenerateColliderPostProcessor.cs │ └── GenerateColliderPostProcessor.cs.meta ├── LICENSE ├── Packages ├── manifest.json └── packages-lock.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.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 └── Screenshots └── worm.png /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | /[Bb]uilds/ 6 | /[Ll]ogs/ 7 | /UserSettings/ 8 | /Assets/AssetStoreTools* 9 | 10 | # Visual Studio 2015 cache directory 11 | /.vs/ 12 | /.idea/ 13 | 14 | # Autogenerated VS/MD/Consulo solution and project files 15 | ExportedObj/ 16 | .consulo/ 17 | *.csproj 18 | *.unityproj 19 | *.sln 20 | *.suo 21 | *.tmp 22 | *.user 23 | *.userprefs 24 | *.pidb 25 | *.booproj 26 | *.svd 27 | *.pdb 28 | 29 | # Unity3D generated meta files 30 | *.pidb.meta 31 | 32 | # Unity3D Generated File On Crash Reports 33 | sysinfo.txt 34 | 35 | # Builds 36 | *.apk 37 | *.unitypackage 38 | .DS_Store -------------------------------------------------------------------------------- /Assets/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b4067f155424fe4cb834859d3e70d91 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Models/New Prefab.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &467922167854942182 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 2260699176600674529} 12 | - component: {fileID: 1217039865152870338} 13 | - component: {fileID: 4917471396012504160} 14 | m_Layer: 0 15 | m_Name: Another New Mesh 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &2260699176600674529 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 467922167854942182} 28 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 2301334429373693995} 33 | m_RootOrder: 1 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!33 &1217039865152870338 36 | MeshFilter: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 467922167854942182} 42 | m_Mesh: {fileID: -5688611087318966730, guid: 327e21ac92fa9cd419eafbf95142f582, type: 2} 43 | --- !u!23 &4917471396012504160 44 | MeshRenderer: 45 | m_ObjectHideFlags: 0 46 | m_CorrespondingSourceObject: {fileID: 0} 47 | m_PrefabInstance: {fileID: 0} 48 | m_PrefabAsset: {fileID: 0} 49 | m_GameObject: {fileID: 467922167854942182} 50 | m_Enabled: 1 51 | m_CastShadows: 1 52 | m_ReceiveShadows: 1 53 | m_DynamicOccludee: 1 54 | m_StaticShadowCaster: 0 55 | m_MotionVectors: 1 56 | m_LightProbeUsage: 1 57 | m_ReflectionProbeUsage: 1 58 | m_RayTracingMode: 2 59 | m_RayTraceProcedural: 0 60 | m_RenderingLayerMask: 1 61 | m_RendererPriority: 0 62 | m_Materials: 63 | - {fileID: 0} 64 | m_StaticBatchInfo: 65 | firstSubMesh: 0 66 | subMeshCount: 0 67 | m_StaticBatchRoot: {fileID: 0} 68 | m_ProbeAnchor: {fileID: 0} 69 | m_LightProbeVolumeOverride: {fileID: 0} 70 | m_ScaleInLightmap: 1 71 | m_ReceiveGI: 1 72 | m_PreserveUVs: 0 73 | m_IgnoreNormalsForChartDetection: 0 74 | m_ImportantGI: 0 75 | m_StitchLightmapSeams: 1 76 | m_SelectedEditorRenderState: 3 77 | m_MinimumChartSize: 4 78 | m_AutoUVMaxDistance: 0.5 79 | m_AutoUVMaxAngle: 89 80 | m_LightmapParameters: {fileID: 0} 81 | m_SortingLayerID: 0 82 | m_SortingLayer: 0 83 | m_SortingOrder: 0 84 | m_AdditionalVertexStreams: {fileID: 0} 85 | --- !u!1 &1335356392032104014 86 | GameObject: 87 | m_ObjectHideFlags: 0 88 | m_CorrespondingSourceObject: {fileID: 0} 89 | m_PrefabInstance: {fileID: 0} 90 | m_PrefabAsset: {fileID: 0} 91 | serializedVersion: 6 92 | m_Component: 93 | - component: {fileID: 5771776490323079021} 94 | - component: {fileID: 1724686015713980646} 95 | - component: {fileID: 4068031202355863479} 96 | m_Layer: 0 97 | m_Name: Another New Mesh 98 | m_TagString: Untagged 99 | m_Icon: {fileID: 0} 100 | m_NavMeshLayer: 0 101 | m_StaticEditorFlags: 0 102 | m_IsActive: 1 103 | --- !u!4 &5771776490323079021 104 | Transform: 105 | m_ObjectHideFlags: 0 106 | m_CorrespondingSourceObject: {fileID: 0} 107 | m_PrefabInstance: {fileID: 0} 108 | m_PrefabAsset: {fileID: 0} 109 | m_GameObject: {fileID: 1335356392032104014} 110 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 111 | m_LocalPosition: {x: 0, y: 0, z: 0} 112 | m_LocalScale: {x: 1, y: 1, z: 1} 113 | m_Children: [] 114 | m_Father: {fileID: 2301334429373693995} 115 | m_RootOrder: 2 116 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 117 | --- !u!33 &1724686015713980646 118 | MeshFilter: 119 | m_ObjectHideFlags: 0 120 | m_CorrespondingSourceObject: {fileID: 0} 121 | m_PrefabInstance: {fileID: 0} 122 | m_PrefabAsset: {fileID: 0} 123 | m_GameObject: {fileID: 1335356392032104014} 124 | m_Mesh: {fileID: 4004957289156241349, guid: 327e21ac92fa9cd419eafbf95142f582, type: 2} 125 | --- !u!23 &4068031202355863479 126 | MeshRenderer: 127 | m_ObjectHideFlags: 0 128 | m_CorrespondingSourceObject: {fileID: 0} 129 | m_PrefabInstance: {fileID: 0} 130 | m_PrefabAsset: {fileID: 0} 131 | m_GameObject: {fileID: 1335356392032104014} 132 | m_Enabled: 1 133 | m_CastShadows: 1 134 | m_ReceiveShadows: 1 135 | m_DynamicOccludee: 1 136 | m_StaticShadowCaster: 0 137 | m_MotionVectors: 1 138 | m_LightProbeUsage: 1 139 | m_ReflectionProbeUsage: 1 140 | m_RayTracingMode: 2 141 | m_RayTraceProcedural: 0 142 | m_RenderingLayerMask: 1 143 | m_RendererPriority: 0 144 | m_Materials: 145 | - {fileID: 0} 146 | m_StaticBatchInfo: 147 | firstSubMesh: 0 148 | subMeshCount: 0 149 | m_StaticBatchRoot: {fileID: 0} 150 | m_ProbeAnchor: {fileID: 0} 151 | m_LightProbeVolumeOverride: {fileID: 0} 152 | m_ScaleInLightmap: 1 153 | m_ReceiveGI: 1 154 | m_PreserveUVs: 0 155 | m_IgnoreNormalsForChartDetection: 0 156 | m_ImportantGI: 0 157 | m_StitchLightmapSeams: 1 158 | m_SelectedEditorRenderState: 3 159 | m_MinimumChartSize: 4 160 | m_AutoUVMaxDistance: 0.5 161 | m_AutoUVMaxAngle: 89 162 | m_LightmapParameters: {fileID: 0} 163 | m_SortingLayerID: 0 164 | m_SortingLayer: 0 165 | m_SortingOrder: 0 166 | m_AdditionalVertexStreams: {fileID: 0} 167 | --- !u!1 &2906129586732037019 168 | GameObject: 169 | m_ObjectHideFlags: 0 170 | m_CorrespondingSourceObject: {fileID: 0} 171 | m_PrefabInstance: {fileID: 0} 172 | m_PrefabAsset: {fileID: 0} 173 | serializedVersion: 6 174 | m_Component: 175 | - component: {fileID: 2301334429373693995} 176 | m_Layer: 0 177 | m_Name: New Prefab 178 | m_TagString: Untagged 179 | m_Icon: {fileID: 0} 180 | m_NavMeshLayer: 0 181 | m_StaticEditorFlags: 0 182 | m_IsActive: 1 183 | --- !u!4 &2301334429373693995 184 | Transform: 185 | m_ObjectHideFlags: 0 186 | m_CorrespondingSourceObject: {fileID: 0} 187 | m_PrefabInstance: {fileID: 0} 188 | m_PrefabAsset: {fileID: 0} 189 | m_GameObject: {fileID: 2906129586732037019} 190 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 191 | m_LocalPosition: {x: 0, y: 0, z: 0} 192 | m_LocalScale: {x: 1, y: 1, z: 1} 193 | m_Children: 194 | - {fileID: 7687312940130500752} 195 | - {fileID: 2260699176600674529} 196 | - {fileID: 5771776490323079021} 197 | m_Father: {fileID: 0} 198 | m_RootOrder: 0 199 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 200 | --- !u!1 &7039666014924056135 201 | GameObject: 202 | m_ObjectHideFlags: 0 203 | m_CorrespondingSourceObject: {fileID: 0} 204 | m_PrefabInstance: {fileID: 0} 205 | m_PrefabAsset: {fileID: 0} 206 | serializedVersion: 6 207 | m_Component: 208 | - component: {fileID: 7687312940130500752} 209 | - component: {fileID: 4591030820129031579} 210 | - component: {fileID: 9081700407600978870} 211 | m_Layer: 0 212 | m_Name: NewMesh 213 | m_TagString: Untagged 214 | m_Icon: {fileID: 0} 215 | m_NavMeshLayer: 0 216 | m_StaticEditorFlags: 0 217 | m_IsActive: 1 218 | --- !u!4 &7687312940130500752 219 | Transform: 220 | m_ObjectHideFlags: 0 221 | m_CorrespondingSourceObject: {fileID: 0} 222 | m_PrefabInstance: {fileID: 0} 223 | m_PrefabAsset: {fileID: 0} 224 | m_GameObject: {fileID: 7039666014924056135} 225 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 226 | m_LocalPosition: {x: 0, y: 0, z: 0} 227 | m_LocalScale: {x: 1, y: 1, z: 1} 228 | m_Children: [] 229 | m_Father: {fileID: 2301334429373693995} 230 | m_RootOrder: 0 231 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 232 | --- !u!33 &4591030820129031579 233 | MeshFilter: 234 | m_ObjectHideFlags: 0 235 | m_CorrespondingSourceObject: {fileID: 0} 236 | m_PrefabInstance: {fileID: 0} 237 | m_PrefabAsset: {fileID: 0} 238 | m_GameObject: {fileID: 7039666014924056135} 239 | m_Mesh: {fileID: 4300000, guid: 327e21ac92fa9cd419eafbf95142f582, type: 2} 240 | --- !u!23 &9081700407600978870 241 | MeshRenderer: 242 | m_ObjectHideFlags: 0 243 | m_CorrespondingSourceObject: {fileID: 0} 244 | m_PrefabInstance: {fileID: 0} 245 | m_PrefabAsset: {fileID: 0} 246 | m_GameObject: {fileID: 7039666014924056135} 247 | m_Enabled: 1 248 | m_CastShadows: 1 249 | m_ReceiveShadows: 1 250 | m_DynamicOccludee: 1 251 | m_StaticShadowCaster: 0 252 | m_MotionVectors: 1 253 | m_LightProbeUsage: 1 254 | m_ReflectionProbeUsage: 1 255 | m_RayTracingMode: 2 256 | m_RayTraceProcedural: 0 257 | m_RenderingLayerMask: 1 258 | m_RendererPriority: 0 259 | m_Materials: 260 | - {fileID: 0} 261 | m_StaticBatchInfo: 262 | firstSubMesh: 0 263 | subMeshCount: 0 264 | m_StaticBatchRoot: {fileID: 0} 265 | m_ProbeAnchor: {fileID: 0} 266 | m_LightProbeVolumeOverride: {fileID: 0} 267 | m_ScaleInLightmap: 1 268 | m_ReceiveGI: 1 269 | m_PreserveUVs: 0 270 | m_IgnoreNormalsForChartDetection: 0 271 | m_ImportantGI: 0 272 | m_StitchLightmapSeams: 1 273 | m_SelectedEditorRenderState: 3 274 | m_MinimumChartSize: 4 275 | m_AutoUVMaxDistance: 0.5 276 | m_AutoUVMaxAngle: 89 277 | m_LightmapParameters: {fileID: 0} 278 | m_SortingLayerID: 0 279 | m_SortingLayer: 0 280 | m_SortingOrder: 0 281 | m_AdditionalVertexStreams: {fileID: 0} 282 | -------------------------------------------------------------------------------- /Assets/Models/New Prefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff6ee0808b0005547b4f76c86b1054cf 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Models/NewMesh.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!43 &-5688611087318966730 4 | Mesh: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: Another New Mesh 10 | serializedVersion: 10 11 | m_SubMeshes: 12 | - serializedVersion: 2 13 | firstByte: 0 14 | indexCount: 0 15 | topology: 0 16 | baseVertex: 0 17 | firstVertex: 0 18 | vertexCount: 0 19 | localAABB: 20 | m_Center: {x: 0, y: 0, z: 0} 21 | m_Extent: {x: 0, y: 0, z: 0} 22 | m_Shapes: 23 | vertices: [] 24 | shapes: [] 25 | channels: [] 26 | fullWeights: [] 27 | m_BindPose: [] 28 | m_BoneNameHashes: 29 | m_RootBoneNameHash: 0 30 | m_BonesAABB: [] 31 | m_VariableBoneCountWeights: 32 | m_Data: 33 | m_MeshCompression: 0 34 | m_IsReadable: 1 35 | m_KeepVertices: 1 36 | m_KeepIndices: 1 37 | m_IndexFormat: 0 38 | m_IndexBuffer: 39 | m_VertexData: 40 | serializedVersion: 3 41 | m_VertexCount: 0 42 | m_Channels: 43 | - stream: 0 44 | offset: 0 45 | format: 0 46 | dimension: 0 47 | - stream: 0 48 | offset: 0 49 | format: 0 50 | dimension: 0 51 | - stream: 0 52 | offset: 0 53 | format: 0 54 | dimension: 0 55 | - stream: 0 56 | offset: 0 57 | format: 0 58 | dimension: 0 59 | - stream: 0 60 | offset: 0 61 | format: 0 62 | dimension: 0 63 | - stream: 0 64 | offset: 0 65 | format: 0 66 | dimension: 0 67 | - stream: 0 68 | offset: 0 69 | format: 0 70 | dimension: 0 71 | - stream: 0 72 | offset: 0 73 | format: 0 74 | dimension: 0 75 | - stream: 0 76 | offset: 0 77 | format: 0 78 | dimension: 0 79 | - stream: 0 80 | offset: 0 81 | format: 0 82 | dimension: 0 83 | - stream: 0 84 | offset: 0 85 | format: 0 86 | dimension: 0 87 | - stream: 0 88 | offset: 0 89 | format: 0 90 | dimension: 0 91 | - stream: 0 92 | offset: 0 93 | format: 0 94 | dimension: 0 95 | - stream: 0 96 | offset: 0 97 | format: 0 98 | dimension: 0 99 | m_DataSize: 0 100 | _typelessdata: 101 | m_CompressedMesh: 102 | m_Vertices: 103 | m_NumItems: 0 104 | m_Range: 0 105 | m_Start: 0 106 | m_Data: 107 | m_BitSize: 0 108 | m_UV: 109 | m_NumItems: 0 110 | m_Range: 0 111 | m_Start: 0 112 | m_Data: 113 | m_BitSize: 0 114 | m_Normals: 115 | m_NumItems: 0 116 | m_Range: 0 117 | m_Start: 0 118 | m_Data: 119 | m_BitSize: 0 120 | m_Tangents: 121 | m_NumItems: 0 122 | m_Range: 0 123 | m_Start: 0 124 | m_Data: 125 | m_BitSize: 0 126 | m_Weights: 127 | m_NumItems: 0 128 | m_Data: 129 | m_BitSize: 0 130 | m_NormalSigns: 131 | m_NumItems: 0 132 | m_Data: 133 | m_BitSize: 0 134 | m_TangentSigns: 135 | m_NumItems: 0 136 | m_Data: 137 | m_BitSize: 0 138 | m_FloatColors: 139 | m_NumItems: 0 140 | m_Range: 0 141 | m_Start: 0 142 | m_Data: 143 | m_BitSize: 0 144 | m_BoneIndices: 145 | m_NumItems: 0 146 | m_Data: 147 | m_BitSize: 0 148 | m_Triangles: 149 | m_NumItems: 0 150 | m_Data: 151 | m_BitSize: 0 152 | m_UVInfo: 0 153 | m_LocalAABB: 154 | m_Center: {x: 0, y: 0, z: 0} 155 | m_Extent: {x: 0, y: 0, z: 0} 156 | m_MeshUsageFlags: 0 157 | m_BakedConvexCollisionMesh: 158 | m_BakedTriangleCollisionMesh: 159 | m_MeshMetrics[0]: 1 160 | m_MeshMetrics[1]: 1 161 | m_MeshOptimizationFlags: 1 162 | m_StreamData: 163 | serializedVersion: 2 164 | offset: 0 165 | size: 0 166 | path: 167 | --- !u!43 &4300000 168 | Mesh: 169 | m_ObjectHideFlags: 0 170 | m_CorrespondingSourceObject: {fileID: 0} 171 | m_PrefabInstance: {fileID: 0} 172 | m_PrefabAsset: {fileID: 0} 173 | m_Name: NewMesh 174 | serializedVersion: 10 175 | m_SubMeshes: 176 | - serializedVersion: 2 177 | firstByte: 0 178 | indexCount: 0 179 | topology: 0 180 | baseVertex: 0 181 | firstVertex: 0 182 | vertexCount: 0 183 | localAABB: 184 | m_Center: {x: 0, y: 0, z: 0} 185 | m_Extent: {x: 0, y: 0, z: 0} 186 | m_Shapes: 187 | vertices: [] 188 | shapes: [] 189 | channels: [] 190 | fullWeights: [] 191 | m_BindPose: [] 192 | m_BoneNameHashes: 193 | m_RootBoneNameHash: 0 194 | m_BonesAABB: [] 195 | m_VariableBoneCountWeights: 196 | m_Data: 197 | m_MeshCompression: 0 198 | m_IsReadable: 1 199 | m_KeepVertices: 1 200 | m_KeepIndices: 1 201 | m_IndexFormat: 0 202 | m_IndexBuffer: 203 | m_VertexData: 204 | serializedVersion: 3 205 | m_VertexCount: 0 206 | m_Channels: 207 | - stream: 0 208 | offset: 0 209 | format: 0 210 | dimension: 0 211 | - stream: 0 212 | offset: 0 213 | format: 0 214 | dimension: 0 215 | - stream: 0 216 | offset: 0 217 | format: 0 218 | dimension: 0 219 | - stream: 0 220 | offset: 0 221 | format: 0 222 | dimension: 0 223 | - stream: 0 224 | offset: 0 225 | format: 0 226 | dimension: 0 227 | - stream: 0 228 | offset: 0 229 | format: 0 230 | dimension: 0 231 | - stream: 0 232 | offset: 0 233 | format: 0 234 | dimension: 0 235 | - stream: 0 236 | offset: 0 237 | format: 0 238 | dimension: 0 239 | - stream: 0 240 | offset: 0 241 | format: 0 242 | dimension: 0 243 | - stream: 0 244 | offset: 0 245 | format: 0 246 | dimension: 0 247 | - stream: 0 248 | offset: 0 249 | format: 0 250 | dimension: 0 251 | - stream: 0 252 | offset: 0 253 | format: 0 254 | dimension: 0 255 | - stream: 0 256 | offset: 0 257 | format: 0 258 | dimension: 0 259 | - stream: 0 260 | offset: 0 261 | format: 0 262 | dimension: 0 263 | m_DataSize: 0 264 | _typelessdata: 265 | m_CompressedMesh: 266 | m_Vertices: 267 | m_NumItems: 0 268 | m_Range: 0 269 | m_Start: 0 270 | m_Data: 271 | m_BitSize: 0 272 | m_UV: 273 | m_NumItems: 0 274 | m_Range: 0 275 | m_Start: 0 276 | m_Data: 277 | m_BitSize: 0 278 | m_Normals: 279 | m_NumItems: 0 280 | m_Range: 0 281 | m_Start: 0 282 | m_Data: 283 | m_BitSize: 0 284 | m_Tangents: 285 | m_NumItems: 0 286 | m_Range: 0 287 | m_Start: 0 288 | m_Data: 289 | m_BitSize: 0 290 | m_Weights: 291 | m_NumItems: 0 292 | m_Data: 293 | m_BitSize: 0 294 | m_NormalSigns: 295 | m_NumItems: 0 296 | m_Data: 297 | m_BitSize: 0 298 | m_TangentSigns: 299 | m_NumItems: 0 300 | m_Data: 301 | m_BitSize: 0 302 | m_FloatColors: 303 | m_NumItems: 0 304 | m_Range: 0 305 | m_Start: 0 306 | m_Data: 307 | m_BitSize: 0 308 | m_BoneIndices: 309 | m_NumItems: 0 310 | m_Data: 311 | m_BitSize: 0 312 | m_Triangles: 313 | m_NumItems: 0 314 | m_Data: 315 | m_BitSize: 0 316 | m_UVInfo: 0 317 | m_LocalAABB: 318 | m_Center: {x: 0, y: 0, z: 0} 319 | m_Extent: {x: 0, y: 0, z: 0} 320 | m_MeshUsageFlags: 0 321 | m_BakedConvexCollisionMesh: 322 | m_BakedTriangleCollisionMesh: 323 | m_MeshMetrics[0]: 1 324 | m_MeshMetrics[1]: 1 325 | m_MeshOptimizationFlags: 1 326 | m_StreamData: 327 | serializedVersion: 2 328 | offset: 0 329 | size: 0 330 | path: 331 | --- !u!43 &791343058870248991 332 | Mesh: 333 | m_ObjectHideFlags: 0 334 | m_CorrespondingSourceObject: {fileID: 0} 335 | m_PrefabInstance: {fileID: 0} 336 | m_PrefabAsset: {fileID: 0} 337 | m_Name: Another New Mesh 338 | serializedVersion: 10 339 | m_SubMeshes: 340 | - serializedVersion: 2 341 | firstByte: 0 342 | indexCount: 0 343 | topology: 0 344 | baseVertex: 0 345 | firstVertex: 0 346 | vertexCount: 0 347 | localAABB: 348 | m_Center: {x: 0, y: 0, z: 0} 349 | m_Extent: {x: 0, y: 0, z: 0} 350 | m_Shapes: 351 | vertices: [] 352 | shapes: [] 353 | channels: [] 354 | fullWeights: [] 355 | m_BindPose: [] 356 | m_BoneNameHashes: 357 | m_RootBoneNameHash: 0 358 | m_BonesAABB: [] 359 | m_VariableBoneCountWeights: 360 | m_Data: 361 | m_MeshCompression: 0 362 | m_IsReadable: 1 363 | m_KeepVertices: 1 364 | m_KeepIndices: 1 365 | m_IndexFormat: 0 366 | m_IndexBuffer: 367 | m_VertexData: 368 | serializedVersion: 3 369 | m_VertexCount: 0 370 | m_Channels: 371 | - stream: 0 372 | offset: 0 373 | format: 0 374 | dimension: 0 375 | - stream: 0 376 | offset: 0 377 | format: 0 378 | dimension: 0 379 | - stream: 0 380 | offset: 0 381 | format: 0 382 | dimension: 0 383 | - stream: 0 384 | offset: 0 385 | format: 0 386 | dimension: 0 387 | - stream: 0 388 | offset: 0 389 | format: 0 390 | dimension: 0 391 | - stream: 0 392 | offset: 0 393 | format: 0 394 | dimension: 0 395 | - stream: 0 396 | offset: 0 397 | format: 0 398 | dimension: 0 399 | - stream: 0 400 | offset: 0 401 | format: 0 402 | dimension: 0 403 | - stream: 0 404 | offset: 0 405 | format: 0 406 | dimension: 0 407 | - stream: 0 408 | offset: 0 409 | format: 0 410 | dimension: 0 411 | - stream: 0 412 | offset: 0 413 | format: 0 414 | dimension: 0 415 | - stream: 0 416 | offset: 0 417 | format: 0 418 | dimension: 0 419 | - stream: 0 420 | offset: 0 421 | format: 0 422 | dimension: 0 423 | - stream: 0 424 | offset: 0 425 | format: 0 426 | dimension: 0 427 | m_DataSize: 0 428 | _typelessdata: 429 | m_CompressedMesh: 430 | m_Vertices: 431 | m_NumItems: 0 432 | m_Range: 0 433 | m_Start: 0 434 | m_Data: 435 | m_BitSize: 0 436 | m_UV: 437 | m_NumItems: 0 438 | m_Range: 0 439 | m_Start: 0 440 | m_Data: 441 | m_BitSize: 0 442 | m_Normals: 443 | m_NumItems: 0 444 | m_Range: 0 445 | m_Start: 0 446 | m_Data: 447 | m_BitSize: 0 448 | m_Tangents: 449 | m_NumItems: 0 450 | m_Range: 0 451 | m_Start: 0 452 | m_Data: 453 | m_BitSize: 0 454 | m_Weights: 455 | m_NumItems: 0 456 | m_Data: 457 | m_BitSize: 0 458 | m_NormalSigns: 459 | m_NumItems: 0 460 | m_Data: 461 | m_BitSize: 0 462 | m_TangentSigns: 463 | m_NumItems: 0 464 | m_Data: 465 | m_BitSize: 0 466 | m_FloatColors: 467 | m_NumItems: 0 468 | m_Range: 0 469 | m_Start: 0 470 | m_Data: 471 | m_BitSize: 0 472 | m_BoneIndices: 473 | m_NumItems: 0 474 | m_Data: 475 | m_BitSize: 0 476 | m_Triangles: 477 | m_NumItems: 0 478 | m_Data: 479 | m_BitSize: 0 480 | m_UVInfo: 0 481 | m_LocalAABB: 482 | m_Center: {x: 0, y: 0, z: 0} 483 | m_Extent: {x: 0, y: 0, z: 0} 484 | m_MeshUsageFlags: 0 485 | m_BakedConvexCollisionMesh: 486 | m_BakedTriangleCollisionMesh: 487 | m_MeshMetrics[0]: 1 488 | m_MeshMetrics[1]: 1 489 | m_MeshOptimizationFlags: 1 490 | m_StreamData: 491 | serializedVersion: 2 492 | offset: 0 493 | size: 0 494 | path: 495 | --- !u!43 &4004957289156241349 496 | Mesh: 497 | m_ObjectHideFlags: 0 498 | m_CorrespondingSourceObject: {fileID: 0} 499 | m_PrefabInstance: {fileID: 0} 500 | m_PrefabAsset: {fileID: 0} 501 | m_Name: Another New Mesh 502 | serializedVersion: 10 503 | m_SubMeshes: 504 | - serializedVersion: 2 505 | firstByte: 0 506 | indexCount: 0 507 | topology: 0 508 | baseVertex: 0 509 | firstVertex: 0 510 | vertexCount: 0 511 | localAABB: 512 | m_Center: {x: 0, y: 0, z: 0} 513 | m_Extent: {x: 0, y: 0, z: 0} 514 | m_Shapes: 515 | vertices: [] 516 | shapes: [] 517 | channels: [] 518 | fullWeights: [] 519 | m_BindPose: [] 520 | m_BoneNameHashes: 521 | m_RootBoneNameHash: 0 522 | m_BonesAABB: [] 523 | m_VariableBoneCountWeights: 524 | m_Data: 525 | m_MeshCompression: 0 526 | m_IsReadable: 1 527 | m_KeepVertices: 1 528 | m_KeepIndices: 1 529 | m_IndexFormat: 0 530 | m_IndexBuffer: 531 | m_VertexData: 532 | serializedVersion: 3 533 | m_VertexCount: 0 534 | m_Channels: 535 | - stream: 0 536 | offset: 0 537 | format: 0 538 | dimension: 0 539 | - stream: 0 540 | offset: 0 541 | format: 0 542 | dimension: 0 543 | - stream: 0 544 | offset: 0 545 | format: 0 546 | dimension: 0 547 | - stream: 0 548 | offset: 0 549 | format: 0 550 | dimension: 0 551 | - stream: 0 552 | offset: 0 553 | format: 0 554 | dimension: 0 555 | - stream: 0 556 | offset: 0 557 | format: 0 558 | dimension: 0 559 | - stream: 0 560 | offset: 0 561 | format: 0 562 | dimension: 0 563 | - stream: 0 564 | offset: 0 565 | format: 0 566 | dimension: 0 567 | - stream: 0 568 | offset: 0 569 | format: 0 570 | dimension: 0 571 | - stream: 0 572 | offset: 0 573 | format: 0 574 | dimension: 0 575 | - stream: 0 576 | offset: 0 577 | format: 0 578 | dimension: 0 579 | - stream: 0 580 | offset: 0 581 | format: 0 582 | dimension: 0 583 | - stream: 0 584 | offset: 0 585 | format: 0 586 | dimension: 0 587 | - stream: 0 588 | offset: 0 589 | format: 0 590 | dimension: 0 591 | m_DataSize: 0 592 | _typelessdata: 593 | m_CompressedMesh: 594 | m_Vertices: 595 | m_NumItems: 0 596 | m_Range: 0 597 | m_Start: 0 598 | m_Data: 599 | m_BitSize: 0 600 | m_UV: 601 | m_NumItems: 0 602 | m_Range: 0 603 | m_Start: 0 604 | m_Data: 605 | m_BitSize: 0 606 | m_Normals: 607 | m_NumItems: 0 608 | m_Range: 0 609 | m_Start: 0 610 | m_Data: 611 | m_BitSize: 0 612 | m_Tangents: 613 | m_NumItems: 0 614 | m_Range: 0 615 | m_Start: 0 616 | m_Data: 617 | m_BitSize: 0 618 | m_Weights: 619 | m_NumItems: 0 620 | m_Data: 621 | m_BitSize: 0 622 | m_NormalSigns: 623 | m_NumItems: 0 624 | m_Data: 625 | m_BitSize: 0 626 | m_TangentSigns: 627 | m_NumItems: 0 628 | m_Data: 629 | m_BitSize: 0 630 | m_FloatColors: 631 | m_NumItems: 0 632 | m_Range: 0 633 | m_Start: 0 634 | m_Data: 635 | m_BitSize: 0 636 | m_BoneIndices: 637 | m_NumItems: 0 638 | m_Data: 639 | m_BitSize: 0 640 | m_Triangles: 641 | m_NumItems: 0 642 | m_Data: 643 | m_BitSize: 0 644 | m_UVInfo: 0 645 | m_LocalAABB: 646 | m_Center: {x: 0, y: 0, z: 0} 647 | m_Extent: {x: 0, y: 0, z: 0} 648 | m_MeshUsageFlags: 0 649 | m_BakedConvexCollisionMesh: 650 | m_BakedTriangleCollisionMesh: 651 | m_MeshMetrics[0]: 1 652 | m_MeshMetrics[1]: 1 653 | m_MeshOptimizationFlags: 1 654 | m_StreamData: 655 | serializedVersion: 2 656 | offset: 0 657 | size: 0 658 | path: 659 | --- !u!43 &5249779028133679946 660 | Mesh: 661 | m_ObjectHideFlags: 0 662 | m_CorrespondingSourceObject: {fileID: 0} 663 | m_PrefabInstance: {fileID: 0} 664 | m_PrefabAsset: {fileID: 0} 665 | m_Name: Another New Mesh 666 | serializedVersion: 10 667 | m_SubMeshes: 668 | - serializedVersion: 2 669 | firstByte: 0 670 | indexCount: 0 671 | topology: 0 672 | baseVertex: 0 673 | firstVertex: 0 674 | vertexCount: 0 675 | localAABB: 676 | m_Center: {x: 0, y: 0, z: 0} 677 | m_Extent: {x: 0, y: 0, z: 0} 678 | m_Shapes: 679 | vertices: [] 680 | shapes: [] 681 | channels: [] 682 | fullWeights: [] 683 | m_BindPose: [] 684 | m_BoneNameHashes: 685 | m_RootBoneNameHash: 0 686 | m_BonesAABB: [] 687 | m_VariableBoneCountWeights: 688 | m_Data: 689 | m_MeshCompression: 0 690 | m_IsReadable: 1 691 | m_KeepVertices: 1 692 | m_KeepIndices: 1 693 | m_IndexFormat: 0 694 | m_IndexBuffer: 695 | m_VertexData: 696 | serializedVersion: 3 697 | m_VertexCount: 0 698 | m_Channels: 699 | - stream: 0 700 | offset: 0 701 | format: 0 702 | dimension: 0 703 | - stream: 0 704 | offset: 0 705 | format: 0 706 | dimension: 0 707 | - stream: 0 708 | offset: 0 709 | format: 0 710 | dimension: 0 711 | - stream: 0 712 | offset: 0 713 | format: 0 714 | dimension: 0 715 | - stream: 0 716 | offset: 0 717 | format: 0 718 | dimension: 0 719 | - stream: 0 720 | offset: 0 721 | format: 0 722 | dimension: 0 723 | - stream: 0 724 | offset: 0 725 | format: 0 726 | dimension: 0 727 | - stream: 0 728 | offset: 0 729 | format: 0 730 | dimension: 0 731 | - stream: 0 732 | offset: 0 733 | format: 0 734 | dimension: 0 735 | - stream: 0 736 | offset: 0 737 | format: 0 738 | dimension: 0 739 | - stream: 0 740 | offset: 0 741 | format: 0 742 | dimension: 0 743 | - stream: 0 744 | offset: 0 745 | format: 0 746 | dimension: 0 747 | - stream: 0 748 | offset: 0 749 | format: 0 750 | dimension: 0 751 | - stream: 0 752 | offset: 0 753 | format: 0 754 | dimension: 0 755 | m_DataSize: 0 756 | _typelessdata: 757 | m_CompressedMesh: 758 | m_Vertices: 759 | m_NumItems: 0 760 | m_Range: 0 761 | m_Start: 0 762 | m_Data: 763 | m_BitSize: 0 764 | m_UV: 765 | m_NumItems: 0 766 | m_Range: 0 767 | m_Start: 0 768 | m_Data: 769 | m_BitSize: 0 770 | m_Normals: 771 | m_NumItems: 0 772 | m_Range: 0 773 | m_Start: 0 774 | m_Data: 775 | m_BitSize: 0 776 | m_Tangents: 777 | m_NumItems: 0 778 | m_Range: 0 779 | m_Start: 0 780 | m_Data: 781 | m_BitSize: 0 782 | m_Weights: 783 | m_NumItems: 0 784 | m_Data: 785 | m_BitSize: 0 786 | m_NormalSigns: 787 | m_NumItems: 0 788 | m_Data: 789 | m_BitSize: 0 790 | m_TangentSigns: 791 | m_NumItems: 0 792 | m_Data: 793 | m_BitSize: 0 794 | m_FloatColors: 795 | m_NumItems: 0 796 | m_Range: 0 797 | m_Start: 0 798 | m_Data: 799 | m_BitSize: 0 800 | m_BoneIndices: 801 | m_NumItems: 0 802 | m_Data: 803 | m_BitSize: 0 804 | m_Triangles: 805 | m_NumItems: 0 806 | m_Data: 807 | m_BitSize: 0 808 | m_UVInfo: 0 809 | m_LocalAABB: 810 | m_Center: {x: 0, y: 0, z: 0} 811 | m_Extent: {x: 0, y: 0, z: 0} 812 | m_MeshUsageFlags: 0 813 | m_BakedConvexCollisionMesh: 814 | m_BakedTriangleCollisionMesh: 815 | m_MeshMetrics[0]: 1 816 | m_MeshMetrics[1]: 1 817 | m_MeshOptimizationFlags: 1 818 | m_StreamData: 819 | serializedVersion: 2 820 | offset: 0 821 | size: 0 822 | path: 823 | -------------------------------------------------------------------------------- /Assets/Models/NewMesh.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 327e21ac92fa9cd419eafbf95142f582 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 4300000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Models/SkinnedWorm.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bzgeb/AutomaticColliderGeneration/1d68ce8afa9fc8ccced26ede43556dcfeaa2c582/Assets/Models/SkinnedWorm.fbx -------------------------------------------------------------------------------- /Assets/Models/SkinnedWorm.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f28824c2c2de3b346a2aa79c1aee0bd9 3 | ModelImporter: 4 | serializedVersion: 21100 5 | internalIDToNameTable: [] 6 | externalObjects: {} 7 | materials: 8 | materialImportMode: 2 9 | materialName: 0 10 | materialSearch: 1 11 | materialLocation: 1 12 | animations: 13 | legacyGenerateAnimations: 4 14 | bakeSimulation: 0 15 | resampleCurves: 1 16 | optimizeGameObjects: 0 17 | motionNodeName: 18 | rigImportErrors: 19 | rigImportWarnings: 20 | animationImportErrors: 21 | animationImportWarnings: 22 | animationRetargetingWarnings: 23 | animationDoRetargetingWarnings: 0 24 | importAnimatedCustomProperties: 0 25 | importConstraints: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | extraUserProperties: [] 33 | clipAnimations: [] 34 | isReadable: 0 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 1 38 | meshCompression: 0 39 | addColliders: 0 40 | useSRGBMaterialColor: 1 41 | sortHierarchyByName: 0 42 | importVisibility: 0 43 | importBlendShapes: 0 44 | importCameras: 0 45 | importLights: 0 46 | fileIdsGeneration: 2 47 | swapUVChannels: 0 48 | generateSecondaryUV: 0 49 | useFileUnits: 1 50 | keepQuads: 0 51 | weldVertices: 1 52 | bakeAxisConversion: 0 53 | preserveHierarchy: 0 54 | skinWeightsMode: 0 55 | maxBonesPerVertex: 4 56 | minBoneWeight: 0.001 57 | meshOptimizationFlags: 2147483647 58 | indexFormat: 0 59 | secondaryUVAngleDistortion: 8 60 | secondaryUVAreaDistortion: 15.000001 61 | secondaryUVHardAngle: 88 62 | secondaryUVMarginMethod: 1 63 | secondaryUVMinLightmapResolution: 40 64 | secondaryUVMinObjectScale: 1 65 | secondaryUVPackMargin: 4 66 | useFileScale: 1 67 | tangentSpace: 68 | normalSmoothAngle: 60 69 | normalImportMode: 0 70 | tangentImportMode: 3 71 | normalCalculationMode: 4 72 | legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 73 | blendShapeNormalImportMode: 1 74 | normalSmoothingSource: 0 75 | referencedClips: [] 76 | importAnimation: 1 77 | humanDescription: 78 | serializedVersion: 3 79 | human: [] 80 | skeleton: [] 81 | armTwist: 0.5 82 | foreArmTwist: 0.5 83 | upperLegTwist: 0.5 84 | legTwist: 0.5 85 | armStretch: 0.05 86 | legStretch: 0.05 87 | feetSpacing: 0 88 | globalScale: 1 89 | rootMotionBoneName: 90 | hasTranslationDoF: 0 91 | hasExtraRoot: 0 92 | skeletonHasParents: 1 93 | lastHumanDescriptionAvatarSource: {instanceID: 0} 94 | autoGenerateAvatarMappingIfUnspecified: 1 95 | animationType: 2 96 | humanoidOversampling: 1 97 | avatarSetup: 0 98 | addHumanoidExtraRootOnlyWhenUsingAvatar: 1 99 | additionalBone: 0 100 | userData: 101 | assetBundleName: 102 | assetBundleVariant: 103 | -------------------------------------------------------------------------------- /Assets/Models/TestCubeHierarchy.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bzgeb/AutomaticColliderGeneration/1d68ce8afa9fc8ccced26ede43556dcfeaa2c582/Assets/Models/TestCubeHierarchy.fbx -------------------------------------------------------------------------------- /Assets/Models/TestCubeHierarchy.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c804623264584be408578319ed440219 3 | ModelImporter: 4 | serializedVersion: 21100 5 | internalIDToNameTable: [] 6 | externalObjects: {} 7 | materials: 8 | materialImportMode: 2 9 | materialName: 0 10 | materialSearch: 1 11 | materialLocation: 1 12 | animations: 13 | legacyGenerateAnimations: 4 14 | bakeSimulation: 0 15 | resampleCurves: 1 16 | optimizeGameObjects: 0 17 | motionNodeName: 18 | rigImportErrors: 19 | rigImportWarnings: 20 | animationImportErrors: 21 | animationImportWarnings: 22 | animationRetargetingWarnings: 23 | animationDoRetargetingWarnings: 0 24 | importAnimatedCustomProperties: 0 25 | importConstraints: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | extraUserProperties: [] 33 | clipAnimations: [] 34 | isReadable: 0 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 1 38 | meshCompression: 0 39 | addColliders: 0 40 | useSRGBMaterialColor: 1 41 | sortHierarchyByName: 1 42 | importVisibility: 1 43 | importBlendShapes: 1 44 | importCameras: 1 45 | importLights: 1 46 | fileIdsGeneration: 2 47 | swapUVChannels: 0 48 | generateSecondaryUV: 0 49 | useFileUnits: 1 50 | keepQuads: 0 51 | weldVertices: 1 52 | bakeAxisConversion: 0 53 | preserveHierarchy: 0 54 | skinWeightsMode: 0 55 | maxBonesPerVertex: 4 56 | minBoneWeight: 0.001 57 | meshOptimizationFlags: -1 58 | indexFormat: 0 59 | secondaryUVAngleDistortion: 8 60 | secondaryUVAreaDistortion: 15.000001 61 | secondaryUVHardAngle: 88 62 | secondaryUVMarginMethod: 1 63 | secondaryUVMinLightmapResolution: 40 64 | secondaryUVMinObjectScale: 1 65 | secondaryUVPackMargin: 4 66 | useFileScale: 1 67 | tangentSpace: 68 | normalSmoothAngle: 60 69 | normalImportMode: 0 70 | tangentImportMode: 3 71 | normalCalculationMode: 4 72 | legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 73 | blendShapeNormalImportMode: 1 74 | normalSmoothingSource: 0 75 | referencedClips: [] 76 | importAnimation: 1 77 | humanDescription: 78 | serializedVersion: 3 79 | human: [] 80 | skeleton: [] 81 | armTwist: 0.5 82 | foreArmTwist: 0.5 83 | upperLegTwist: 0.5 84 | legTwist: 0.5 85 | armStretch: 0.05 86 | legStretch: 0.05 87 | feetSpacing: 0 88 | globalScale: 1 89 | rootMotionBoneName: 90 | hasTranslationDoF: 0 91 | hasExtraRoot: 0 92 | skeletonHasParents: 1 93 | lastHumanDescriptionAvatarSource: {instanceID: 0} 94 | autoGenerateAvatarMappingIfUnspecified: 1 95 | animationType: 2 96 | humanoidOversampling: 1 97 | avatarSetup: 0 98 | addHumanoidExtraRootOnlyWhenUsingAvatar: 1 99 | additionalBone: 0 100 | userData: 101 | assetBundleName: 102 | assetBundleVariant: 103 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2277c83cfcf07c8468b064e00beabaf8 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 705507994} 41 | m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 12 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 500 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 2 83 | m_PVRDenoiserTypeDirect: 0 84 | m_PVRDenoiserTypeIndirect: 0 85 | m_PVRDenoiserTypeAO: 0 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 0 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ExportTrainingData: 0 98 | m_TrainingDataDestination: TrainingData 99 | m_LightProbeSampleCountMultiplier: 4 100 | m_LightingDataAsset: {fileID: 0} 101 | m_LightingSettings: {fileID: 0} 102 | --- !u!196 &4 103 | NavMeshSettings: 104 | serializedVersion: 2 105 | m_ObjectHideFlags: 0 106 | m_BuildSettings: 107 | serializedVersion: 2 108 | agentTypeID: 0 109 | agentRadius: 0.5 110 | agentHeight: 2 111 | agentSlope: 45 112 | agentClimb: 0.4 113 | ledgeDropHeight: 0 114 | maxJumpAcrossDistance: 0 115 | minRegionArea: 2 116 | manualCellSize: 0 117 | cellSize: 0.16666667 118 | manualTileSize: 0 119 | tileSize: 256 120 | accuratePlacement: 0 121 | maxJobWorkers: 0 122 | preserveTilesOutsideBounds: 0 123 | debug: 124 | m_Flags: 0 125 | m_NavMeshData: {fileID: 0} 126 | --- !u!1 &396117520 127 | GameObject: 128 | m_ObjectHideFlags: 0 129 | m_CorrespondingSourceObject: {fileID: 0} 130 | m_PrefabInstance: {fileID: 0} 131 | m_PrefabAsset: {fileID: 0} 132 | serializedVersion: 6 133 | m_Component: 134 | - component: {fileID: 396117524} 135 | - component: {fileID: 396117523} 136 | - component: {fileID: 396117522} 137 | - component: {fileID: 396117521} 138 | m_Layer: 0 139 | m_Name: Plane 140 | m_TagString: Untagged 141 | m_Icon: {fileID: 0} 142 | m_NavMeshLayer: 0 143 | m_StaticEditorFlags: 0 144 | m_IsActive: 1 145 | --- !u!64 &396117521 146 | MeshCollider: 147 | m_ObjectHideFlags: 0 148 | m_CorrespondingSourceObject: {fileID: 0} 149 | m_PrefabInstance: {fileID: 0} 150 | m_PrefabAsset: {fileID: 0} 151 | m_GameObject: {fileID: 396117520} 152 | m_Material: {fileID: 0} 153 | m_IsTrigger: 0 154 | m_Enabled: 1 155 | serializedVersion: 4 156 | m_Convex: 0 157 | m_CookingOptions: 30 158 | m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} 159 | --- !u!23 &396117522 160 | MeshRenderer: 161 | m_ObjectHideFlags: 0 162 | m_CorrespondingSourceObject: {fileID: 0} 163 | m_PrefabInstance: {fileID: 0} 164 | m_PrefabAsset: {fileID: 0} 165 | m_GameObject: {fileID: 396117520} 166 | m_Enabled: 1 167 | m_CastShadows: 1 168 | m_ReceiveShadows: 1 169 | m_DynamicOccludee: 1 170 | m_StaticShadowCaster: 0 171 | m_MotionVectors: 1 172 | m_LightProbeUsage: 1 173 | m_ReflectionProbeUsage: 1 174 | m_RayTracingMode: 2 175 | m_RayTraceProcedural: 0 176 | m_RenderingLayerMask: 1 177 | m_RendererPriority: 0 178 | m_Materials: 179 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 180 | m_StaticBatchInfo: 181 | firstSubMesh: 0 182 | subMeshCount: 0 183 | m_StaticBatchRoot: {fileID: 0} 184 | m_ProbeAnchor: {fileID: 0} 185 | m_LightProbeVolumeOverride: {fileID: 0} 186 | m_ScaleInLightmap: 1 187 | m_ReceiveGI: 1 188 | m_PreserveUVs: 0 189 | m_IgnoreNormalsForChartDetection: 0 190 | m_ImportantGI: 0 191 | m_StitchLightmapSeams: 1 192 | m_SelectedEditorRenderState: 3 193 | m_MinimumChartSize: 4 194 | m_AutoUVMaxDistance: 0.5 195 | m_AutoUVMaxAngle: 89 196 | m_LightmapParameters: {fileID: 0} 197 | m_SortingLayerID: 0 198 | m_SortingLayer: 0 199 | m_SortingOrder: 0 200 | m_AdditionalVertexStreams: {fileID: 0} 201 | --- !u!33 &396117523 202 | MeshFilter: 203 | m_ObjectHideFlags: 0 204 | m_CorrespondingSourceObject: {fileID: 0} 205 | m_PrefabInstance: {fileID: 0} 206 | m_PrefabAsset: {fileID: 0} 207 | m_GameObject: {fileID: 396117520} 208 | m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} 209 | --- !u!4 &396117524 210 | Transform: 211 | m_ObjectHideFlags: 0 212 | m_CorrespondingSourceObject: {fileID: 0} 213 | m_PrefabInstance: {fileID: 0} 214 | m_PrefabAsset: {fileID: 0} 215 | m_GameObject: {fileID: 396117520} 216 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 217 | m_LocalPosition: {x: 0, y: 0, z: 0} 218 | m_LocalScale: {x: 1, y: 1, z: 1} 219 | m_Children: [] 220 | m_Father: {fileID: 0} 221 | m_RootOrder: 2 222 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 223 | --- !u!1 &705507993 224 | GameObject: 225 | m_ObjectHideFlags: 0 226 | m_CorrespondingSourceObject: {fileID: 0} 227 | m_PrefabInstance: {fileID: 0} 228 | m_PrefabAsset: {fileID: 0} 229 | serializedVersion: 6 230 | m_Component: 231 | - component: {fileID: 705507995} 232 | - component: {fileID: 705507994} 233 | m_Layer: 0 234 | m_Name: Directional Light 235 | m_TagString: Untagged 236 | m_Icon: {fileID: 0} 237 | m_NavMeshLayer: 0 238 | m_StaticEditorFlags: 0 239 | m_IsActive: 1 240 | --- !u!108 &705507994 241 | Light: 242 | m_ObjectHideFlags: 0 243 | m_CorrespondingSourceObject: {fileID: 0} 244 | m_PrefabInstance: {fileID: 0} 245 | m_PrefabAsset: {fileID: 0} 246 | m_GameObject: {fileID: 705507993} 247 | m_Enabled: 1 248 | serializedVersion: 10 249 | m_Type: 1 250 | m_Shape: 0 251 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 252 | m_Intensity: 1 253 | m_Range: 10 254 | m_SpotAngle: 30 255 | m_InnerSpotAngle: 21.80208 256 | m_CookieSize: 10 257 | m_Shadows: 258 | m_Type: 2 259 | m_Resolution: -1 260 | m_CustomResolution: -1 261 | m_Strength: 1 262 | m_Bias: 0.05 263 | m_NormalBias: 0.4 264 | m_NearPlane: 0.2 265 | m_CullingMatrixOverride: 266 | e00: 1 267 | e01: 0 268 | e02: 0 269 | e03: 0 270 | e10: 0 271 | e11: 1 272 | e12: 0 273 | e13: 0 274 | e20: 0 275 | e21: 0 276 | e22: 1 277 | e23: 0 278 | e30: 0 279 | e31: 0 280 | e32: 0 281 | e33: 1 282 | m_UseCullingMatrixOverride: 0 283 | m_Cookie: {fileID: 0} 284 | m_DrawHalo: 0 285 | m_Flare: {fileID: 0} 286 | m_RenderMode: 0 287 | m_CullingMask: 288 | serializedVersion: 2 289 | m_Bits: 4294967295 290 | m_RenderingLayerMask: 1 291 | m_Lightmapping: 1 292 | m_LightShadowCasterMode: 0 293 | m_AreaSize: {x: 1, y: 1} 294 | m_BounceIntensity: 1 295 | m_ColorTemperature: 6570 296 | m_UseColorTemperature: 0 297 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} 298 | m_UseBoundingSphereOverride: 0 299 | m_UseViewFrustumForShadowCasterCull: 1 300 | m_ShadowRadius: 0 301 | m_ShadowAngle: 0 302 | --- !u!4 &705507995 303 | Transform: 304 | m_ObjectHideFlags: 0 305 | m_CorrespondingSourceObject: {fileID: 0} 306 | m_PrefabInstance: {fileID: 0} 307 | m_PrefabAsset: {fileID: 0} 308 | m_GameObject: {fileID: 705507993} 309 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 310 | m_LocalPosition: {x: 0, y: 3, z: 0} 311 | m_LocalScale: {x: 1, y: 1, z: 1} 312 | m_Children: [] 313 | m_Father: {fileID: 0} 314 | m_RootOrder: 1 315 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 316 | --- !u!1 &963194225 317 | GameObject: 318 | m_ObjectHideFlags: 0 319 | m_CorrespondingSourceObject: {fileID: 0} 320 | m_PrefabInstance: {fileID: 0} 321 | m_PrefabAsset: {fileID: 0} 322 | serializedVersion: 6 323 | m_Component: 324 | - component: {fileID: 963194228} 325 | - component: {fileID: 963194227} 326 | - component: {fileID: 963194226} 327 | m_Layer: 0 328 | m_Name: Main Camera 329 | m_TagString: MainCamera 330 | m_Icon: {fileID: 0} 331 | m_NavMeshLayer: 0 332 | m_StaticEditorFlags: 0 333 | m_IsActive: 1 334 | --- !u!81 &963194226 335 | AudioListener: 336 | m_ObjectHideFlags: 0 337 | m_CorrespondingSourceObject: {fileID: 0} 338 | m_PrefabInstance: {fileID: 0} 339 | m_PrefabAsset: {fileID: 0} 340 | m_GameObject: {fileID: 963194225} 341 | m_Enabled: 1 342 | --- !u!20 &963194227 343 | Camera: 344 | m_ObjectHideFlags: 0 345 | m_CorrespondingSourceObject: {fileID: 0} 346 | m_PrefabInstance: {fileID: 0} 347 | m_PrefabAsset: {fileID: 0} 348 | m_GameObject: {fileID: 963194225} 349 | m_Enabled: 1 350 | serializedVersion: 2 351 | m_ClearFlags: 1 352 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 353 | m_projectionMatrixMode: 1 354 | m_GateFitMode: 2 355 | m_FOVAxisMode: 0 356 | m_SensorSize: {x: 36, y: 24} 357 | m_LensShift: {x: 0, y: 0} 358 | m_FocalLength: 50 359 | m_NormalizedViewPortRect: 360 | serializedVersion: 2 361 | x: 0 362 | y: 0 363 | width: 1 364 | height: 1 365 | near clip plane: 0.3 366 | far clip plane: 1000 367 | field of view: 60 368 | orthographic: 0 369 | orthographic size: 5 370 | m_Depth: -1 371 | m_CullingMask: 372 | serializedVersion: 2 373 | m_Bits: 4294967295 374 | m_RenderingPath: -1 375 | m_TargetTexture: {fileID: 0} 376 | m_TargetDisplay: 0 377 | m_TargetEye: 3 378 | m_HDR: 1 379 | m_AllowMSAA: 1 380 | m_AllowDynamicResolution: 0 381 | m_ForceIntoRT: 0 382 | m_OcclusionCulling: 1 383 | m_StereoConvergence: 10 384 | m_StereoSeparation: 0.022 385 | --- !u!4 &963194228 386 | Transform: 387 | m_ObjectHideFlags: 0 388 | m_CorrespondingSourceObject: {fileID: 0} 389 | m_PrefabInstance: {fileID: 0} 390 | m_PrefabAsset: {fileID: 0} 391 | m_GameObject: {fileID: 963194225} 392 | m_LocalRotation: {x: 0.23402931, y: 0.17674637, z: -0.04330962, w: 0.9550473} 393 | m_LocalPosition: {x: -1.3736665, y: 3.1976504, z: -4.590485} 394 | m_LocalScale: {x: 1, y: 1, z: 1} 395 | m_Children: [] 396 | m_Father: {fileID: 0} 397 | m_RootOrder: 0 398 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 399 | --- !u!1001 &1785076061 400 | PrefabInstance: 401 | m_ObjectHideFlags: 0 402 | serializedVersion: 2 403 | m_Modification: 404 | m_TransformParent: {fileID: 0} 405 | m_Modifications: 406 | - target: {fileID: -8679921383154817045, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 407 | propertyPath: m_RootOrder 408 | value: 3 409 | objectReference: {fileID: 0} 410 | - target: {fileID: -8679921383154817045, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 411 | propertyPath: m_LocalPosition.x 412 | value: 0 413 | objectReference: {fileID: 0} 414 | - target: {fileID: -8679921383154817045, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 415 | propertyPath: m_LocalPosition.y 416 | value: 0.5 417 | objectReference: {fileID: 0} 418 | - target: {fileID: -8679921383154817045, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 419 | propertyPath: m_LocalPosition.z 420 | value: 0 421 | objectReference: {fileID: 0} 422 | - target: {fileID: -8679921383154817045, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 423 | propertyPath: m_LocalRotation.w 424 | value: 1 425 | objectReference: {fileID: 0} 426 | - target: {fileID: -8679921383154817045, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 427 | propertyPath: m_LocalRotation.x 428 | value: 0 429 | objectReference: {fileID: 0} 430 | - target: {fileID: -8679921383154817045, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 431 | propertyPath: m_LocalRotation.y 432 | value: -0 433 | objectReference: {fileID: 0} 434 | - target: {fileID: -8679921383154817045, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 435 | propertyPath: m_LocalRotation.z 436 | value: -0 437 | objectReference: {fileID: 0} 438 | - target: {fileID: -8679921383154817045, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 439 | propertyPath: m_LocalEulerAnglesHint.x 440 | value: 0 441 | objectReference: {fileID: 0} 442 | - target: {fileID: -8679921383154817045, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 443 | propertyPath: m_LocalEulerAnglesHint.y 444 | value: 0 445 | objectReference: {fileID: 0} 446 | - target: {fileID: -8679921383154817045, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 447 | propertyPath: m_LocalEulerAnglesHint.z 448 | value: 0 449 | objectReference: {fileID: 0} 450 | - target: {fileID: 919132149155446097, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 451 | propertyPath: m_Name 452 | value: SkinnedWorm 453 | objectReference: {fileID: 0} 454 | - target: {fileID: 919132149155446097, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 455 | propertyPath: m_IsActive 456 | value: 1 457 | objectReference: {fileID: 0} 458 | m_RemovedComponents: [] 459 | m_SourcePrefab: {fileID: 100100000, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 460 | --- !u!1 &1785076062 stripped 461 | GameObject: 462 | m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: f28824c2c2de3b346a2aa79c1aee0bd9, type: 3} 463 | m_PrefabInstance: {fileID: 1785076061} 464 | m_PrefabAsset: {fileID: 0} 465 | --- !u!54 &1785076063 466 | Rigidbody: 467 | m_ObjectHideFlags: 0 468 | m_CorrespondingSourceObject: {fileID: 0} 469 | m_PrefabInstance: {fileID: 0} 470 | m_PrefabAsset: {fileID: 0} 471 | m_GameObject: {fileID: 1785076062} 472 | serializedVersion: 2 473 | m_Mass: 1 474 | m_Drag: 0 475 | m_AngularDrag: 0.05 476 | m_UseGravity: 1 477 | m_IsKinematic: 0 478 | m_Interpolate: 0 479 | m_Constraints: 0 480 | m_CollisionDetection: 0 481 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fc0d4010bbf28b4594072e72b8655ab 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49c20d9767c32a548bb04954f7c06844 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4143496016e1a6d48b515bebe222a3d1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/Editor/GenerateColliderPostProcessor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEditor; 3 | using UnityEngine; 4 | 5 | public class GenerateColliderPostProcessor : AssetPostprocessor 6 | { 7 | [MenuItem("Tools/Better Collider Generation")] 8 | static void ToggleColliderGeneration() 9 | { 10 | var betterColliderGenerationEnabled = EditorPrefs.GetBool("BetterColliderGeneration", false); 11 | EditorPrefs.SetBool("BetterColliderGeneration", !betterColliderGenerationEnabled); 12 | } 13 | 14 | [MenuItem("Tools/Better Collider Generation", true)] 15 | static bool ValidateToggleColliderGeneration() 16 | { 17 | var betterColliderGenerationEnabled = EditorPrefs.GetBool("BetterColliderGeneration", false); 18 | Menu.SetChecked("Tools/Better Collider Generation", betterColliderGenerationEnabled); 19 | return true; 20 | } 21 | 22 | void OnPostprocessModel(GameObject g) 23 | { 24 | if (!EditorPrefs.GetBool("BetterColliderGeneration", false)) 25 | return; 26 | 27 | List transformsToDestroy = new List(); 28 | //Skip the root 29 | foreach (Transform child in g.transform) 30 | { 31 | GenerateCollider(child, transformsToDestroy); 32 | } 33 | 34 | for (int i = transformsToDestroy.Count - 1; i >= 0; --i) 35 | { 36 | if (transformsToDestroy[i] != null) 37 | { 38 | GameObject.DestroyImmediate(transformsToDestroy[i].gameObject); 39 | } 40 | } 41 | } 42 | 43 | bool DetectNamingConvention(Transform t, string convention) 44 | { 45 | bool result = false; 46 | if (t.gameObject.TryGetComponent(out MeshFilter meshFilter)) 47 | { 48 | var lowercaseMeshName = meshFilter.sharedMesh.name.ToLower(); 49 | result = lowercaseMeshName.StartsWith($"{convention}_"); 50 | } 51 | 52 | if (!result) 53 | { 54 | var lowercaseName = t.name.ToLower(); 55 | result = lowercaseName.StartsWith($"{convention}_"); 56 | } 57 | 58 | return result; 59 | } 60 | 61 | void GenerateCollider(Transform t, List transformsToDestroy) 62 | { 63 | foreach (Transform child in t.transform) 64 | { 65 | GenerateCollider(child, transformsToDestroy); 66 | } 67 | 68 | if (DetectNamingConvention(t, "ubx")) 69 | { 70 | AddCollider(t); 71 | transformsToDestroy.Add(t); 72 | } 73 | else if (DetectNamingConvention(t, "ucp")) 74 | { 75 | AddCollider(t); 76 | transformsToDestroy.Add(t); 77 | } 78 | else if (DetectNamingConvention(t, "usp")) 79 | { 80 | AddCollider(t); 81 | transformsToDestroy.Add(t); 82 | } 83 | else if (DetectNamingConvention(t, "ucx")) 84 | { 85 | TransformSharedMesh(t.GetComponent()); 86 | var collider = AddCollider(t); 87 | collider.convex = true; 88 | transformsToDestroy.Add(t); 89 | } 90 | else if (DetectNamingConvention(t, "umc")) 91 | { 92 | TransformSharedMesh(t.GetComponent()); 93 | AddCollider(t); 94 | transformsToDestroy.Add(t); 95 | } 96 | } 97 | 98 | void TransformSharedMesh(MeshFilter meshFilter) 99 | { 100 | if (meshFilter == null) 101 | return; 102 | 103 | var transform = meshFilter.transform; 104 | var mesh = meshFilter.sharedMesh; 105 | var vertices = mesh.vertices; 106 | 107 | for (int i = 0; i < vertices.Length; ++i) 108 | { 109 | vertices[i] = transform.TransformPoint(vertices[i]); 110 | vertices[i] = transform.parent.InverseTransformPoint(vertices[i]); 111 | } 112 | 113 | mesh.SetVertices(vertices); 114 | } 115 | 116 | T AddCollider(Transform t) where T : Collider 117 | { 118 | T collider = t.gameObject.AddComponent(); 119 | T parentCollider = t.parent.gameObject.AddComponent(); 120 | 121 | EditorUtility.CopySerialized(collider, parentCollider); 122 | 123 | SerializedObject parentColliderSo = new SerializedObject(parentCollider); 124 | var parentCenterProperty = parentColliderSo.FindProperty("m_Center"); 125 | if (parentCenterProperty != null) 126 | { 127 | SerializedObject colliderSo = new SerializedObject(collider); 128 | var colliderCenter = colliderSo.FindProperty("m_Center"); 129 | var worldSpaceColliderCenter = t.TransformPoint(colliderCenter.vector3Value); 130 | 131 | parentCenterProperty.vector3Value = t.parent.InverseTransformPoint(worldSpaceColliderCenter); 132 | parentColliderSo.ApplyModifiedPropertiesWithoutUndo(); 133 | } 134 | 135 | return parentCollider; 136 | } 137 | } -------------------------------------------------------------------------------- /Assets/Scripts/Editor/GenerateColliderPostProcessor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19571716d3989074dae8a096cafeb803 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Bronson Zgeb 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/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": "1.7.1", 4 | "com.unity.ide.rider": "3.0.7", 5 | "com.unity.ide.visualstudio": "2.0.9", 6 | "com.unity.ide.vscode": "1.2.3", 7 | "com.unity.test-framework": "1.1.27", 8 | "com.unity.textmeshpro": "3.0.6", 9 | "com.unity.timeline": "1.5.6", 10 | "com.unity.ugui": "1.0.0", 11 | "com.unity.visualscripting": "1.6.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.unity.collab-proxy": { 4 | "version": "1.7.1", 5 | "depth": 0, 6 | "source": "registry", 7 | "dependencies": { 8 | "com.unity.nuget.newtonsoft-json": "2.0.0" 9 | }, 10 | "url": "https://packages.unity.com" 11 | }, 12 | "com.unity.ext.nunit": { 13 | "version": "1.0.6", 14 | "depth": 1, 15 | "source": "registry", 16 | "dependencies": {}, 17 | "url": "https://packages.unity.com" 18 | }, 19 | "com.unity.ide.rider": { 20 | "version": "3.0.7", 21 | "depth": 0, 22 | "source": "registry", 23 | "dependencies": { 24 | "com.unity.ext.nunit": "1.0.6" 25 | }, 26 | "url": "https://packages.unity.com" 27 | }, 28 | "com.unity.ide.visualstudio": { 29 | "version": "2.0.9", 30 | "depth": 0, 31 | "source": "registry", 32 | "dependencies": { 33 | "com.unity.test-framework": "1.1.9" 34 | }, 35 | "url": "https://packages.unity.com" 36 | }, 37 | "com.unity.ide.vscode": { 38 | "version": "1.2.3", 39 | "depth": 0, 40 | "source": "registry", 41 | "dependencies": {}, 42 | "url": "https://packages.unity.com" 43 | }, 44 | "com.unity.nuget.newtonsoft-json": { 45 | "version": "2.0.0", 46 | "depth": 1, 47 | "source": "registry", 48 | "dependencies": {}, 49 | "url": "https://packages.unity.com" 50 | }, 51 | "com.unity.test-framework": { 52 | "version": "1.1.27", 53 | "depth": 0, 54 | "source": "registry", 55 | "dependencies": { 56 | "com.unity.ext.nunit": "1.0.6", 57 | "com.unity.modules.imgui": "1.0.0", 58 | "com.unity.modules.jsonserialize": "1.0.0" 59 | }, 60 | "url": "https://packages.unity.com" 61 | }, 62 | "com.unity.textmeshpro": { 63 | "version": "3.0.6", 64 | "depth": 0, 65 | "source": "registry", 66 | "dependencies": { 67 | "com.unity.ugui": "1.0.0" 68 | }, 69 | "url": "https://packages.unity.com" 70 | }, 71 | "com.unity.timeline": { 72 | "version": "1.5.6", 73 | "depth": 0, 74 | "source": "registry", 75 | "dependencies": { 76 | "com.unity.modules.director": "1.0.0", 77 | "com.unity.modules.animation": "1.0.0", 78 | "com.unity.modules.audio": "1.0.0", 79 | "com.unity.modules.particlesystem": "1.0.0" 80 | }, 81 | "url": "https://packages.unity.com" 82 | }, 83 | "com.unity.ugui": { 84 | "version": "1.0.0", 85 | "depth": 0, 86 | "source": "builtin", 87 | "dependencies": { 88 | "com.unity.modules.ui": "1.0.0", 89 | "com.unity.modules.imgui": "1.0.0" 90 | } 91 | }, 92 | "com.unity.visualscripting": { 93 | "version": "1.6.1", 94 | "depth": 0, 95 | "source": "registry", 96 | "dependencies": { 97 | "com.unity.ugui": "1.0.0", 98 | "com.unity.modules.ai": "1.0.0", 99 | "com.unity.modules.animation": "1.0.0", 100 | "com.unity.modules.jsonserialize": "1.0.0", 101 | "com.unity.modules.particlesystem": "1.0.0", 102 | "com.unity.modules.physics": "1.0.0", 103 | "com.unity.modules.physics2d": "1.0.0" 104 | }, 105 | "url": "https://packages.unity.com" 106 | }, 107 | "com.unity.modules.ai": { 108 | "version": "1.0.0", 109 | "depth": 0, 110 | "source": "builtin", 111 | "dependencies": {} 112 | }, 113 | "com.unity.modules.androidjni": { 114 | "version": "1.0.0", 115 | "depth": 0, 116 | "source": "builtin", 117 | "dependencies": {} 118 | }, 119 | "com.unity.modules.animation": { 120 | "version": "1.0.0", 121 | "depth": 0, 122 | "source": "builtin", 123 | "dependencies": {} 124 | }, 125 | "com.unity.modules.assetbundle": { 126 | "version": "1.0.0", 127 | "depth": 0, 128 | "source": "builtin", 129 | "dependencies": {} 130 | }, 131 | "com.unity.modules.audio": { 132 | "version": "1.0.0", 133 | "depth": 0, 134 | "source": "builtin", 135 | "dependencies": {} 136 | }, 137 | "com.unity.modules.cloth": { 138 | "version": "1.0.0", 139 | "depth": 0, 140 | "source": "builtin", 141 | "dependencies": { 142 | "com.unity.modules.physics": "1.0.0" 143 | } 144 | }, 145 | "com.unity.modules.director": { 146 | "version": "1.0.0", 147 | "depth": 0, 148 | "source": "builtin", 149 | "dependencies": { 150 | "com.unity.modules.audio": "1.0.0", 151 | "com.unity.modules.animation": "1.0.0" 152 | } 153 | }, 154 | "com.unity.modules.imageconversion": { 155 | "version": "1.0.0", 156 | "depth": 0, 157 | "source": "builtin", 158 | "dependencies": {} 159 | }, 160 | "com.unity.modules.imgui": { 161 | "version": "1.0.0", 162 | "depth": 0, 163 | "source": "builtin", 164 | "dependencies": {} 165 | }, 166 | "com.unity.modules.jsonserialize": { 167 | "version": "1.0.0", 168 | "depth": 0, 169 | "source": "builtin", 170 | "dependencies": {} 171 | }, 172 | "com.unity.modules.particlesystem": { 173 | "version": "1.0.0", 174 | "depth": 0, 175 | "source": "builtin", 176 | "dependencies": {} 177 | }, 178 | "com.unity.modules.physics": { 179 | "version": "1.0.0", 180 | "depth": 0, 181 | "source": "builtin", 182 | "dependencies": {} 183 | }, 184 | "com.unity.modules.physics2d": { 185 | "version": "1.0.0", 186 | "depth": 0, 187 | "source": "builtin", 188 | "dependencies": {} 189 | }, 190 | "com.unity.modules.screencapture": { 191 | "version": "1.0.0", 192 | "depth": 0, 193 | "source": "builtin", 194 | "dependencies": { 195 | "com.unity.modules.imageconversion": "1.0.0" 196 | } 197 | }, 198 | "com.unity.modules.subsystems": { 199 | "version": "1.0.0", 200 | "depth": 1, 201 | "source": "builtin", 202 | "dependencies": { 203 | "com.unity.modules.jsonserialize": "1.0.0" 204 | } 205 | }, 206 | "com.unity.modules.terrain": { 207 | "version": "1.0.0", 208 | "depth": 0, 209 | "source": "builtin", 210 | "dependencies": {} 211 | }, 212 | "com.unity.modules.terrainphysics": { 213 | "version": "1.0.0", 214 | "depth": 0, 215 | "source": "builtin", 216 | "dependencies": { 217 | "com.unity.modules.physics": "1.0.0", 218 | "com.unity.modules.terrain": "1.0.0" 219 | } 220 | }, 221 | "com.unity.modules.tilemap": { 222 | "version": "1.0.0", 223 | "depth": 0, 224 | "source": "builtin", 225 | "dependencies": { 226 | "com.unity.modules.physics2d": "1.0.0" 227 | } 228 | }, 229 | "com.unity.modules.ui": { 230 | "version": "1.0.0", 231 | "depth": 0, 232 | "source": "builtin", 233 | "dependencies": {} 234 | }, 235 | "com.unity.modules.uielements": { 236 | "version": "1.0.0", 237 | "depth": 0, 238 | "source": "builtin", 239 | "dependencies": { 240 | "com.unity.modules.ui": "1.0.0", 241 | "com.unity.modules.imgui": "1.0.0", 242 | "com.unity.modules.jsonserialize": "1.0.0", 243 | "com.unity.modules.uielementsnative": "1.0.0" 244 | } 245 | }, 246 | "com.unity.modules.uielementsnative": { 247 | "version": "1.0.0", 248 | "depth": 1, 249 | "source": "builtin", 250 | "dependencies": { 251 | "com.unity.modules.ui": "1.0.0", 252 | "com.unity.modules.imgui": "1.0.0", 253 | "com.unity.modules.jsonserialize": "1.0.0" 254 | } 255 | }, 256 | "com.unity.modules.umbra": { 257 | "version": "1.0.0", 258 | "depth": 0, 259 | "source": "builtin", 260 | "dependencies": {} 261 | }, 262 | "com.unity.modules.unityanalytics": { 263 | "version": "1.0.0", 264 | "depth": 0, 265 | "source": "builtin", 266 | "dependencies": { 267 | "com.unity.modules.unitywebrequest": "1.0.0", 268 | "com.unity.modules.jsonserialize": "1.0.0" 269 | } 270 | }, 271 | "com.unity.modules.unitywebrequest": { 272 | "version": "1.0.0", 273 | "depth": 0, 274 | "source": "builtin", 275 | "dependencies": {} 276 | }, 277 | "com.unity.modules.unitywebrequestassetbundle": { 278 | "version": "1.0.0", 279 | "depth": 0, 280 | "source": "builtin", 281 | "dependencies": { 282 | "com.unity.modules.assetbundle": "1.0.0", 283 | "com.unity.modules.unitywebrequest": "1.0.0" 284 | } 285 | }, 286 | "com.unity.modules.unitywebrequestaudio": { 287 | "version": "1.0.0", 288 | "depth": 0, 289 | "source": "builtin", 290 | "dependencies": { 291 | "com.unity.modules.unitywebrequest": "1.0.0", 292 | "com.unity.modules.audio": "1.0.0" 293 | } 294 | }, 295 | "com.unity.modules.unitywebrequesttexture": { 296 | "version": "1.0.0", 297 | "depth": 0, 298 | "source": "builtin", 299 | "dependencies": { 300 | "com.unity.modules.unitywebrequest": "1.0.0", 301 | "com.unity.modules.imageconversion": "1.0.0" 302 | } 303 | }, 304 | "com.unity.modules.unitywebrequestwww": { 305 | "version": "1.0.0", 306 | "depth": 0, 307 | "source": "builtin", 308 | "dependencies": { 309 | "com.unity.modules.unitywebrequest": "1.0.0", 310 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 311 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 312 | "com.unity.modules.audio": "1.0.0", 313 | "com.unity.modules.assetbundle": "1.0.0", 314 | "com.unity.modules.imageconversion": "1.0.0" 315 | } 316 | }, 317 | "com.unity.modules.vehicles": { 318 | "version": "1.0.0", 319 | "depth": 0, 320 | "source": "builtin", 321 | "dependencies": { 322 | "com.unity.modules.physics": "1.0.0" 323 | } 324 | }, 325 | "com.unity.modules.video": { 326 | "version": "1.0.0", 327 | "depth": 0, 328 | "source": "builtin", 329 | "dependencies": { 330 | "com.unity.modules.audio": "1.0.0", 331 | "com.unity.modules.ui": "1.0.0", 332 | "com.unity.modules.unitywebrequest": "1.0.0" 333 | } 334 | }, 335 | "com.unity.modules.vr": { 336 | "version": "1.0.0", 337 | "depth": 0, 338 | "source": "builtin", 339 | "dependencies": { 340 | "com.unity.modules.jsonserialize": "1.0.0", 341 | "com.unity.modules.physics": "1.0.0", 342 | "com.unity.modules.xr": "1.0.0" 343 | } 344 | }, 345 | "com.unity.modules.wind": { 346 | "version": "1.0.0", 347 | "depth": 0, 348 | "source": "builtin", 349 | "dependencies": {} 350 | }, 351 | "com.unity.modules.xr": { 352 | "version": "1.0.0", 353 | "depth": 0, 354 | "source": "builtin", 355 | "dependencies": { 356 | "com.unity.modules.physics": "1.0.0", 357 | "com.unity.modules.jsonserialize": "1.0.0", 358 | "com.unity.modules.subsystems": "1.0.0" 359 | } 360 | } 361 | } 362 | } 363 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_SerializationMode: 2 8 | m_LineEndingsForNewScripts: 0 9 | m_DefaultBehaviorMode: 0 10 | m_PrefabRegularEnvironment: {fileID: 0} 11 | m_PrefabUIEnvironment: {fileID: 0} 12 | m_SpritePackerMode: 0 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;rsp;asmref 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: 1 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: 0 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_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | m_LogWhenShaderIsCompiled: 0 63 | m_AllowEnlightenSupportForUpgradedProject: 0 64 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreReleasePackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | m_SeeAllPackageVersions: 0 20 | oneTimeWarningShown: 0 21 | m_Registries: 22 | - m_Id: main 23 | m_Name: 24 | m_Url: https://packages.unity.com 25 | m_Scopes: [] 26 | m_IsDefault: 1 27 | m_Capabilities: 7 28 | m_UserSelectedRegistryName: 29 | m_UserAddingNewScopedRegistry: 0 30 | m_RegistryInfoDraft: 31 | m_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 | m_LoadAssets: 0 46 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 22 7 | productGUID: 56c1d142c13c2334b866a3c1bfaa9607 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: AutomaticColliderGeneration 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: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | mipStripping: 0 53 | numberOfMipsStripped: 0 54 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 55 | iosShowActivityIndicatorOnLoading: -1 56 | androidShowActivityIndicatorOnLoading: -1 57 | iosUseCustomAppBackgroundBehavior: 0 58 | iosAllowHTTPDownload: 1 59 | allowedAutorotateToPortrait: 1 60 | allowedAutorotateToPortraitUpsideDown: 1 61 | allowedAutorotateToLandscapeRight: 1 62 | allowedAutorotateToLandscapeLeft: 1 63 | useOSAutorotation: 1 64 | use32BitDisplayBuffer: 1 65 | preserveFramebufferAlpha: 0 66 | disableDepthAndStencilBuffers: 0 67 | androidStartInFullscreen: 1 68 | androidRenderOutsideSafeArea: 1 69 | androidUseSwappy: 1 70 | androidBlitType: 0 71 | defaultIsNativeResolution: 1 72 | macRetinaSupport: 1 73 | runInBackground: 1 74 | captureSingleScreen: 0 75 | muteOtherAudioSources: 0 76 | Prepare IOS For Recording: 0 77 | Force IOS Speakers When Recording: 0 78 | deferSystemGesturesMode: 0 79 | hideHomeButton: 0 80 | submitAnalytics: 1 81 | usePlayerLog: 1 82 | bakeCollisionMeshes: 0 83 | forceSingleInstance: 0 84 | useFlipModelSwapchain: 1 85 | resizableWindow: 0 86 | useMacAppStoreValidation: 0 87 | macAppStoreCategory: public.app-category.games 88 | gpuSkinning: 1 89 | xboxPIXTextureCapture: 0 90 | xboxEnableAvatar: 0 91 | xboxEnableKinect: 0 92 | xboxEnableKinectAutoTracking: 0 93 | xboxEnableFitness: 0 94 | visibleInBackground: 1 95 | allowFullscreenSwitch: 1 96 | fullscreenMode: 1 97 | xboxSpeechDB: 0 98 | xboxEnableHeadOrientation: 0 99 | xboxEnableGuest: 0 100 | xboxEnablePIXSampling: 0 101 | metalFramebufferOnly: 0 102 | xboxOneResolution: 0 103 | xboxOneSResolution: 0 104 | xboxOneXResolution: 3 105 | xboxOneMonoLoggingLevel: 0 106 | xboxOneLoggingLevel: 1 107 | xboxOneDisableEsram: 0 108 | xboxOneEnableTypeOptimization: 0 109 | xboxOnePresentImmediateThreshold: 0 110 | switchQueueCommandMemory: 0 111 | switchQueueControlMemory: 16384 112 | switchQueueComputeMemory: 262144 113 | switchNVNShaderPoolsGranularity: 33554432 114 | switchNVNDefaultPoolsGranularity: 16777216 115 | switchNVNOtherPoolsGranularity: 16777216 116 | switchNVNMaxPublicTextureIDCount: 0 117 | switchNVNMaxPublicSamplerIDCount: 0 118 | stadiaPresentMode: 0 119 | stadiaTargetFramerate: 0 120 | vulkanNumSwapchainBuffers: 3 121 | vulkanEnableSetSRGBWrite: 0 122 | vulkanEnablePreTransform: 0 123 | vulkanEnableLateAcquireNextImage: 0 124 | vulkanEnableCommandBufferRecycling: 1 125 | m_SupportedAspectRatios: 126 | 4:3: 1 127 | 5:4: 1 128 | 16:10: 1 129 | 16:9: 1 130 | Others: 1 131 | bundleVersion: 0.1 132 | preloadedAssets: [] 133 | metroInputSource: 0 134 | wsaTransparentSwapchain: 0 135 | m_HolographicPauseOnTrackingLoss: 1 136 | xboxOneDisableKinectGpuReservation: 1 137 | xboxOneEnable7thCore: 1 138 | vrSettings: 139 | enable360StereoCapture: 0 140 | isWsaHolographicRemotingEnabled: 0 141 | enableFrameTimingStats: 0 142 | useHDRDisplay: 0 143 | D3DHDRBitDepth: 0 144 | m_ColorGamuts: 00000000 145 | targetPixelDensity: 30 146 | resolutionScalingMode: 0 147 | androidSupportedAspectRatio: 1 148 | androidMaxAspectRatio: 2.1 149 | applicationIdentifier: {} 150 | buildNumber: 151 | Standalone: 0 152 | iPhone: 0 153 | tvOS: 0 154 | overrideDefaultApplicationIdentifier: 0 155 | AndroidBundleVersionCode: 1 156 | AndroidMinSdkVersion: 19 157 | AndroidTargetSdkVersion: 0 158 | AndroidPreferredInstallLocation: 1 159 | aotOptions: 160 | stripEngineCode: 1 161 | iPhoneStrippingLevel: 0 162 | iPhoneScriptCallOptimization: 0 163 | ForceInternetPermission: 0 164 | ForceSDCardPermission: 0 165 | CreateWallpaper: 0 166 | APKExpansionFiles: 0 167 | keepLoadedShadersAlive: 0 168 | StripUnusedMeshComponents: 1 169 | VertexChannelCompressionMask: 4054 170 | iPhoneSdkVersion: 988 171 | iOSTargetOSVersionString: 11.0 172 | tvOSSdkVersion: 0 173 | tvOSRequireExtendedGameController: 0 174 | tvOSTargetOSVersionString: 11.0 175 | uIPrerenderedIcon: 0 176 | uIRequiresPersistentWiFi: 0 177 | uIRequiresFullScreen: 1 178 | uIStatusBarHidden: 1 179 | uIExitOnSuspend: 0 180 | uIStatusBarStyle: 0 181 | appleTVSplashScreen: {fileID: 0} 182 | appleTVSplashScreen2x: {fileID: 0} 183 | tvOSSmallIconLayers: [] 184 | tvOSSmallIconLayers2x: [] 185 | tvOSLargeIconLayers: [] 186 | tvOSLargeIconLayers2x: [] 187 | tvOSTopShelfImageLayers: [] 188 | tvOSTopShelfImageLayers2x: [] 189 | tvOSTopShelfImageWideLayers: [] 190 | tvOSTopShelfImageWideLayers2x: [] 191 | iOSLaunchScreenType: 0 192 | iOSLaunchScreenPortrait: {fileID: 0} 193 | iOSLaunchScreenLandscape: {fileID: 0} 194 | iOSLaunchScreenBackgroundColor: 195 | serializedVersion: 2 196 | rgba: 0 197 | iOSLaunchScreenFillPct: 100 198 | iOSLaunchScreenSize: 100 199 | iOSLaunchScreenCustomXibPath: 200 | iOSLaunchScreeniPadType: 0 201 | iOSLaunchScreeniPadImage: {fileID: 0} 202 | iOSLaunchScreeniPadBackgroundColor: 203 | serializedVersion: 2 204 | rgba: 0 205 | iOSLaunchScreeniPadFillPct: 100 206 | iOSLaunchScreeniPadSize: 100 207 | iOSLaunchScreeniPadCustomXibPath: 208 | iOSLaunchScreenCustomStoryboardPath: 209 | iOSLaunchScreeniPadCustomStoryboardPath: 210 | iOSDeviceRequirements: [] 211 | iOSURLSchemes: [] 212 | iOSBackgroundModes: 0 213 | iOSMetalForceHardShadows: 0 214 | metalEditorSupport: 1 215 | metalAPIValidation: 1 216 | iOSRenderExtraFrameOnPause: 0 217 | iosCopyPluginsCodeInsteadOfSymlink: 0 218 | appleDeveloperTeamID: 219 | iOSManualSigningProvisioningProfileID: 220 | tvOSManualSigningProvisioningProfileID: 221 | iOSManualSigningProvisioningProfileType: 0 222 | tvOSManualSigningProvisioningProfileType: 0 223 | appleEnableAutomaticSigning: 0 224 | iOSRequireARKit: 0 225 | iOSAutomaticallyDetectAndAddCapabilities: 1 226 | appleEnableProMotion: 0 227 | shaderPrecisionModel: 0 228 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 229 | templatePackageId: com.unity.template.3d@5.0.4 230 | templateDefaultScene: Assets/Scenes/SampleScene.unity 231 | useCustomMainManifest: 0 232 | useCustomLauncherManifest: 0 233 | useCustomMainGradleTemplate: 0 234 | useCustomLauncherGradleManifest: 0 235 | useCustomBaseGradleTemplate: 0 236 | useCustomGradlePropertiesTemplate: 0 237 | useCustomProguardFile: 0 238 | AndroidTargetArchitectures: 1 239 | AndroidTargetDevices: 0 240 | AndroidSplashScreenScale: 0 241 | androidSplashScreen: {fileID: 0} 242 | AndroidKeystoreName: 243 | AndroidKeyaliasName: 244 | AndroidBuildApkPerCpuArchitecture: 0 245 | AndroidTVCompatibility: 0 246 | AndroidIsGame: 1 247 | AndroidEnableTango: 0 248 | androidEnableBanner: 1 249 | androidUseLowAccuracyLocation: 0 250 | androidUseCustomKeystore: 0 251 | m_AndroidBanners: 252 | - width: 320 253 | height: 180 254 | banner: {fileID: 0} 255 | androidGamepadSupportLevel: 0 256 | chromeosInputEmulation: 1 257 | AndroidMinifyWithR8: 0 258 | AndroidMinifyRelease: 0 259 | AndroidMinifyDebug: 0 260 | AndroidValidateAppBundleSize: 1 261 | AndroidAppBundleSizeToValidate: 150 262 | m_BuildTargetIcons: [] 263 | m_BuildTargetPlatformIcons: [] 264 | m_BuildTargetBatching: 265 | - m_BuildTarget: Standalone 266 | m_StaticBatching: 1 267 | m_DynamicBatching: 0 268 | - m_BuildTarget: tvOS 269 | m_StaticBatching: 1 270 | m_DynamicBatching: 0 271 | - m_BuildTarget: Android 272 | m_StaticBatching: 1 273 | m_DynamicBatching: 0 274 | - m_BuildTarget: iPhone 275 | m_StaticBatching: 1 276 | m_DynamicBatching: 0 277 | - m_BuildTarget: WebGL 278 | m_StaticBatching: 0 279 | m_DynamicBatching: 0 280 | m_BuildTargetGraphicsJobs: 281 | - m_BuildTarget: MacStandaloneSupport 282 | m_GraphicsJobs: 0 283 | - m_BuildTarget: Switch 284 | m_GraphicsJobs: 1 285 | - m_BuildTarget: MetroSupport 286 | m_GraphicsJobs: 1 287 | - m_BuildTarget: AppleTVSupport 288 | m_GraphicsJobs: 0 289 | - m_BuildTarget: BJMSupport 290 | m_GraphicsJobs: 1 291 | - m_BuildTarget: LinuxStandaloneSupport 292 | m_GraphicsJobs: 1 293 | - m_BuildTarget: PS4Player 294 | m_GraphicsJobs: 1 295 | - m_BuildTarget: iOSSupport 296 | m_GraphicsJobs: 0 297 | - m_BuildTarget: WindowsStandaloneSupport 298 | m_GraphicsJobs: 1 299 | - m_BuildTarget: XboxOnePlayer 300 | m_GraphicsJobs: 1 301 | - m_BuildTarget: LuminSupport 302 | m_GraphicsJobs: 0 303 | - m_BuildTarget: AndroidPlayer 304 | m_GraphicsJobs: 0 305 | - m_BuildTarget: WebGLSupport 306 | m_GraphicsJobs: 0 307 | m_BuildTargetGraphicsJobMode: 308 | - m_BuildTarget: PS4Player 309 | m_GraphicsJobMode: 0 310 | - m_BuildTarget: XboxOnePlayer 311 | m_GraphicsJobMode: 0 312 | m_BuildTargetGraphicsAPIs: 313 | - m_BuildTarget: AndroidPlayer 314 | m_APIs: 150000000b000000 315 | m_Automatic: 0 316 | - m_BuildTarget: iOSSupport 317 | m_APIs: 10000000 318 | m_Automatic: 1 319 | - m_BuildTarget: AppleTVSupport 320 | m_APIs: 10000000 321 | m_Automatic: 1 322 | - m_BuildTarget: WebGLSupport 323 | m_APIs: 0b000000 324 | m_Automatic: 1 325 | m_BuildTargetVRSettings: 326 | - m_BuildTarget: Standalone 327 | m_Enabled: 0 328 | m_Devices: 329 | - Oculus 330 | - OpenVR 331 | openGLRequireES31: 0 332 | openGLRequireES31AEP: 0 333 | openGLRequireES32: 0 334 | m_TemplateCustomTags: {} 335 | mobileMTRendering: 336 | Android: 1 337 | iPhone: 1 338 | tvOS: 1 339 | m_BuildTargetGroupLightmapEncodingQuality: [] 340 | m_BuildTargetGroupLightmapSettings: [] 341 | m_BuildTargetNormalMapEncoding: [] 342 | playModeTestRunnerEnabled: 0 343 | runPlayModeTestAsEditModeTest: 0 344 | actionOnDotNetUnhandledException: 1 345 | enableInternalProfiler: 0 346 | logObjCUncaughtExceptions: 1 347 | enableCrashReportAPI: 0 348 | cameraUsageDescription: 349 | locationUsageDescription: 350 | microphoneUsageDescription: 351 | switchNMETAOverride: 352 | switchNetLibKey: 353 | switchSocketMemoryPoolSize: 6144 354 | switchSocketAllocatorPoolSize: 128 355 | switchSocketConcurrencyLimit: 14 356 | switchScreenResolutionBehavior: 2 357 | switchUseCPUProfiler: 0 358 | switchUseGOLDLinker: 0 359 | switchLTOSetting: 0 360 | switchApplicationID: 0x01004b9000490000 361 | switchNSODependencies: 362 | switchTitleNames_0: 363 | switchTitleNames_1: 364 | switchTitleNames_2: 365 | switchTitleNames_3: 366 | switchTitleNames_4: 367 | switchTitleNames_5: 368 | switchTitleNames_6: 369 | switchTitleNames_7: 370 | switchTitleNames_8: 371 | switchTitleNames_9: 372 | switchTitleNames_10: 373 | switchTitleNames_11: 374 | switchTitleNames_12: 375 | switchTitleNames_13: 376 | switchTitleNames_14: 377 | switchTitleNames_15: 378 | switchPublisherNames_0: 379 | switchPublisherNames_1: 380 | switchPublisherNames_2: 381 | switchPublisherNames_3: 382 | switchPublisherNames_4: 383 | switchPublisherNames_5: 384 | switchPublisherNames_6: 385 | switchPublisherNames_7: 386 | switchPublisherNames_8: 387 | switchPublisherNames_9: 388 | switchPublisherNames_10: 389 | switchPublisherNames_11: 390 | switchPublisherNames_12: 391 | switchPublisherNames_13: 392 | switchPublisherNames_14: 393 | switchPublisherNames_15: 394 | switchIcons_0: {fileID: 0} 395 | switchIcons_1: {fileID: 0} 396 | switchIcons_2: {fileID: 0} 397 | switchIcons_3: {fileID: 0} 398 | switchIcons_4: {fileID: 0} 399 | switchIcons_5: {fileID: 0} 400 | switchIcons_6: {fileID: 0} 401 | switchIcons_7: {fileID: 0} 402 | switchIcons_8: {fileID: 0} 403 | switchIcons_9: {fileID: 0} 404 | switchIcons_10: {fileID: 0} 405 | switchIcons_11: {fileID: 0} 406 | switchIcons_12: {fileID: 0} 407 | switchIcons_13: {fileID: 0} 408 | switchIcons_14: {fileID: 0} 409 | switchIcons_15: {fileID: 0} 410 | switchSmallIcons_0: {fileID: 0} 411 | switchSmallIcons_1: {fileID: 0} 412 | switchSmallIcons_2: {fileID: 0} 413 | switchSmallIcons_3: {fileID: 0} 414 | switchSmallIcons_4: {fileID: 0} 415 | switchSmallIcons_5: {fileID: 0} 416 | switchSmallIcons_6: {fileID: 0} 417 | switchSmallIcons_7: {fileID: 0} 418 | switchSmallIcons_8: {fileID: 0} 419 | switchSmallIcons_9: {fileID: 0} 420 | switchSmallIcons_10: {fileID: 0} 421 | switchSmallIcons_11: {fileID: 0} 422 | switchSmallIcons_12: {fileID: 0} 423 | switchSmallIcons_13: {fileID: 0} 424 | switchSmallIcons_14: {fileID: 0} 425 | switchSmallIcons_15: {fileID: 0} 426 | switchManualHTML: 427 | switchAccessibleURLs: 428 | switchLegalInformation: 429 | switchMainThreadStackSize: 1048576 430 | switchPresenceGroupId: 431 | switchLogoHandling: 0 432 | switchReleaseVersion: 0 433 | switchDisplayVersion: 1.0.0 434 | switchStartupUserAccount: 0 435 | switchTouchScreenUsage: 0 436 | switchSupportedLanguagesMask: 0 437 | switchLogoType: 0 438 | switchApplicationErrorCodeCategory: 439 | switchUserAccountSaveDataSize: 0 440 | switchUserAccountSaveDataJournalSize: 0 441 | switchApplicationAttribute: 0 442 | switchCardSpecSize: -1 443 | switchCardSpecClock: -1 444 | switchRatingsMask: 0 445 | switchRatingsInt_0: 0 446 | switchRatingsInt_1: 0 447 | switchRatingsInt_2: 0 448 | switchRatingsInt_3: 0 449 | switchRatingsInt_4: 0 450 | switchRatingsInt_5: 0 451 | switchRatingsInt_6: 0 452 | switchRatingsInt_7: 0 453 | switchRatingsInt_8: 0 454 | switchRatingsInt_9: 0 455 | switchRatingsInt_10: 0 456 | switchRatingsInt_11: 0 457 | switchRatingsInt_12: 0 458 | switchLocalCommunicationIds_0: 459 | switchLocalCommunicationIds_1: 460 | switchLocalCommunicationIds_2: 461 | switchLocalCommunicationIds_3: 462 | switchLocalCommunicationIds_4: 463 | switchLocalCommunicationIds_5: 464 | switchLocalCommunicationIds_6: 465 | switchLocalCommunicationIds_7: 466 | switchParentalControl: 0 467 | switchAllowsScreenshot: 1 468 | switchAllowsVideoCapturing: 1 469 | switchAllowsRuntimeAddOnContentInstall: 0 470 | switchDataLossConfirmation: 0 471 | switchUserAccountLockEnabled: 0 472 | switchSystemResourceMemory: 16777216 473 | switchSupportedNpadStyles: 22 474 | switchNativeFsCacheSize: 32 475 | switchIsHoldTypeHorizontal: 0 476 | switchSupportedNpadCount: 8 477 | switchSocketConfigEnabled: 0 478 | switchTcpInitialSendBufferSize: 32 479 | switchTcpInitialReceiveBufferSize: 64 480 | switchTcpAutoSendBufferSizeMax: 256 481 | switchTcpAutoReceiveBufferSizeMax: 256 482 | switchUdpSendBufferSize: 9 483 | switchUdpReceiveBufferSize: 42 484 | switchSocketBufferEfficiency: 4 485 | switchSocketInitializeEnabled: 1 486 | switchNetworkInterfaceManagerInitializeEnabled: 1 487 | switchPlayerConnectionEnabled: 1 488 | switchUseNewStyleFilepaths: 0 489 | switchUseMicroSleepForYield: 1 490 | switchMicroSleepForYieldTime: 25 491 | ps4NPAgeRating: 12 492 | ps4NPTitleSecret: 493 | ps4NPTrophyPackPath: 494 | ps4ParentalLevel: 11 495 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 496 | ps4Category: 0 497 | ps4MasterVersion: 01.00 498 | ps4AppVersion: 01.00 499 | ps4AppType: 0 500 | ps4ParamSfxPath: 501 | ps4VideoOutPixelFormat: 0 502 | ps4VideoOutInitialWidth: 1920 503 | ps4VideoOutBaseModeInitialWidth: 1920 504 | ps4VideoOutReprojectionRate: 60 505 | ps4PronunciationXMLPath: 506 | ps4PronunciationSIGPath: 507 | ps4BackgroundImagePath: 508 | ps4StartupImagePath: 509 | ps4StartupImagesFolder: 510 | ps4IconImagesFolder: 511 | ps4SaveDataImagePath: 512 | ps4SdkOverride: 513 | ps4BGMPath: 514 | ps4ShareFilePath: 515 | ps4ShareOverlayImagePath: 516 | ps4PrivacyGuardImagePath: 517 | ps4ExtraSceSysFile: 518 | ps4NPtitleDatPath: 519 | ps4RemotePlayKeyAssignment: -1 520 | ps4RemotePlayKeyMappingDir: 521 | ps4PlayTogetherPlayerCount: 0 522 | ps4EnterButtonAssignment: 1 523 | ps4ApplicationParam1: 0 524 | ps4ApplicationParam2: 0 525 | ps4ApplicationParam3: 0 526 | ps4ApplicationParam4: 0 527 | ps4DownloadDataSize: 0 528 | ps4GarlicHeapSize: 2048 529 | ps4ProGarlicHeapSize: 2560 530 | playerPrefsMaxSize: 32768 531 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 532 | ps4pnSessions: 1 533 | ps4pnPresence: 1 534 | ps4pnFriends: 1 535 | ps4pnGameCustomData: 1 536 | playerPrefsSupport: 0 537 | enableApplicationExit: 0 538 | resetTempFolder: 1 539 | restrictedAudioUsageRights: 0 540 | ps4UseResolutionFallback: 0 541 | ps4ReprojectionSupport: 0 542 | ps4UseAudio3dBackend: 0 543 | ps4UseLowGarlicFragmentationMode: 1 544 | ps4SocialScreenEnabled: 0 545 | ps4ScriptOptimizationLevel: 0 546 | ps4Audio3dVirtualSpeakerCount: 14 547 | ps4attribCpuUsage: 0 548 | ps4PatchPkgPath: 549 | ps4PatchLatestPkgPath: 550 | ps4PatchChangeinfoPath: 551 | ps4PatchDayOne: 0 552 | ps4attribUserManagement: 0 553 | ps4attribMoveSupport: 0 554 | ps4attrib3DSupport: 0 555 | ps4attribShareSupport: 0 556 | ps4attribExclusiveVR: 0 557 | ps4disableAutoHideSplash: 0 558 | ps4videoRecordingFeaturesUsed: 0 559 | ps4contentSearchFeaturesUsed: 0 560 | ps4CompatibilityPS5: 0 561 | ps4AllowPS5Detection: 0 562 | ps4GPU800MHz: 1 563 | ps4attribEyeToEyeDistanceSettingVR: 0 564 | ps4IncludedModules: [] 565 | ps4attribVROutputEnabled: 0 566 | monoEnv: 567 | splashScreenBackgroundSourceLandscape: {fileID: 0} 568 | splashScreenBackgroundSourcePortrait: {fileID: 0} 569 | blurSplashScreenBackground: 1 570 | spritePackerPolicy: 571 | webGLMemorySize: 16 572 | webGLExceptionSupport: 1 573 | webGLNameFilesAsHashes: 0 574 | webGLDataCaching: 1 575 | webGLDebugSymbols: 0 576 | webGLEmscriptenArgs: 577 | webGLModulesDirectory: 578 | webGLTemplate: APPLICATION:Default 579 | webGLAnalyzeBuildSize: 0 580 | webGLUseEmbeddedResources: 0 581 | webGLCompressionFormat: 1 582 | webGLWasmArithmeticExceptions: 0 583 | webGLLinkerTarget: 1 584 | webGLThreadsSupport: 0 585 | webGLDecompressionFallback: 0 586 | scriptingDefineSymbols: {} 587 | additionalCompilerArguments: {} 588 | platformArchitecture: {} 589 | scriptingBackend: {} 590 | il2cppCompilerConfiguration: {} 591 | managedStrippingLevel: {} 592 | incrementalIl2cppBuild: {} 593 | suppressCommonWarnings: 1 594 | allowUnsafeCode: 0 595 | useDeterministicCompilation: 1 596 | enableRoslynAnalyzers: 1 597 | additionalIl2CppArgs: 598 | scriptingRuntimeVersion: 1 599 | gcIncremental: 1 600 | assemblyVersionValidation: 1 601 | gcWBarrierValidation: 0 602 | apiCompatibilityLevelPerPlatform: {} 603 | m_RenderingPath: 1 604 | m_MobileRenderingPath: 1 605 | metroPackageName: Template_3D 606 | metroPackageVersion: 607 | metroCertificatePath: 608 | metroCertificatePassword: 609 | metroCertificateSubject: 610 | metroCertificateIssuer: 611 | metroCertificateNotAfter: 0000000000000000 612 | metroApplicationDescription: Template_3D 613 | wsaImages: {} 614 | metroTileShortName: 615 | metroTileShowName: 0 616 | metroMediumTileShowName: 0 617 | metroLargeTileShowName: 0 618 | metroWideTileShowName: 0 619 | metroSupportStreamingInstall: 0 620 | metroLastRequiredScene: 0 621 | metroDefaultTileSize: 1 622 | metroTileForegroundText: 2 623 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 624 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} 625 | metroSplashScreenUseBackgroundColor: 0 626 | platformCapabilities: {} 627 | metroTargetDeviceFamilies: {} 628 | metroFTAName: 629 | metroFTAFileTypes: [] 630 | metroProtocolName: 631 | XboxOneProductId: 632 | XboxOneUpdateKey: 633 | XboxOneSandboxId: 634 | XboxOneContentId: 635 | XboxOneTitleId: 636 | XboxOneSCId: 637 | XboxOneGameOsOverridePath: 638 | XboxOnePackagingOverridePath: 639 | XboxOneAppManifestOverridePath: 640 | XboxOneVersion: 1.0.0.0 641 | XboxOnePackageEncryption: 0 642 | XboxOnePackageUpdateGranularity: 2 643 | XboxOneDescription: 644 | XboxOneLanguage: 645 | - enus 646 | XboxOneCapability: [] 647 | XboxOneGameRating: {} 648 | XboxOneIsContentPackage: 0 649 | XboxOneEnhancedXboxCompatibilityMode: 0 650 | XboxOneEnableGPUVariability: 1 651 | XboxOneSockets: {} 652 | XboxOneSplashScreen: {fileID: 0} 653 | XboxOneAllowedProductIds: [] 654 | XboxOnePersistentLocalStorageSize: 0 655 | XboxOneXTitleMemory: 8 656 | XboxOneOverrideIdentityName: 657 | XboxOneOverrideIdentityPublisher: 658 | vrEditorSettings: {} 659 | cloudServicesEnabled: 660 | UNet: 1 661 | luminIcon: 662 | m_Name: 663 | m_ModelFolderPath: 664 | m_PortalFolderPath: 665 | luminCert: 666 | m_CertPath: 667 | m_SignPackage: 1 668 | luminIsChannelApp: 0 669 | luminVersion: 670 | m_VersionCode: 1 671 | m_VersionName: 672 | apiCompatibilityLevel: 6 673 | activeInputHandler: 0 674 | cloudProjectId: 675 | framebufferDepthMemorylessMode: 0 676 | qualitySettingsNames: [] 677 | projectName: 678 | organizationId: 679 | cloudEnabled: 0 680 | legacyClampBlendShapeWeights: 0 681 | virtualTexturingSupportEnabled: 0 682 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2021.1.17f1 2 | m_EditorVersionWithRevision: 2021.1.17f1 (03b40fe07a36) 3 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 0 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | blendWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 1 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | blendWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | blendWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 0 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 70 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | blendWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 2 199 | antiAliasing: 2 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: 220 | Android: 2 221 | Lumin: 5 222 | Nintendo 3DS: 5 223 | Nintendo Switch: 5 224 | PS4: 5 225 | PSP2: 2 226 | Stadia: 5 227 | Standalone: 5 228 | WebGL: 3 229 | Windows Store Apps: 5 230 | XboxOne: 5 231 | iPhone: 2 232 | tvOS: 2 233 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_DashboardUrl: https://dashboard.unity3d.com 13 | m_TestInitMode: 0 14 | CrashReportingSettings: 15 | m_EventUrl: https://perf-events.cloud.unity3d.com 16 | m_Enabled: 0 17 | m_LogBufferSize: 10 18 | m_CaptureEditorExceptions: 1 19 | UnityPurchasingSettings: 20 | m_Enabled: 0 21 | m_TestMode: 0 22 | UnityAnalyticsSettings: 23 | m_Enabled: 0 24 | m_TestMode: 0 25 | m_InitializeOnStartup: 1 26 | UnityAdsSettings: 27 | m_Enabled: 0 28 | m_InitializeOnStartup: 1 29 | m_TestMode: 0 30 | m_IosGameId: 31 | m_AndroidGameId: 32 | m_GameIds: {} 33 | m_GameId: 34 | PerformanceReportingSettings: 35 | m_Enabled: 0 36 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Build a better collider importer with Asset Processors 2 | An example AssetProcessor that improves on Unity's default import collider generation. Read the accompanying blog post [here](https://bronsonzgeb.com/index.php/2021/11/27/better-collider-generation-with-asset-processors/). 3 | 4 | ![Example](https://github.com/bzgeb/AutomaticColliderGeneration/blob/master/Screenshots/worm.png) 5 | -------------------------------------------------------------------------------- /Screenshots/worm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bzgeb/AutomaticColliderGeneration/1d68ce8afa9fc8ccced26ede43556dcfeaa2c582/Screenshots/worm.png --------------------------------------------------------------------------------