├── .gitignore ├── Assets ├── VRM.QuickMetaLoader.meta └── VRM.QuickMetaLoader │ ├── Example.meta │ ├── Example │ ├── Prefabs.meta │ ├── Prefabs │ │ ├── CharacterCard.prefab │ │ ├── CharacterCard.prefab.meta │ │ ├── RollingCube.prefab │ │ └── RollingCube.prefab.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── CharacterCard.cs │ │ ├── CharacterCard.cs.meta │ │ ├── JobLoadManyMeta.cs │ │ ├── JobLoadManyMeta.cs.meta │ │ ├── LoadManyMeta.cs │ │ ├── LoadManyMeta.cs.meta │ │ ├── LoadManyMetaColoutine.cs │ │ ├── LoadManyMetaColoutine.cs.meta │ │ ├── LoadMeta.cs │ │ ├── LoadMeta.cs.meta │ │ ├── Rolling.cs │ │ └── Rolling.cs.meta │ ├── demo.unity │ ├── demo.unity.meta │ ├── demo2.unity │ ├── demo2.unity.meta │ ├── demo3_coloutine.unity │ ├── demo3_coloutine.unity.meta │ ├── demo4_job.unity │ └── demo4_job.unity.meta │ ├── QuickMetaLoader.asmdef │ ├── QuickMetaLoader.asmdef.meta │ ├── Scripts.meta │ └── Scripts │ ├── EnumParser.cs │ ├── EnumParser.cs.meta │ ├── IMetaLoader.cs │ ├── IMetaLoader.cs.meta │ ├── JobMetaLoader.cs │ ├── JobMetaLoader.cs.meta │ ├── JobMetaLoaderInternal.cs │ ├── JobMetaLoaderInternal.cs.meta │ ├── MetaLoader.cs │ ├── MetaLoader.cs.meta │ ├── MetaLoaderInternal.cs │ ├── MetaLoaderInternal.cs.meta │ ├── Model.meta │ ├── Model │ ├── GltfModels.cs │ ├── GltfModels.cs.meta │ ├── QuickMetaObject.cs │ └── QuickMetaObject.cs.meta │ ├── QuickMetaStruct.cs │ ├── QuickMetaStruct.cs.meta │ ├── StringDeconstructHelper.cs │ └── StringDeconstructHelper.cs.meta ├── Docs └── images │ └── demo_ss01.png ├── LICENSE ├── Packages └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset └── VFXManager.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uild/ 5 | [Bb]uilds/ 6 | Assets/AssetStoreTools* 7 | [Ll]ogs/ 8 | 9 | # Visual Studio cache directory 10 | .vs/ 11 | 12 | # Autogenerated VS/MD/Consulo solution and project files 13 | ExportedObj/ 14 | .consulo/ 15 | *.csproj 16 | *.unityproj 17 | *.sln 18 | *.suo 19 | *.tmp 20 | *.user 21 | *.userprefs 22 | *.pidb 23 | *.booproj 24 | *.svd 25 | *.pdb 26 | *.opendb 27 | 28 | # Unity3D generated meta files 29 | *.pidb.meta 30 | *.pdb.meta 31 | 32 | # Unity3D Generated File On Crash Reports 33 | sysinfo.txt 34 | 35 | # Builds 36 | *.apk 37 | *.unitypackage 38 | 39 | # Jetbrains Idea setting directory 40 | .idea/ 41 | 42 | # Jetbrains Idea plugin directory 43 | JetBrains/ 44 | JetBrains.meta 45 | 46 | # Ignore Assets 47 | Assets/Plugins/Editor/ 48 | Assets/Plugins/Editor.meta 49 | 50 | # TmpIgnore 51 | Assets/VRM/ 52 | Assets/VRM.meta 53 | Assets/VRM.Samples/ 54 | Assets/VRM.Samples.meta 55 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e284527fe4d7ddd4c98ecc725444ca6d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3c444b5da232874b9ec48b448e38848 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4dcf54a8025219741924d55bb148bc9a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Prefabs/CharacterCard.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &456416376516652703 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: 7244744641386334038} 12 | - component: {fileID: 6657052953406525862} 13 | - component: {fileID: 5403803105692733877} 14 | m_Layer: 5 15 | m_Name: V-DA 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!224 &7244744641386334038 22 | RectTransform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 456416376516652703} 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: 1119303759104257338} 33 | m_RootOrder: 0 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | m_AnchorMin: {x: 0.5, y: 0.5} 36 | m_AnchorMax: {x: 0.5, y: 0.5} 37 | m_AnchoredPosition: {x: 0, y: -24.43} 38 | m_SizeDelta: {x: 100, y: 20} 39 | m_Pivot: {x: 0.5, y: 0.5} 40 | --- !u!222 &6657052953406525862 41 | CanvasRenderer: 42 | m_ObjectHideFlags: 0 43 | m_CorrespondingSourceObject: {fileID: 0} 44 | m_PrefabInstance: {fileID: 0} 45 | m_PrefabAsset: {fileID: 0} 46 | m_GameObject: {fileID: 456416376516652703} 47 | m_CullTransparentMesh: 0 48 | --- !u!114 &5403803105692733877 49 | MonoBehaviour: 50 | m_ObjectHideFlags: 0 51 | m_CorrespondingSourceObject: {fileID: 0} 52 | m_PrefabInstance: {fileID: 0} 53 | m_PrefabAsset: {fileID: 0} 54 | m_GameObject: {fileID: 456416376516652703} 55 | m_Enabled: 1 56 | m_EditorHideFlags: 0 57 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 58 | m_Name: 59 | m_EditorClassIdentifier: 60 | m_Material: {fileID: 0} 61 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 62 | m_RaycastTarget: 1 63 | m_OnCullStateChanged: 64 | m_PersistentCalls: 65 | m_Calls: [] 66 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 67 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 68 | m_FontData: 69 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 70 | m_FontSize: 14 71 | m_FontStyle: 0 72 | m_BestFit: 0 73 | m_MinSize: 10 74 | m_MaxSize: 40 75 | m_Alignment: 1 76 | m_AlignByGeometry: 0 77 | m_RichText: 1 78 | m_HorizontalOverflow: 0 79 | m_VerticalOverflow: 0 80 | m_LineSpacing: 1 81 | m_Text: aaaaaa 82 | --- !u!1 &626045741512419194 83 | GameObject: 84 | m_ObjectHideFlags: 0 85 | m_CorrespondingSourceObject: {fileID: 0} 86 | m_PrefabInstance: {fileID: 0} 87 | m_PrefabAsset: {fileID: 0} 88 | serializedVersion: 6 89 | m_Component: 90 | - component: {fileID: 2159976724887315036} 91 | - component: {fileID: 3131889867361079966} 92 | - component: {fileID: 8656721492152553678} 93 | m_Layer: 5 94 | m_Name: Thumbnail 95 | m_TagString: Untagged 96 | m_Icon: {fileID: 0} 97 | m_NavMeshLayer: 0 98 | m_StaticEditorFlags: 0 99 | m_IsActive: 1 100 | --- !u!224 &2159976724887315036 101 | RectTransform: 102 | m_ObjectHideFlags: 0 103 | m_CorrespondingSourceObject: {fileID: 0} 104 | m_PrefabInstance: {fileID: 0} 105 | m_PrefabAsset: {fileID: 0} 106 | m_GameObject: {fileID: 626045741512419194} 107 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 108 | m_LocalPosition: {x: 0, y: 0, z: 0} 109 | m_LocalScale: {x: 1, y: 1, z: 1} 110 | m_Children: [] 111 | m_Father: {fileID: 5017241311760143413} 112 | m_RootOrder: 0 113 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 114 | m_AnchorMin: {x: 0, y: 0.5} 115 | m_AnchorMax: {x: 0, y: 0.5} 116 | m_AnchoredPosition: {x: 20, y: 0} 117 | m_SizeDelta: {x: 80, y: 80} 118 | m_Pivot: {x: 0, y: 0.5} 119 | --- !u!222 &3131889867361079966 120 | CanvasRenderer: 121 | m_ObjectHideFlags: 0 122 | m_CorrespondingSourceObject: {fileID: 0} 123 | m_PrefabInstance: {fileID: 0} 124 | m_PrefabAsset: {fileID: 0} 125 | m_GameObject: {fileID: 626045741512419194} 126 | m_CullTransparentMesh: 0 127 | --- !u!114 &8656721492152553678 128 | MonoBehaviour: 129 | m_ObjectHideFlags: 0 130 | m_CorrespondingSourceObject: {fileID: 0} 131 | m_PrefabInstance: {fileID: 0} 132 | m_PrefabAsset: {fileID: 0} 133 | m_GameObject: {fileID: 626045741512419194} 134 | m_Enabled: 1 135 | m_EditorHideFlags: 0 136 | m_Script: {fileID: -98529514, guid: f70555f144d8491a825f0804e09c671c, type: 3} 137 | m_Name: 138 | m_EditorClassIdentifier: 139 | m_Material: {fileID: 0} 140 | m_Color: {r: 1, g: 1, b: 1, a: 1} 141 | m_RaycastTarget: 1 142 | m_OnCullStateChanged: 143 | m_PersistentCalls: 144 | m_Calls: [] 145 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 146 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 147 | m_Texture: {fileID: 0} 148 | m_UVRect: 149 | serializedVersion: 2 150 | x: 0 151 | y: 0 152 | width: 1 153 | height: 1 154 | --- !u!1 &679814873595481410 155 | GameObject: 156 | m_ObjectHideFlags: 0 157 | m_CorrespondingSourceObject: {fileID: 0} 158 | m_PrefabInstance: {fileID: 0} 159 | m_PrefabAsset: {fileID: 0} 160 | serializedVersion: 6 161 | m_Component: 162 | - component: {fileID: 1687524097849138923} 163 | - component: {fileID: 1345008022002738977} 164 | - component: {fileID: 3923076089290523145} 165 | m_Layer: 5 166 | m_Name: Commercial 167 | m_TagString: Untagged 168 | m_Icon: {fileID: 0} 169 | m_NavMeshLayer: 0 170 | m_StaticEditorFlags: 0 171 | m_IsActive: 1 172 | --- !u!224 &1687524097849138923 173 | RectTransform: 174 | m_ObjectHideFlags: 0 175 | m_CorrespondingSourceObject: {fileID: 0} 176 | m_PrefabInstance: {fileID: 0} 177 | m_PrefabAsset: {fileID: 0} 178 | m_GameObject: {fileID: 679814873595481410} 179 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 180 | m_LocalPosition: {x: 0, y: 0, z: 0} 181 | m_LocalScale: {x: 1, y: 1, z: 1} 182 | m_Children: 183 | - {fileID: 5315022657429433865} 184 | m_Father: {fileID: 5017241311760143413} 185 | m_RootOrder: 5 186 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 187 | m_AnchorMin: {x: 0.5, y: 0.5} 188 | m_AnchorMax: {x: 0.5, y: 0.5} 189 | m_AnchoredPosition: {x: 171.2, y: -5} 190 | m_SizeDelta: {x: 83.4, y: 20} 191 | m_Pivot: {x: 0.5, y: 0.5} 192 | --- !u!222 &1345008022002738977 193 | CanvasRenderer: 194 | m_ObjectHideFlags: 0 195 | m_CorrespondingSourceObject: {fileID: 0} 196 | m_PrefabInstance: {fileID: 0} 197 | m_PrefabAsset: {fileID: 0} 198 | m_GameObject: {fileID: 679814873595481410} 199 | m_CullTransparentMesh: 0 200 | --- !u!114 &3923076089290523145 201 | MonoBehaviour: 202 | m_ObjectHideFlags: 0 203 | m_CorrespondingSourceObject: {fileID: 0} 204 | m_PrefabInstance: {fileID: 0} 205 | m_PrefabAsset: {fileID: 0} 206 | m_GameObject: {fileID: 679814873595481410} 207 | m_Enabled: 1 208 | m_EditorHideFlags: 0 209 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 210 | m_Name: 211 | m_EditorClassIdentifier: 212 | m_Material: {fileID: 0} 213 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 214 | m_RaycastTarget: 1 215 | m_OnCullStateChanged: 216 | m_PersistentCalls: 217 | m_Calls: [] 218 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 219 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 220 | m_FontData: 221 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 222 | m_FontSize: 14 223 | m_FontStyle: 0 224 | m_BestFit: 0 225 | m_MinSize: 10 226 | m_MaxSize: 40 227 | m_Alignment: 1 228 | m_AlignByGeometry: 0 229 | m_RichText: 1 230 | m_HorizontalOverflow: 0 231 | m_VerticalOverflow: 0 232 | m_LineSpacing: 1 233 | m_Text: Commercial 234 | --- !u!1 &1049033643297428764 235 | GameObject: 236 | m_ObjectHideFlags: 0 237 | m_CorrespondingSourceObject: {fileID: 0} 238 | m_PrefabInstance: {fileID: 0} 239 | m_PrefabAsset: {fileID: 0} 240 | serializedVersion: 6 241 | m_Component: 242 | - component: {fileID: 6429600264977162123} 243 | - component: {fileID: 6384973478932959286} 244 | - component: {fileID: 6708759064995419196} 245 | m_Layer: 5 246 | m_Name: Sexual 247 | m_TagString: Untagged 248 | m_Icon: {fileID: 0} 249 | m_NavMeshLayer: 0 250 | m_StaticEditorFlags: 0 251 | m_IsActive: 1 252 | --- !u!224 &6429600264977162123 253 | RectTransform: 254 | m_ObjectHideFlags: 0 255 | m_CorrespondingSourceObject: {fileID: 0} 256 | m_PrefabInstance: {fileID: 0} 257 | m_PrefabAsset: {fileID: 0} 258 | m_GameObject: {fileID: 1049033643297428764} 259 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 260 | m_LocalPosition: {x: 0, y: 0, z: 0} 261 | m_LocalScale: {x: 1, y: 1, z: 1} 262 | m_Children: 263 | - {fileID: 6231113486274230388} 264 | m_Father: {fileID: 5017241311760143413} 265 | m_RootOrder: 4 266 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 267 | m_AnchorMin: {x: 0.5, y: 0.5} 268 | m_AnchorMax: {x: 0.5, y: 0.5} 269 | m_AnchoredPosition: {x: 59.1, y: -5} 270 | m_SizeDelta: {x: 50, y: 20} 271 | m_Pivot: {x: 0.5, y: 0.5} 272 | --- !u!222 &6384973478932959286 273 | CanvasRenderer: 274 | m_ObjectHideFlags: 0 275 | m_CorrespondingSourceObject: {fileID: 0} 276 | m_PrefabInstance: {fileID: 0} 277 | m_PrefabAsset: {fileID: 0} 278 | m_GameObject: {fileID: 1049033643297428764} 279 | m_CullTransparentMesh: 0 280 | --- !u!114 &6708759064995419196 281 | MonoBehaviour: 282 | m_ObjectHideFlags: 0 283 | m_CorrespondingSourceObject: {fileID: 0} 284 | m_PrefabInstance: {fileID: 0} 285 | m_PrefabAsset: {fileID: 0} 286 | m_GameObject: {fileID: 1049033643297428764} 287 | m_Enabled: 1 288 | m_EditorHideFlags: 0 289 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 290 | m_Name: 291 | m_EditorClassIdentifier: 292 | m_Material: {fileID: 0} 293 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 294 | m_RaycastTarget: 1 295 | m_OnCullStateChanged: 296 | m_PersistentCalls: 297 | m_Calls: [] 298 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 299 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 300 | m_FontData: 301 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 302 | m_FontSize: 14 303 | m_FontStyle: 0 304 | m_BestFit: 0 305 | m_MinSize: 10 306 | m_MaxSize: 40 307 | m_Alignment: 1 308 | m_AlignByGeometry: 0 309 | m_RichText: 1 310 | m_HorizontalOverflow: 0 311 | m_VerticalOverflow: 0 312 | m_LineSpacing: 1 313 | m_Text: Sexual 314 | --- !u!1 &1245284079299505805 315 | GameObject: 316 | m_ObjectHideFlags: 0 317 | m_CorrespondingSourceObject: {fileID: 0} 318 | m_PrefabInstance: {fileID: 0} 319 | m_PrefabAsset: {fileID: 0} 320 | serializedVersion: 6 321 | m_Component: 322 | - component: {fileID: 1119303759104257338} 323 | - component: {fileID: 9018847281464988735} 324 | - component: {fileID: 4932263129838275686} 325 | m_Layer: 5 326 | m_Name: Violent 327 | m_TagString: Untagged 328 | m_Icon: {fileID: 0} 329 | m_NavMeshLayer: 0 330 | m_StaticEditorFlags: 0 331 | m_IsActive: 1 332 | --- !u!224 &1119303759104257338 333 | RectTransform: 334 | m_ObjectHideFlags: 0 335 | m_CorrespondingSourceObject: {fileID: 0} 336 | m_PrefabInstance: {fileID: 0} 337 | m_PrefabAsset: {fileID: 0} 338 | m_GameObject: {fileID: 1245284079299505805} 339 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 340 | m_LocalPosition: {x: 0, y: 0, z: 0} 341 | m_LocalScale: {x: 1, y: 1, z: 1} 342 | m_Children: 343 | - {fileID: 7244744641386334038} 344 | m_Father: {fileID: 5017241311760143413} 345 | m_RootOrder: 3 346 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 347 | m_AnchorMin: {x: 0.5, y: 0.5} 348 | m_AnchorMax: {x: 0.5, y: 0.5} 349 | m_AnchoredPosition: {x: -49.9, y: -5} 350 | m_SizeDelta: {x: 50, y: 20} 351 | m_Pivot: {x: 0.5, y: 0.5} 352 | --- !u!222 &9018847281464988735 353 | CanvasRenderer: 354 | m_ObjectHideFlags: 0 355 | m_CorrespondingSourceObject: {fileID: 0} 356 | m_PrefabInstance: {fileID: 0} 357 | m_PrefabAsset: {fileID: 0} 358 | m_GameObject: {fileID: 1245284079299505805} 359 | m_CullTransparentMesh: 0 360 | --- !u!114 &4932263129838275686 361 | MonoBehaviour: 362 | m_ObjectHideFlags: 0 363 | m_CorrespondingSourceObject: {fileID: 0} 364 | m_PrefabInstance: {fileID: 0} 365 | m_PrefabAsset: {fileID: 0} 366 | m_GameObject: {fileID: 1245284079299505805} 367 | m_Enabled: 1 368 | m_EditorHideFlags: 0 369 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 370 | m_Name: 371 | m_EditorClassIdentifier: 372 | m_Material: {fileID: 0} 373 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 374 | m_RaycastTarget: 1 375 | m_OnCullStateChanged: 376 | m_PersistentCalls: 377 | m_Calls: [] 378 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 379 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 380 | m_FontData: 381 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 382 | m_FontSize: 14 383 | m_FontStyle: 0 384 | m_BestFit: 0 385 | m_MinSize: 10 386 | m_MaxSize: 40 387 | m_Alignment: 1 388 | m_AlignByGeometry: 0 389 | m_RichText: 1 390 | m_HorizontalOverflow: 0 391 | m_VerticalOverflow: 0 392 | m_LineSpacing: 1 393 | m_Text: Violent 394 | --- !u!1 &4178055711152863417 395 | GameObject: 396 | m_ObjectHideFlags: 0 397 | m_CorrespondingSourceObject: {fileID: 0} 398 | m_PrefabInstance: {fileID: 0} 399 | m_PrefabAsset: {fileID: 0} 400 | serializedVersion: 6 401 | m_Component: 402 | - component: {fileID: 5315022657429433865} 403 | - component: {fileID: 4566171776397189483} 404 | - component: {fileID: 7208894916326511253} 405 | m_Layer: 5 406 | m_Name: C-DA 407 | m_TagString: Untagged 408 | m_Icon: {fileID: 0} 409 | m_NavMeshLayer: 0 410 | m_StaticEditorFlags: 0 411 | m_IsActive: 1 412 | --- !u!224 &5315022657429433865 413 | RectTransform: 414 | m_ObjectHideFlags: 0 415 | m_CorrespondingSourceObject: {fileID: 0} 416 | m_PrefabInstance: {fileID: 0} 417 | m_PrefabAsset: {fileID: 0} 418 | m_GameObject: {fileID: 4178055711152863417} 419 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 420 | m_LocalPosition: {x: 0, y: 0, z: 0} 421 | m_LocalScale: {x: 1, y: 1, z: 1} 422 | m_Children: [] 423 | m_Father: {fileID: 1687524097849138923} 424 | m_RootOrder: 0 425 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 426 | m_AnchorMin: {x: 0.5, y: 0.5} 427 | m_AnchorMax: {x: 0.5, y: 0.5} 428 | m_AnchoredPosition: {x: 0, y: -24.43} 429 | m_SizeDelta: {x: 100, y: 20} 430 | m_Pivot: {x: 0.5, y: 0.5} 431 | --- !u!222 &4566171776397189483 432 | CanvasRenderer: 433 | m_ObjectHideFlags: 0 434 | m_CorrespondingSourceObject: {fileID: 0} 435 | m_PrefabInstance: {fileID: 0} 436 | m_PrefabAsset: {fileID: 0} 437 | m_GameObject: {fileID: 4178055711152863417} 438 | m_CullTransparentMesh: 0 439 | --- !u!114 &7208894916326511253 440 | MonoBehaviour: 441 | m_ObjectHideFlags: 0 442 | m_CorrespondingSourceObject: {fileID: 0} 443 | m_PrefabInstance: {fileID: 0} 444 | m_PrefabAsset: {fileID: 0} 445 | m_GameObject: {fileID: 4178055711152863417} 446 | m_Enabled: 1 447 | m_EditorHideFlags: 0 448 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 449 | m_Name: 450 | m_EditorClassIdentifier: 451 | m_Material: {fileID: 0} 452 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 453 | m_RaycastTarget: 1 454 | m_OnCullStateChanged: 455 | m_PersistentCalls: 456 | m_Calls: [] 457 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 458 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 459 | m_FontData: 460 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 461 | m_FontSize: 14 462 | m_FontStyle: 0 463 | m_BestFit: 0 464 | m_MinSize: 10 465 | m_MaxSize: 40 466 | m_Alignment: 1 467 | m_AlignByGeometry: 0 468 | m_RichText: 1 469 | m_HorizontalOverflow: 0 470 | m_VerticalOverflow: 0 471 | m_LineSpacing: 1 472 | m_Text: 2222 473 | --- !u!1 &4610295395410182037 474 | GameObject: 475 | m_ObjectHideFlags: 0 476 | m_CorrespondingSourceObject: {fileID: 0} 477 | m_PrefabInstance: {fileID: 0} 478 | m_PrefabAsset: {fileID: 0} 479 | serializedVersion: 6 480 | m_Component: 481 | - component: {fileID: 6231113486274230388} 482 | - component: {fileID: 6332065162091604105} 483 | - component: {fileID: 4979006316254428626} 484 | m_Layer: 5 485 | m_Name: S-DA 486 | m_TagString: Untagged 487 | m_Icon: {fileID: 0} 488 | m_NavMeshLayer: 0 489 | m_StaticEditorFlags: 0 490 | m_IsActive: 1 491 | --- !u!224 &6231113486274230388 492 | RectTransform: 493 | m_ObjectHideFlags: 0 494 | m_CorrespondingSourceObject: {fileID: 0} 495 | m_PrefabInstance: {fileID: 0} 496 | m_PrefabAsset: {fileID: 0} 497 | m_GameObject: {fileID: 4610295395410182037} 498 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 499 | m_LocalPosition: {x: 0, y: 0, z: 0} 500 | m_LocalScale: {x: 1, y: 1, z: 1} 501 | m_Children: [] 502 | m_Father: {fileID: 6429600264977162123} 503 | m_RootOrder: 0 504 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 505 | m_AnchorMin: {x: 0.5, y: 0.5} 506 | m_AnchorMax: {x: 0.5, y: 0.5} 507 | m_AnchoredPosition: {x: 0, y: -24.43} 508 | m_SizeDelta: {x: 100, y: 20} 509 | m_Pivot: {x: 0.5, y: 0.5} 510 | --- !u!222 &6332065162091604105 511 | CanvasRenderer: 512 | m_ObjectHideFlags: 0 513 | m_CorrespondingSourceObject: {fileID: 0} 514 | m_PrefabInstance: {fileID: 0} 515 | m_PrefabAsset: {fileID: 0} 516 | m_GameObject: {fileID: 4610295395410182037} 517 | m_CullTransparentMesh: 0 518 | --- !u!114 &4979006316254428626 519 | MonoBehaviour: 520 | m_ObjectHideFlags: 0 521 | m_CorrespondingSourceObject: {fileID: 0} 522 | m_PrefabInstance: {fileID: 0} 523 | m_PrefabAsset: {fileID: 0} 524 | m_GameObject: {fileID: 4610295395410182037} 525 | m_Enabled: 1 526 | m_EditorHideFlags: 0 527 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 528 | m_Name: 529 | m_EditorClassIdentifier: 530 | m_Material: {fileID: 0} 531 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 532 | m_RaycastTarget: 1 533 | m_OnCullStateChanged: 534 | m_PersistentCalls: 535 | m_Calls: [] 536 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 537 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 538 | m_FontData: 539 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 540 | m_FontSize: 14 541 | m_FontStyle: 0 542 | m_BestFit: 0 543 | m_MinSize: 10 544 | m_MaxSize: 40 545 | m_Alignment: 1 546 | m_AlignByGeometry: 0 547 | m_RichText: 1 548 | m_HorizontalOverflow: 0 549 | m_VerticalOverflow: 0 550 | m_LineSpacing: 1 551 | m_Text: 1111 552 | --- !u!1 &7842744308589553639 553 | GameObject: 554 | m_ObjectHideFlags: 0 555 | m_CorrespondingSourceObject: {fileID: 0} 556 | m_PrefabInstance: {fileID: 0} 557 | m_PrefabAsset: {fileID: 0} 558 | serializedVersion: 6 559 | m_Component: 560 | - component: {fileID: 5017241311760143413} 561 | - component: {fileID: 3409226027584439888} 562 | - component: {fileID: 2188525517490293470} 563 | - component: {fileID: 5518140661270453557} 564 | - component: {fileID: 6933726682429932876} 565 | m_Layer: 5 566 | m_Name: CharacterCard 567 | m_TagString: Untagged 568 | m_Icon: {fileID: 0} 569 | m_NavMeshLayer: 0 570 | m_StaticEditorFlags: 0 571 | m_IsActive: 1 572 | --- !u!224 &5017241311760143413 573 | RectTransform: 574 | m_ObjectHideFlags: 0 575 | m_CorrespondingSourceObject: {fileID: 0} 576 | m_PrefabInstance: {fileID: 0} 577 | m_PrefabAsset: {fileID: 0} 578 | m_GameObject: {fileID: 7842744308589553639} 579 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 580 | m_LocalPosition: {x: 0, y: 0, z: 0} 581 | m_LocalScale: {x: 1, y: 1, z: 1} 582 | m_Children: 583 | - {fileID: 2159976724887315036} 584 | - {fileID: 3959515065287760777} 585 | - {fileID: 5989459310095886186} 586 | - {fileID: 1119303759104257338} 587 | - {fileID: 6429600264977162123} 588 | - {fileID: 1687524097849138923} 589 | m_Father: {fileID: 0} 590 | m_RootOrder: 0 591 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 592 | m_AnchorMin: {x: 0, y: 1} 593 | m_AnchorMax: {x: 0, y: 1} 594 | m_AnchoredPosition: {x: 0, y: 0} 595 | m_SizeDelta: {x: 500, y: 90} 596 | m_Pivot: {x: 0, y: 1} 597 | --- !u!222 &3409226027584439888 598 | CanvasRenderer: 599 | m_ObjectHideFlags: 0 600 | m_CorrespondingSourceObject: {fileID: 0} 601 | m_PrefabInstance: {fileID: 0} 602 | m_PrefabAsset: {fileID: 0} 603 | m_GameObject: {fileID: 7842744308589553639} 604 | m_CullTransparentMesh: 0 605 | --- !u!114 &2188525517490293470 606 | MonoBehaviour: 607 | m_ObjectHideFlags: 0 608 | m_CorrespondingSourceObject: {fileID: 0} 609 | m_PrefabInstance: {fileID: 0} 610 | m_PrefabAsset: {fileID: 0} 611 | m_GameObject: {fileID: 7842744308589553639} 612 | m_Enabled: 1 613 | m_EditorHideFlags: 0 614 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 615 | m_Name: 616 | m_EditorClassIdentifier: 617 | m_Material: {fileID: 0} 618 | m_Color: {r: 1, g: 1, b: 1, a: 0.392} 619 | m_RaycastTarget: 1 620 | m_OnCullStateChanged: 621 | m_PersistentCalls: 622 | m_Calls: [] 623 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 624 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 625 | m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} 626 | m_Type: 1 627 | m_PreserveAspect: 0 628 | m_FillCenter: 1 629 | m_FillMethod: 4 630 | m_FillAmount: 1 631 | m_FillClockwise: 1 632 | m_FillOrigin: 0 633 | m_UseSpriteMesh: 0 634 | --- !u!114 &5518140661270453557 635 | MonoBehaviour: 636 | m_ObjectHideFlags: 0 637 | m_CorrespondingSourceObject: {fileID: 0} 638 | m_PrefabInstance: {fileID: 0} 639 | m_PrefabAsset: {fileID: 0} 640 | m_GameObject: {fileID: 7842744308589553639} 641 | m_Enabled: 1 642 | m_EditorHideFlags: 0 643 | m_Script: {fileID: 11500000, guid: 069e6b773c1cb5641b2e694ddeb26fcc, type: 3} 644 | m_Name: 645 | m_EditorClassIdentifier: 646 | title: {fileID: 4489253785069815899} 647 | version: {fileID: 6209831361074478496} 648 | violence: {fileID: 5403803105692733877} 649 | sexual: {fileID: 4979006316254428626} 650 | commercial: {fileID: 7208894916326511253} 651 | thumbnail: {fileID: 8656721492152553678} 652 | --- !u!114 &6933726682429932876 653 | MonoBehaviour: 654 | m_ObjectHideFlags: 0 655 | m_CorrespondingSourceObject: {fileID: 0} 656 | m_PrefabInstance: {fileID: 0} 657 | m_PrefabAsset: {fileID: 0} 658 | m_GameObject: {fileID: 7842744308589553639} 659 | m_Enabled: 1 660 | m_EditorHideFlags: 0 661 | m_Script: {fileID: 1679637790, guid: f70555f144d8491a825f0804e09c671c, type: 3} 662 | m_Name: 663 | m_EditorClassIdentifier: 664 | m_IgnoreLayout: 0 665 | m_MinWidth: -1 666 | m_MinHeight: -1 667 | m_PreferredWidth: 500 668 | m_PreferredHeight: 150 669 | m_FlexibleWidth: -1 670 | m_FlexibleHeight: -1 671 | m_LayoutPriority: 1 672 | --- !u!1 &7875432538624333034 673 | GameObject: 674 | m_ObjectHideFlags: 0 675 | m_CorrespondingSourceObject: {fileID: 0} 676 | m_PrefabInstance: {fileID: 0} 677 | m_PrefabAsset: {fileID: 0} 678 | serializedVersion: 6 679 | m_Component: 680 | - component: {fileID: 5989459310095886186} 681 | - component: {fileID: 8851144385932999064} 682 | - component: {fileID: 6209831361074478496} 683 | m_Layer: 5 684 | m_Name: Version 685 | m_TagString: Untagged 686 | m_Icon: {fileID: 0} 687 | m_NavMeshLayer: 0 688 | m_StaticEditorFlags: 0 689 | m_IsActive: 1 690 | --- !u!224 &5989459310095886186 691 | RectTransform: 692 | m_ObjectHideFlags: 0 693 | m_CorrespondingSourceObject: {fileID: 0} 694 | m_PrefabInstance: {fileID: 0} 695 | m_PrefabAsset: {fileID: 0} 696 | m_GameObject: {fileID: 7875432538624333034} 697 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 698 | m_LocalPosition: {x: 0, y: 0, z: 0} 699 | m_LocalScale: {x: 1, y: 1, z: 1} 700 | m_Children: [] 701 | m_Father: {fileID: 5017241311760143413} 702 | m_RootOrder: 2 703 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 704 | m_AnchorMin: {x: 0, y: 0.5} 705 | m_AnchorMax: {x: 0, y: 0.5} 706 | m_AnchoredPosition: {x: 160, y: 14.8} 707 | m_SizeDelta: {x: 320, y: 10} 708 | m_Pivot: {x: 0, y: 0.5} 709 | --- !u!222 &8851144385932999064 710 | CanvasRenderer: 711 | m_ObjectHideFlags: 0 712 | m_CorrespondingSourceObject: {fileID: 0} 713 | m_PrefabInstance: {fileID: 0} 714 | m_PrefabAsset: {fileID: 0} 715 | m_GameObject: {fileID: 7875432538624333034} 716 | m_CullTransparentMesh: 0 717 | --- !u!114 &6209831361074478496 718 | MonoBehaviour: 719 | m_ObjectHideFlags: 0 720 | m_CorrespondingSourceObject: {fileID: 0} 721 | m_PrefabInstance: {fileID: 0} 722 | m_PrefabAsset: {fileID: 0} 723 | m_GameObject: {fileID: 7875432538624333034} 724 | m_Enabled: 1 725 | m_EditorHideFlags: 0 726 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 727 | m_Name: 728 | m_EditorClassIdentifier: 729 | m_Material: {fileID: 0} 730 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 731 | m_RaycastTarget: 1 732 | m_OnCullStateChanged: 733 | m_PersistentCalls: 734 | m_Calls: [] 735 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 736 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 737 | m_FontData: 738 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 739 | m_FontSize: 9 740 | m_FontStyle: 0 741 | m_BestFit: 0 742 | m_MinSize: 9 743 | m_MaxSize: 40 744 | m_Alignment: 5 745 | m_AlignByGeometry: 0 746 | m_RichText: 1 747 | m_HorizontalOverflow: 0 748 | m_VerticalOverflow: 0 749 | m_LineSpacing: 1 750 | m_Text: sssssssss 751 | --- !u!1 &7926208667751126218 752 | GameObject: 753 | m_ObjectHideFlags: 0 754 | m_CorrespondingSourceObject: {fileID: 0} 755 | m_PrefabInstance: {fileID: 0} 756 | m_PrefabAsset: {fileID: 0} 757 | serializedVersion: 6 758 | m_Component: 759 | - component: {fileID: 3959515065287760777} 760 | - component: {fileID: 2648257514075786171} 761 | - component: {fileID: 4489253785069815899} 762 | m_Layer: 5 763 | m_Name: Title 764 | m_TagString: Untagged 765 | m_Icon: {fileID: 0} 766 | m_NavMeshLayer: 0 767 | m_StaticEditorFlags: 0 768 | m_IsActive: 1 769 | --- !u!224 &3959515065287760777 770 | RectTransform: 771 | m_ObjectHideFlags: 0 772 | m_CorrespondingSourceObject: {fileID: 0} 773 | m_PrefabInstance: {fileID: 0} 774 | m_PrefabAsset: {fileID: 0} 775 | m_GameObject: {fileID: 7926208667751126218} 776 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 777 | m_LocalPosition: {x: 0, y: 0, z: 0} 778 | m_LocalScale: {x: 1, y: 1, z: 1} 779 | m_Children: [] 780 | m_Father: {fileID: 5017241311760143413} 781 | m_RootOrder: 1 782 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 783 | m_AnchorMin: {x: 0, y: 0.5} 784 | m_AnchorMax: {x: 0, y: 0.5} 785 | m_AnchoredPosition: {x: 160, y: 27} 786 | m_SizeDelta: {x: 320, y: 30} 787 | m_Pivot: {x: 0, y: 0.5} 788 | --- !u!222 &2648257514075786171 789 | CanvasRenderer: 790 | m_ObjectHideFlags: 0 791 | m_CorrespondingSourceObject: {fileID: 0} 792 | m_PrefabInstance: {fileID: 0} 793 | m_PrefabAsset: {fileID: 0} 794 | m_GameObject: {fileID: 7926208667751126218} 795 | m_CullTransparentMesh: 0 796 | --- !u!114 &4489253785069815899 797 | MonoBehaviour: 798 | m_ObjectHideFlags: 0 799 | m_CorrespondingSourceObject: {fileID: 0} 800 | m_PrefabInstance: {fileID: 0} 801 | m_PrefabAsset: {fileID: 0} 802 | m_GameObject: {fileID: 7926208667751126218} 803 | m_Enabled: 1 804 | m_EditorHideFlags: 0 805 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 806 | m_Name: 807 | m_EditorClassIdentifier: 808 | m_Material: {fileID: 0} 809 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 810 | m_RaycastTarget: 1 811 | m_OnCullStateChanged: 812 | m_PersistentCalls: 813 | m_Calls: [] 814 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 815 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 816 | m_FontData: 817 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 818 | m_FontSize: 20 819 | m_FontStyle: 0 820 | m_BestFit: 0 821 | m_MinSize: 2 822 | m_MaxSize: 40 823 | m_Alignment: 3 824 | m_AlignByGeometry: 0 825 | m_RichText: 1 826 | m_HorizontalOverflow: 0 827 | m_VerticalOverflow: 1 828 | m_LineSpacing: 1 829 | m_Text: sssssssssssssssssssssssssssssss 830 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Prefabs/CharacterCard.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8850eb24cd711cd4186dd551d583500a 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Prefabs/RollingCube.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &2792791811401470172 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: 2792791811401470167} 12 | - component: {fileID: 2792791811401470160} 13 | - component: {fileID: 2792791811401470161} 14 | - component: {fileID: 2792791811401470162} 15 | - component: {fileID: 2792791811401470163} 16 | m_Layer: 0 17 | m_Name: RollingCube 18 | m_TagString: Untagged 19 | m_Icon: {fileID: 0} 20 | m_NavMeshLayer: 0 21 | m_StaticEditorFlags: 0 22 | m_IsActive: 1 23 | --- !u!4 &2792791811401470167 24 | Transform: 25 | m_ObjectHideFlags: 0 26 | m_CorrespondingSourceObject: {fileID: 0} 27 | m_PrefabInstance: {fileID: 0} 28 | m_PrefabAsset: {fileID: 0} 29 | m_GameObject: {fileID: 2792791811401470172} 30 | m_LocalRotation: {x: -0.19337817, y: 0, z: 0, w: 0.9811243} 31 | m_LocalPosition: {x: 0, y: 0, z: 0} 32 | m_LocalScale: {x: 1, y: 1, z: 1} 33 | m_Children: [] 34 | m_Father: {fileID: 0} 35 | m_RootOrder: 0 36 | m_LocalEulerAnglesHint: {x: -22.3, y: 0, z: 0} 37 | --- !u!33 &2792791811401470160 38 | MeshFilter: 39 | m_ObjectHideFlags: 0 40 | m_CorrespondingSourceObject: {fileID: 0} 41 | m_PrefabInstance: {fileID: 0} 42 | m_PrefabAsset: {fileID: 0} 43 | m_GameObject: {fileID: 2792791811401470172} 44 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 45 | --- !u!23 &2792791811401470161 46 | MeshRenderer: 47 | m_ObjectHideFlags: 0 48 | m_CorrespondingSourceObject: {fileID: 0} 49 | m_PrefabInstance: {fileID: 0} 50 | m_PrefabAsset: {fileID: 0} 51 | m_GameObject: {fileID: 2792791811401470172} 52 | m_Enabled: 1 53 | m_CastShadows: 1 54 | m_ReceiveShadows: 1 55 | m_DynamicOccludee: 1 56 | m_MotionVectors: 1 57 | m_LightProbeUsage: 1 58 | m_ReflectionProbeUsage: 1 59 | m_RenderingLayerMask: 1 60 | m_RendererPriority: 0 61 | m_Materials: 62 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 63 | m_StaticBatchInfo: 64 | firstSubMesh: 0 65 | subMeshCount: 0 66 | m_StaticBatchRoot: {fileID: 0} 67 | m_ProbeAnchor: {fileID: 0} 68 | m_LightProbeVolumeOverride: {fileID: 0} 69 | m_ScaleInLightmap: 1 70 | m_PreserveUVs: 0 71 | m_IgnoreNormalsForChartDetection: 0 72 | m_ImportantGI: 0 73 | m_StitchLightmapSeams: 0 74 | m_SelectedEditorRenderState: 3 75 | m_MinimumChartSize: 4 76 | m_AutoUVMaxDistance: 0.5 77 | m_AutoUVMaxAngle: 89 78 | m_LightmapParameters: {fileID: 0} 79 | m_SortingLayerID: 0 80 | m_SortingLayer: 0 81 | m_SortingOrder: 0 82 | --- !u!65 &2792791811401470162 83 | BoxCollider: 84 | m_ObjectHideFlags: 0 85 | m_CorrespondingSourceObject: {fileID: 0} 86 | m_PrefabInstance: {fileID: 0} 87 | m_PrefabAsset: {fileID: 0} 88 | m_GameObject: {fileID: 2792791811401470172} 89 | m_Material: {fileID: 0} 90 | m_IsTrigger: 0 91 | m_Enabled: 1 92 | serializedVersion: 2 93 | m_Size: {x: 1, y: 1, z: 1} 94 | m_Center: {x: 0, y: 0, z: 0} 95 | --- !u!114 &2792791811401470163 96 | MonoBehaviour: 97 | m_ObjectHideFlags: 0 98 | m_CorrespondingSourceObject: {fileID: 0} 99 | m_PrefabInstance: {fileID: 0} 100 | m_PrefabAsset: {fileID: 0} 101 | m_GameObject: {fileID: 2792791811401470172} 102 | m_Enabled: 1 103 | m_EditorHideFlags: 0 104 | m_Script: {fileID: 11500000, guid: f413181e9c3da124f9ad601c15f8641c, type: 3} 105 | m_Name: 106 | m_EditorClassIdentifier: 107 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Prefabs/RollingCube.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26240ecdb4914cf42b3c7f963f563ebb 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f836f68889857d140ab6e078912995e0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Scripts/CharacterCard.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | using VRM; 6 | 7 | public class CharacterCard : MonoBehaviour 8 | { 9 | [SerializeField] private Text title; 10 | [SerializeField] private Text version; 11 | [SerializeField] private Text violence; 12 | [SerializeField] private Text sexual; 13 | [SerializeField] private Text commercial; 14 | [SerializeField] private RawImage thumbnail; 15 | 16 | public void SetMetaText(VRMMetaObject meta) 17 | { 18 | title.text = meta.Title; 19 | version.text = meta.Version; 20 | violence.text = meta.ViolentUssage.ToString(); 21 | sexual.text = meta.SexualUssage.ToString(); 22 | commercial.text = meta.CommercialUssage.ToString(); 23 | } 24 | 25 | public void SetThumbnail(Texture2D tex) 26 | { 27 | thumbnail.texture = tex; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Scripts/CharacterCard.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 069e6b773c1cb5641b2e694ddeb26fcc 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Scripts/JobLoadManyMeta.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using UnityEngine; 3 | using VRM.QuickMetaLoader; 4 | 5 | public sealed class JobLoadManyMeta : MonoBehaviour 6 | { 7 | [SerializeField] private RectTransform _cardPrefab; 8 | 9 | void Start() 10 | { 11 | var vrms = Directory.GetFiles(".", "*.vrm", System.IO.SearchOption.TopDirectoryOnly); 12 | 13 | foreach (var vrm in vrms) 14 | { 15 | System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch(); 16 | stopwatch.Start(); 17 | LoadMeta(vrm); 18 | stopwatch.Stop(); 19 | Debug.Log("LoadTime: " + (float)stopwatch.Elapsed.TotalSeconds + " sec"); 20 | } 21 | } 22 | 23 | private void Update() 24 | { 25 | if (Input.anyKeyDown) 26 | { 27 | foreach (Transform child in transform) 28 | { 29 | Destroy(child.gameObject); 30 | } 31 | } 32 | if (Input.GetKeyDown(KeyCode.Space)) 33 | { 34 | var vrms = Directory.GetFiles(".", "*.vrm", System.IO.SearchOption.TopDirectoryOnly); 35 | 36 | foreach (var vrm in vrms) 37 | { 38 | System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch(); 39 | stopwatch.Start(); 40 | LoadMeta(vrm); 41 | stopwatch.Stop(); 42 | Debug.Log("LoadTime: " + (float)stopwatch.Elapsed.TotalSeconds + " sec"); 43 | } 44 | } 45 | } 46 | 47 | private void LoadMeta(string file) 48 | { 49 | using (var metaLoader = new JobMetaLoader(file)) 50 | { 51 | var meta = metaLoader.Read(); 52 | 53 | var go = Instantiate(_cardPrefab, transform); 54 | var card = go.GetComponent(); 55 | card.SetMetaText(meta); 56 | card.SetThumbnail(meta.Thumbnail = metaLoader.LoadThumbnail()); 57 | } 58 | } 59 | } -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Scripts/JobLoadManyMeta.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a84c09975490724686de760161d5966 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Scripts/LoadManyMeta.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using UnityEngine; 3 | using VRM.QuickMetaLoader; 4 | 5 | public sealed class LoadManyMeta : MonoBehaviour 6 | { 7 | [SerializeField] private RectTransform _cardPrefab; 8 | 9 | void Start() 10 | { 11 | var vrms = Directory.GetFiles(".", "*.vrm", System.IO.SearchOption.TopDirectoryOnly); 12 | 13 | foreach (var vrm in vrms) 14 | { 15 | System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch(); 16 | stopwatch.Start(); 17 | LoadMeta(vrm); 18 | stopwatch.Stop(); 19 | Debug.Log("LoadTime: " + (float)stopwatch.Elapsed.TotalSeconds + " sec"); 20 | } 21 | } 22 | 23 | private void Update() 24 | { 25 | if (Input.anyKeyDown) 26 | { 27 | foreach (Transform child in transform) 28 | { 29 | Destroy(child.gameObject); 30 | } 31 | } 32 | if (Input.GetKeyDown(KeyCode.Space)) 33 | { 34 | var vrms = Directory.GetFiles(".", "*.vrm", System.IO.SearchOption.TopDirectoryOnly); 35 | 36 | foreach (var vrm in vrms) 37 | { 38 | System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch(); 39 | stopwatch.Start(); 40 | LoadMeta(vrm); 41 | stopwatch.Stop(); 42 | Debug.Log("LoadTime: " + (float)stopwatch.Elapsed.TotalSeconds + " sec"); 43 | } 44 | } 45 | } 46 | 47 | private void LoadMeta(string file) 48 | { 49 | var bytes = File.ReadAllBytes(file); 50 | using (var metaLoader = new MetaLoader(bytes)) 51 | { 52 | var meta = metaLoader.Read(true); 53 | 54 | var go = Instantiate(_cardPrefab, transform); 55 | var card = go.GetComponent(); 56 | card.SetMetaText(meta); 57 | card.SetThumbnail(meta.Thumbnail); 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Scripts/LoadManyMeta.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9e066fe1227e334081e12afc7e0bad0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Scripts/LoadManyMetaColoutine.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.IO; 3 | using UnityEngine; 4 | using VRM; 5 | using VRM.QuickMetaLoader; 6 | 7 | public class LoadManyMetaColoutine : MonoBehaviour 8 | { 9 | [SerializeField] private RectTransform _cardPrefab; 10 | 11 | void Start() 12 | { 13 | var vrms = Directory.GetFiles(".", "*.vrm", System.IO.SearchOption.TopDirectoryOnly); 14 | StartCoroutine(LoadVrmColoutine(vrms)); 15 | 16 | } 17 | 18 | private void Update() 19 | { 20 | if (Input.anyKeyDown) 21 | { 22 | foreach (Transform child in transform) 23 | { 24 | Destroy(child.gameObject); 25 | } 26 | } 27 | if (Input.GetKeyDown(KeyCode.Space)) 28 | { 29 | var vrms = Directory.GetFiles(".", "*.vrm", System.IO.SearchOption.TopDirectoryOnly); 30 | StartCoroutine(LoadVrmColoutine(vrms)); 31 | } 32 | } 33 | 34 | private void LoadMeta(string file) 35 | { 36 | System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch(); 37 | stopwatch.Start(); 38 | var bytes = File.ReadAllBytes(file); 39 | VRMMetaObject meta; 40 | using (var metaLoader = new MetaLoader(bytes)) 41 | { 42 | meta = metaLoader.Read(true); 43 | } 44 | stopwatch.Stop(); 45 | Debug.Log("LoadTime: " + (float)stopwatch.Elapsed.TotalSeconds + " sec"); 46 | 47 | var go = Instantiate(_cardPrefab, transform); 48 | var card = go.GetComponent(); 49 | card.SetMetaText(meta); 50 | card.SetThumbnail(meta.Thumbnail); 51 | } 52 | 53 | private IEnumerator LoadVrmColoutine(string[] files) 54 | { 55 | foreach (var file in files) 56 | { 57 | LoadMeta(file); 58 | yield return null; 59 | } 60 | } 61 | } -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Scripts/LoadManyMetaColoutine.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32f26e954fb9469f90f9daa8d8c2da47 3 | timeCreated: 1566327432 -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Scripts/LoadMeta.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using UnityEngine; 3 | using UnityEngine.UI; 4 | using VRM; 5 | using VRM.QuickMetaLoader; 6 | 7 | public class LoadMeta : MonoBehaviour 8 | { 9 | [SerializeField, Header("Info")] 10 | Text m_textModelTitle; 11 | [SerializeField] 12 | Text m_textModelVersion; 13 | [SerializeField] 14 | Text m_textModelAuthor; 15 | [SerializeField] 16 | Text m_textModelContact; 17 | [SerializeField] 18 | Text m_textModelReference; 19 | [SerializeField] 20 | RawImage m_thumbnail; 21 | 22 | [SerializeField, Header("CharacterPermission")] 23 | Text m_textPermissionAllowed; 24 | [SerializeField] 25 | Text m_textPermissionViolent; 26 | [SerializeField] 27 | Text m_textPermissionSexual; 28 | [SerializeField] 29 | Text m_textPermissionCommercial; 30 | [SerializeField] 31 | Text m_textPermissionOther; 32 | 33 | [SerializeField, Header("DistributionLicense")] 34 | Text m_textDistributionLicense; 35 | [SerializeField] 36 | Text m_textDistributionOther; 37 | 38 | void Start() 39 | { 40 | System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch(); 41 | 42 | stopwatch.Start(); 43 | const string path = "AliciaSolid_1.10.vrm"; 44 | var bytes = File.ReadAllBytes(path); 45 | stopwatch.Stop(); 46 | Debug.Log("ReadAllBytes: " + (float)stopwatch.Elapsed.TotalSeconds + " sec"); 47 | 48 | stopwatch.Restart(); 49 | using (var metaLoader = new MetaLoader(bytes)) 50 | { 51 | var meta = metaLoader.Read(); 52 | stopwatch.Stop(); 53 | Debug.Log("QuickMetaLoader: " + (float)stopwatch.Elapsed.TotalSeconds + " sec"); 54 | 55 | ViewMeta(meta); 56 | LoadIcon(metaLoader); 57 | } 58 | 59 | stopwatch.Restart(); 60 | using (var jobMetaLoader = new JobMetaLoader(path)) 61 | { 62 | var meta = jobMetaLoader.Read(); 63 | stopwatch.Stop(); 64 | Debug.Log("JobMetaLoader: " + (float)stopwatch.Elapsed.TotalSeconds + " sec"); 65 | 66 | ViewMeta(meta); 67 | LoadIconJob(jobMetaLoader, meta); 68 | } 69 | stopwatch.Stop(); 70 | 71 | stopwatch.Restart(); 72 | var context = new VRMImporterContext(); 73 | context.ParseGlb(bytes); 74 | stopwatch.Stop(); 75 | Debug.Log("VRM ParseGlb: " + (float)stopwatch.Elapsed.TotalSeconds + " sec"); 76 | 77 | stopwatch.Restart(); 78 | context.ReadMeta(true); 79 | stopwatch.Stop(); 80 | Debug.Log("VRM ReadMeta: " + (float)stopwatch.Elapsed.TotalSeconds + " sec"); 81 | 82 | } 83 | 84 | private void LoadIconJob(JobMetaLoader jobMetaLoader, VRMMetaObject meta) 85 | { 86 | System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch(); 87 | stopwatch.Start(); 88 | var t = jobMetaLoader.LoadThumbnail(); 89 | meta.Thumbnail = t; 90 | m_thumbnail.texture = t; 91 | stopwatch.Stop(); 92 | Debug.Log("JobLoadThumbnail: " + (float)stopwatch.Elapsed.TotalSeconds + " sec"); 93 | } 94 | 95 | private void LoadIcon(MetaLoader metaLoader) 96 | { 97 | System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch(); 98 | stopwatch.Start(); 99 | var t = metaLoader.LoadThumbnail(); 100 | m_thumbnail.texture = t; 101 | stopwatch.Stop(); 102 | Debug.Log("LoadThumbnail: " + (float)stopwatch.Elapsed.TotalSeconds + " sec"); 103 | } 104 | private void ViewMeta(VRMMetaObject meta) 105 | { 106 | 107 | m_textModelTitle.text = meta.Title; 108 | m_textModelVersion.text = meta.Version; 109 | m_textModelAuthor.text = meta.Author; 110 | m_textModelContact.text = meta.ContactInformation; 111 | m_textModelReference.text = meta.Reference; 112 | 113 | m_textPermissionAllowed.text = meta.AllowedUser.ToString(); 114 | m_textPermissionViolent.text = meta.ViolentUssage.ToString(); 115 | m_textPermissionSexual.text = meta.SexualUssage.ToString(); 116 | m_textPermissionCommercial.text = meta.CommercialUssage.ToString(); 117 | m_textPermissionOther.text = meta.OtherPermissionUrl; 118 | 119 | m_textDistributionLicense.text = meta.LicenseType.ToString(); 120 | m_textDistributionOther.text = meta.OtherLicenseUrl; 121 | 122 | m_thumbnail.texture = meta.Thumbnail; 123 | } 124 | } 125 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Scripts/LoadMeta.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f5ab702e214852a4abc68c3e60f52b00 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Scripts/Rolling.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class Rolling : MonoBehaviour 6 | { 7 | void Update() 8 | { 9 | transform.Rotate(Vector3.up, 5.0f); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/Scripts/Rolling.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f413181e9c3da124f9ad601c15f8641c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/demo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98a34ff98e411f543b5b234d812f36e9 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/demo2.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: 0} 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: 11 47 | m_GIWorkflowMode: 0 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: 1 56 | m_LightmapEditorSettings: 57 | serializedVersion: 10 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_Padding: 2 66 | m_LightmapParameters: {fileID: 0} 67 | m_LightmapsBakeMode: 1 68 | m_TextureCompression: 1 69 | m_FinalGather: 0 70 | m_FinalGatherFiltering: 1 71 | m_FinalGatherRayCount: 256 72 | m_ReflectionCompression: 2 73 | m_MixedBakeMode: 2 74 | m_BakeBackend: 1 75 | m_PVRSampling: 1 76 | m_PVRDirectSampleCount: 32 77 | m_PVRSampleCount: 500 78 | m_PVRBounces: 2 79 | m_PVRFilterTypeDirect: 0 80 | m_PVRFilterTypeIndirect: 0 81 | m_PVRFilterTypeAO: 0 82 | m_PVRFilteringMode: 1 83 | m_PVRCulling: 1 84 | m_PVRFilteringGaussRadiusDirect: 1 85 | m_PVRFilteringGaussRadiusIndirect: 5 86 | m_PVRFilteringGaussRadiusAO: 2 87 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 88 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 89 | m_PVRFilteringAtrousPositionSigmaAO: 1 90 | m_ShowResolutionOverlay: 1 91 | m_LightingDataAsset: {fileID: 0} 92 | m_UseShadowmask: 1 93 | --- !u!196 &4 94 | NavMeshSettings: 95 | serializedVersion: 2 96 | m_ObjectHideFlags: 0 97 | m_BuildSettings: 98 | serializedVersion: 2 99 | agentTypeID: 0 100 | agentRadius: 0.5 101 | agentHeight: 2 102 | agentSlope: 45 103 | agentClimb: 0.4 104 | ledgeDropHeight: 0 105 | maxJumpAcrossDistance: 0 106 | minRegionArea: 2 107 | manualCellSize: 0 108 | cellSize: 0.16666667 109 | manualTileSize: 0 110 | tileSize: 256 111 | accuratePlacement: 0 112 | debug: 113 | m_Flags: 0 114 | m_NavMeshData: {fileID: 0} 115 | --- !u!1 &961950 116 | GameObject: 117 | m_ObjectHideFlags: 0 118 | m_CorrespondingSourceObject: {fileID: 0} 119 | m_PrefabInstance: {fileID: 0} 120 | m_PrefabAsset: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 961953} 124 | - component: {fileID: 961952} 125 | - component: {fileID: 961951} 126 | m_Layer: 0 127 | m_Name: EventSystem 128 | m_TagString: Untagged 129 | m_Icon: {fileID: 0} 130 | m_NavMeshLayer: 0 131 | m_StaticEditorFlags: 0 132 | m_IsActive: 1 133 | --- !u!114 &961951 134 | MonoBehaviour: 135 | m_ObjectHideFlags: 0 136 | m_CorrespondingSourceObject: {fileID: 0} 137 | m_PrefabInstance: {fileID: 0} 138 | m_PrefabAsset: {fileID: 0} 139 | m_GameObject: {fileID: 961950} 140 | m_Enabled: 1 141 | m_EditorHideFlags: 0 142 | m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} 143 | m_Name: 144 | m_EditorClassIdentifier: 145 | m_HorizontalAxis: Horizontal 146 | m_VerticalAxis: Vertical 147 | m_SubmitButton: Submit 148 | m_CancelButton: Cancel 149 | m_InputActionsPerSecond: 10 150 | m_RepeatDelay: 0.5 151 | m_ForceModuleActive: 0 152 | --- !u!114 &961952 153 | MonoBehaviour: 154 | m_ObjectHideFlags: 0 155 | m_CorrespondingSourceObject: {fileID: 0} 156 | m_PrefabInstance: {fileID: 0} 157 | m_PrefabAsset: {fileID: 0} 158 | m_GameObject: {fileID: 961950} 159 | m_Enabled: 1 160 | m_EditorHideFlags: 0 161 | m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} 162 | m_Name: 163 | m_EditorClassIdentifier: 164 | m_FirstSelected: {fileID: 0} 165 | m_sendNavigationEvents: 1 166 | m_DragThreshold: 10 167 | --- !u!4 &961953 168 | Transform: 169 | m_ObjectHideFlags: 0 170 | m_CorrespondingSourceObject: {fileID: 0} 171 | m_PrefabInstance: {fileID: 0} 172 | m_PrefabAsset: {fileID: 0} 173 | m_GameObject: {fileID: 961950} 174 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 175 | m_LocalPosition: {x: 0, y: 0, z: 0} 176 | m_LocalScale: {x: 1, y: 1, z: 1} 177 | m_Children: [] 178 | m_Father: {fileID: 0} 179 | m_RootOrder: 3 180 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 181 | --- !u!1 &302212586 182 | GameObject: 183 | m_ObjectHideFlags: 0 184 | m_CorrespondingSourceObject: {fileID: 0} 185 | m_PrefabInstance: {fileID: 0} 186 | m_PrefabAsset: {fileID: 0} 187 | serializedVersion: 6 188 | m_Component: 189 | - component: {fileID: 302212589} 190 | - component: {fileID: 302212588} 191 | - component: {fileID: 302212587} 192 | m_Layer: 0 193 | m_Name: Main Camera 194 | m_TagString: MainCamera 195 | m_Icon: {fileID: 0} 196 | m_NavMeshLayer: 0 197 | m_StaticEditorFlags: 0 198 | m_IsActive: 1 199 | --- !u!81 &302212587 200 | AudioListener: 201 | m_ObjectHideFlags: 0 202 | m_CorrespondingSourceObject: {fileID: 0} 203 | m_PrefabInstance: {fileID: 0} 204 | m_PrefabAsset: {fileID: 0} 205 | m_GameObject: {fileID: 302212586} 206 | m_Enabled: 1 207 | --- !u!20 &302212588 208 | Camera: 209 | m_ObjectHideFlags: 0 210 | m_CorrespondingSourceObject: {fileID: 0} 211 | m_PrefabInstance: {fileID: 0} 212 | m_PrefabAsset: {fileID: 0} 213 | m_GameObject: {fileID: 302212586} 214 | m_Enabled: 1 215 | serializedVersion: 2 216 | m_ClearFlags: 1 217 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 218 | m_projectionMatrixMode: 1 219 | m_SensorSize: {x: 36, y: 24} 220 | m_LensShift: {x: 0, y: 0} 221 | m_GateFitMode: 2 222 | m_FocalLength: 50 223 | m_NormalizedViewPortRect: 224 | serializedVersion: 2 225 | x: 0 226 | y: 0 227 | width: 1 228 | height: 1 229 | near clip plane: 0.3 230 | far clip plane: 1000 231 | field of view: 60 232 | orthographic: 0 233 | orthographic size: 5 234 | m_Depth: -1 235 | m_CullingMask: 236 | serializedVersion: 2 237 | m_Bits: 4294967295 238 | m_RenderingPath: -1 239 | m_TargetTexture: {fileID: 0} 240 | m_TargetDisplay: 0 241 | m_TargetEye: 3 242 | m_HDR: 1 243 | m_AllowMSAA: 1 244 | m_AllowDynamicResolution: 0 245 | m_ForceIntoRT: 0 246 | m_OcclusionCulling: 1 247 | m_StereoConvergence: 10 248 | m_StereoSeparation: 0.022 249 | --- !u!4 &302212589 250 | Transform: 251 | m_ObjectHideFlags: 0 252 | m_CorrespondingSourceObject: {fileID: 0} 253 | m_PrefabInstance: {fileID: 0} 254 | m_PrefabAsset: {fileID: 0} 255 | m_GameObject: {fileID: 302212586} 256 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 257 | m_LocalPosition: {x: 0, y: 1, z: -10} 258 | m_LocalScale: {x: 1, y: 1, z: 1} 259 | m_Children: [] 260 | m_Father: {fileID: 0} 261 | m_RootOrder: 0 262 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 263 | --- !u!1 &307714177 264 | GameObject: 265 | m_ObjectHideFlags: 0 266 | m_CorrespondingSourceObject: {fileID: 0} 267 | m_PrefabInstance: {fileID: 0} 268 | m_PrefabAsset: {fileID: 0} 269 | serializedVersion: 6 270 | m_Component: 271 | - component: {fileID: 307714181} 272 | - component: {fileID: 307714180} 273 | - component: {fileID: 307714179} 274 | - component: {fileID: 307714178} 275 | m_Layer: 5 276 | m_Name: Canvas 277 | m_TagString: Untagged 278 | m_Icon: {fileID: 0} 279 | m_NavMeshLayer: 0 280 | m_StaticEditorFlags: 0 281 | m_IsActive: 1 282 | --- !u!114 &307714178 283 | MonoBehaviour: 284 | m_ObjectHideFlags: 0 285 | m_CorrespondingSourceObject: {fileID: 0} 286 | m_PrefabInstance: {fileID: 0} 287 | m_PrefabAsset: {fileID: 0} 288 | m_GameObject: {fileID: 307714177} 289 | m_Enabled: 1 290 | m_EditorHideFlags: 0 291 | m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} 292 | m_Name: 293 | m_EditorClassIdentifier: 294 | m_IgnoreReversedGraphics: 1 295 | m_BlockingObjects: 0 296 | m_BlockingMask: 297 | serializedVersion: 2 298 | m_Bits: 4294967295 299 | --- !u!114 &307714179 300 | MonoBehaviour: 301 | m_ObjectHideFlags: 0 302 | m_CorrespondingSourceObject: {fileID: 0} 303 | m_PrefabInstance: {fileID: 0} 304 | m_PrefabAsset: {fileID: 0} 305 | m_GameObject: {fileID: 307714177} 306 | m_Enabled: 1 307 | m_EditorHideFlags: 0 308 | m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} 309 | m_Name: 310 | m_EditorClassIdentifier: 311 | m_UiScaleMode: 0 312 | m_ReferencePixelsPerUnit: 100 313 | m_ScaleFactor: 1 314 | m_ReferenceResolution: {x: 800, y: 600} 315 | m_ScreenMatchMode: 0 316 | m_MatchWidthOrHeight: 0 317 | m_PhysicalUnit: 3 318 | m_FallbackScreenDPI: 96 319 | m_DefaultSpriteDPI: 96 320 | m_DynamicPixelsPerUnit: 1 321 | --- !u!223 &307714180 322 | Canvas: 323 | m_ObjectHideFlags: 0 324 | m_CorrespondingSourceObject: {fileID: 0} 325 | m_PrefabInstance: {fileID: 0} 326 | m_PrefabAsset: {fileID: 0} 327 | m_GameObject: {fileID: 307714177} 328 | m_Enabled: 1 329 | serializedVersion: 3 330 | m_RenderMode: 0 331 | m_Camera: {fileID: 0} 332 | m_PlaneDistance: 100 333 | m_PixelPerfect: 0 334 | m_ReceivesEvents: 1 335 | m_OverrideSorting: 0 336 | m_OverridePixelPerfect: 0 337 | m_SortingBucketNormalizedSize: 0 338 | m_AdditionalShaderChannelsFlag: 0 339 | m_SortingLayerID: 0 340 | m_SortingOrder: 0 341 | m_TargetDisplay: 0 342 | --- !u!224 &307714181 343 | RectTransform: 344 | m_ObjectHideFlags: 0 345 | m_CorrespondingSourceObject: {fileID: 0} 346 | m_PrefabInstance: {fileID: 0} 347 | m_PrefabAsset: {fileID: 0} 348 | m_GameObject: {fileID: 307714177} 349 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 350 | m_LocalPosition: {x: 0, y: 0, z: 0} 351 | m_LocalScale: {x: 0, y: 0, z: 0} 352 | m_Children: 353 | - {fileID: 636594367} 354 | m_Father: {fileID: 0} 355 | m_RootOrder: 2 356 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 357 | m_AnchorMin: {x: 0, y: 0} 358 | m_AnchorMax: {x: 0, y: 0} 359 | m_AnchoredPosition: {x: 0, y: 0} 360 | m_SizeDelta: {x: 0, y: 0} 361 | m_Pivot: {x: 0, y: 0} 362 | --- !u!1 &636594366 363 | GameObject: 364 | m_ObjectHideFlags: 0 365 | m_CorrespondingSourceObject: {fileID: 0} 366 | m_PrefabInstance: {fileID: 0} 367 | m_PrefabAsset: {fileID: 0} 368 | serializedVersion: 6 369 | m_Component: 370 | - component: {fileID: 636594367} 371 | - component: {fileID: 636594370} 372 | - component: {fileID: 636594369} 373 | - component: {fileID: 636594368} 374 | - component: {fileID: 636594371} 375 | m_Layer: 5 376 | m_Name: Panel 377 | m_TagString: Untagged 378 | m_Icon: {fileID: 0} 379 | m_NavMeshLayer: 0 380 | m_StaticEditorFlags: 0 381 | m_IsActive: 1 382 | --- !u!224 &636594367 383 | RectTransform: 384 | m_ObjectHideFlags: 0 385 | m_CorrespondingSourceObject: {fileID: 0} 386 | m_PrefabInstance: {fileID: 0} 387 | m_PrefabAsset: {fileID: 0} 388 | m_GameObject: {fileID: 636594366} 389 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 390 | m_LocalPosition: {x: 0, y: 0, z: 0} 391 | m_LocalScale: {x: 1, y: 1, z: 1} 392 | m_Children: [] 393 | m_Father: {fileID: 307714181} 394 | m_RootOrder: 0 395 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 396 | m_AnchorMin: {x: 0.5, y: 0} 397 | m_AnchorMax: {x: 0.5, y: 1} 398 | m_AnchoredPosition: {x: 0, y: 0} 399 | m_SizeDelta: {x: 500, y: 0} 400 | m_Pivot: {x: 0.5, y: 0.5} 401 | --- !u!114 &636594368 402 | MonoBehaviour: 403 | m_ObjectHideFlags: 0 404 | m_CorrespondingSourceObject: {fileID: 0} 405 | m_PrefabInstance: {fileID: 0} 406 | m_PrefabAsset: {fileID: 0} 407 | m_GameObject: {fileID: 636594366} 408 | m_Enabled: 1 409 | m_EditorHideFlags: 0 410 | m_Script: {fileID: 1297475563, guid: f70555f144d8491a825f0804e09c671c, type: 3} 411 | m_Name: 412 | m_EditorClassIdentifier: 413 | m_Padding: 414 | m_Left: 0 415 | m_Right: 0 416 | m_Top: 0 417 | m_Bottom: 0 418 | m_ChildAlignment: 0 419 | m_Spacing: 0 420 | m_ChildForceExpandWidth: 0 421 | m_ChildForceExpandHeight: 0 422 | m_ChildControlWidth: 0 423 | m_ChildControlHeight: 0 424 | --- !u!114 &636594369 425 | MonoBehaviour: 426 | m_ObjectHideFlags: 0 427 | m_CorrespondingSourceObject: {fileID: 0} 428 | m_PrefabInstance: {fileID: 0} 429 | m_PrefabAsset: {fileID: 0} 430 | m_GameObject: {fileID: 636594366} 431 | m_Enabled: 1 432 | m_EditorHideFlags: 0 433 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 434 | m_Name: 435 | m_EditorClassIdentifier: 436 | m_Material: {fileID: 0} 437 | m_Color: {r: 0.1981132, g: 0.1981132, b: 0.1981132, a: 0.392} 438 | m_RaycastTarget: 1 439 | m_OnCullStateChanged: 440 | m_PersistentCalls: 441 | m_Calls: [] 442 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 443 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 444 | m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} 445 | m_Type: 1 446 | m_PreserveAspect: 0 447 | m_FillCenter: 1 448 | m_FillMethod: 4 449 | m_FillAmount: 1 450 | m_FillClockwise: 1 451 | m_FillOrigin: 0 452 | m_UseSpriteMesh: 0 453 | --- !u!222 &636594370 454 | CanvasRenderer: 455 | m_ObjectHideFlags: 0 456 | m_CorrespondingSourceObject: {fileID: 0} 457 | m_PrefabInstance: {fileID: 0} 458 | m_PrefabAsset: {fileID: 0} 459 | m_GameObject: {fileID: 636594366} 460 | m_CullTransparentMesh: 0 461 | --- !u!114 &636594371 462 | MonoBehaviour: 463 | m_ObjectHideFlags: 0 464 | m_CorrespondingSourceObject: {fileID: 0} 465 | m_PrefabInstance: {fileID: 0} 466 | m_PrefabAsset: {fileID: 0} 467 | m_GameObject: {fileID: 636594366} 468 | m_Enabled: 1 469 | m_EditorHideFlags: 0 470 | m_Script: {fileID: 11500000, guid: f9e066fe1227e334081e12afc7e0bad0, type: 3} 471 | m_Name: 472 | m_EditorClassIdentifier: 473 | _cardPrefab: {fileID: 5017241311760143413, guid: 8850eb24cd711cd4186dd551d583500a, 474 | type: 3} 475 | --- !u!1 &1040667063 476 | GameObject: 477 | m_ObjectHideFlags: 0 478 | m_CorrespondingSourceObject: {fileID: 0} 479 | m_PrefabInstance: {fileID: 0} 480 | m_PrefabAsset: {fileID: 0} 481 | serializedVersion: 6 482 | m_Component: 483 | - component: {fileID: 1040667065} 484 | - component: {fileID: 1040667064} 485 | m_Layer: 0 486 | m_Name: Directional Light 487 | m_TagString: Untagged 488 | m_Icon: {fileID: 0} 489 | m_NavMeshLayer: 0 490 | m_StaticEditorFlags: 0 491 | m_IsActive: 1 492 | --- !u!108 &1040667064 493 | Light: 494 | m_ObjectHideFlags: 0 495 | m_CorrespondingSourceObject: {fileID: 0} 496 | m_PrefabInstance: {fileID: 0} 497 | m_PrefabAsset: {fileID: 0} 498 | m_GameObject: {fileID: 1040667063} 499 | m_Enabled: 1 500 | serializedVersion: 8 501 | m_Type: 1 502 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 503 | m_Intensity: 1 504 | m_Range: 10 505 | m_SpotAngle: 30 506 | m_CookieSize: 10 507 | m_Shadows: 508 | m_Type: 2 509 | m_Resolution: -1 510 | m_CustomResolution: -1 511 | m_Strength: 1 512 | m_Bias: 0.05 513 | m_NormalBias: 0.4 514 | m_NearPlane: 0.2 515 | m_Cookie: {fileID: 0} 516 | m_DrawHalo: 0 517 | m_Flare: {fileID: 0} 518 | m_RenderMode: 0 519 | m_CullingMask: 520 | serializedVersion: 2 521 | m_Bits: 4294967295 522 | m_Lightmapping: 4 523 | m_LightShadowCasterMode: 0 524 | m_AreaSize: {x: 1, y: 1} 525 | m_BounceIntensity: 1 526 | m_ColorTemperature: 6570 527 | m_UseColorTemperature: 0 528 | m_ShadowRadius: 0 529 | m_ShadowAngle: 0 530 | --- !u!4 &1040667065 531 | Transform: 532 | m_ObjectHideFlags: 0 533 | m_CorrespondingSourceObject: {fileID: 0} 534 | m_PrefabInstance: {fileID: 0} 535 | m_PrefabAsset: {fileID: 0} 536 | m_GameObject: {fileID: 1040667063} 537 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 538 | m_LocalPosition: {x: 0, y: 3, z: 0} 539 | m_LocalScale: {x: 1, y: 1, z: 1} 540 | m_Children: [] 541 | m_Father: {fileID: 0} 542 | m_RootOrder: 1 543 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 544 | --- !u!1001 &1580128560 545 | PrefabInstance: 546 | m_ObjectHideFlags: 0 547 | serializedVersion: 2 548 | m_Modification: 549 | m_TransformParent: {fileID: 0} 550 | m_Modifications: 551 | - target: {fileID: 2792791811401470172, guid: 26240ecdb4914cf42b3c7f963f563ebb, 552 | type: 3} 553 | propertyPath: m_Name 554 | value: RollingCube 555 | objectReference: {fileID: 0} 556 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 557 | type: 3} 558 | propertyPath: m_LocalPosition.x 559 | value: 0 560 | objectReference: {fileID: 0} 561 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 562 | type: 3} 563 | propertyPath: m_LocalPosition.y 564 | value: 0 565 | objectReference: {fileID: 0} 566 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 567 | type: 3} 568 | propertyPath: m_LocalPosition.z 569 | value: 0 570 | objectReference: {fileID: 0} 571 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 572 | type: 3} 573 | propertyPath: m_LocalRotation.x 574 | value: -0.19337817 575 | objectReference: {fileID: 0} 576 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 577 | type: 3} 578 | propertyPath: m_LocalRotation.y 579 | value: 0 580 | objectReference: {fileID: 0} 581 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 582 | type: 3} 583 | propertyPath: m_LocalRotation.z 584 | value: 0 585 | objectReference: {fileID: 0} 586 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 587 | type: 3} 588 | propertyPath: m_LocalRotation.w 589 | value: 0.9811243 590 | objectReference: {fileID: 0} 591 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 592 | type: 3} 593 | propertyPath: m_RootOrder 594 | value: 4 595 | objectReference: {fileID: 0} 596 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 597 | type: 3} 598 | propertyPath: m_LocalEulerAnglesHint.x 599 | value: -22.3 600 | objectReference: {fileID: 0} 601 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 602 | type: 3} 603 | propertyPath: m_LocalEulerAnglesHint.y 604 | value: 0 605 | objectReference: {fileID: 0} 606 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 607 | type: 3} 608 | propertyPath: m_LocalEulerAnglesHint.z 609 | value: 0 610 | objectReference: {fileID: 0} 611 | m_RemovedComponents: [] 612 | m_SourcePrefab: {fileID: 100100000, guid: 26240ecdb4914cf42b3c7f963f563ebb, type: 3} 613 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/demo2.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ab6c0e931e36764bb4e66bd5b1c2809 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/demo3_coloutine.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: 0} 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: 11 47 | m_GIWorkflowMode: 0 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: 1 56 | m_LightmapEditorSettings: 57 | serializedVersion: 10 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_Padding: 2 66 | m_LightmapParameters: {fileID: 0} 67 | m_LightmapsBakeMode: 1 68 | m_TextureCompression: 1 69 | m_FinalGather: 0 70 | m_FinalGatherFiltering: 1 71 | m_FinalGatherRayCount: 256 72 | m_ReflectionCompression: 2 73 | m_MixedBakeMode: 2 74 | m_BakeBackend: 1 75 | m_PVRSampling: 1 76 | m_PVRDirectSampleCount: 32 77 | m_PVRSampleCount: 500 78 | m_PVRBounces: 2 79 | m_PVRFilterTypeDirect: 0 80 | m_PVRFilterTypeIndirect: 0 81 | m_PVRFilterTypeAO: 0 82 | m_PVRFilteringMode: 1 83 | m_PVRCulling: 1 84 | m_PVRFilteringGaussRadiusDirect: 1 85 | m_PVRFilteringGaussRadiusIndirect: 5 86 | m_PVRFilteringGaussRadiusAO: 2 87 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 88 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 89 | m_PVRFilteringAtrousPositionSigmaAO: 1 90 | m_ShowResolutionOverlay: 1 91 | m_LightingDataAsset: {fileID: 0} 92 | m_UseShadowmask: 1 93 | --- !u!196 &4 94 | NavMeshSettings: 95 | serializedVersion: 2 96 | m_ObjectHideFlags: 0 97 | m_BuildSettings: 98 | serializedVersion: 2 99 | agentTypeID: 0 100 | agentRadius: 0.5 101 | agentHeight: 2 102 | agentSlope: 45 103 | agentClimb: 0.4 104 | ledgeDropHeight: 0 105 | maxJumpAcrossDistance: 0 106 | minRegionArea: 2 107 | manualCellSize: 0 108 | cellSize: 0.16666667 109 | manualTileSize: 0 110 | tileSize: 256 111 | accuratePlacement: 0 112 | debug: 113 | m_Flags: 0 114 | m_NavMeshData: {fileID: 0} 115 | --- !u!1 &961950 116 | GameObject: 117 | m_ObjectHideFlags: 0 118 | m_CorrespondingSourceObject: {fileID: 0} 119 | m_PrefabInstance: {fileID: 0} 120 | m_PrefabAsset: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 961953} 124 | - component: {fileID: 961952} 125 | - component: {fileID: 961951} 126 | m_Layer: 0 127 | m_Name: EventSystem 128 | m_TagString: Untagged 129 | m_Icon: {fileID: 0} 130 | m_NavMeshLayer: 0 131 | m_StaticEditorFlags: 0 132 | m_IsActive: 1 133 | --- !u!114 &961951 134 | MonoBehaviour: 135 | m_ObjectHideFlags: 0 136 | m_CorrespondingSourceObject: {fileID: 0} 137 | m_PrefabInstance: {fileID: 0} 138 | m_PrefabAsset: {fileID: 0} 139 | m_GameObject: {fileID: 961950} 140 | m_Enabled: 1 141 | m_EditorHideFlags: 0 142 | m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} 143 | m_Name: 144 | m_EditorClassIdentifier: 145 | m_HorizontalAxis: Horizontal 146 | m_VerticalAxis: Vertical 147 | m_SubmitButton: Submit 148 | m_CancelButton: Cancel 149 | m_InputActionsPerSecond: 10 150 | m_RepeatDelay: 0.5 151 | m_ForceModuleActive: 0 152 | --- !u!114 &961952 153 | MonoBehaviour: 154 | m_ObjectHideFlags: 0 155 | m_CorrespondingSourceObject: {fileID: 0} 156 | m_PrefabInstance: {fileID: 0} 157 | m_PrefabAsset: {fileID: 0} 158 | m_GameObject: {fileID: 961950} 159 | m_Enabled: 1 160 | m_EditorHideFlags: 0 161 | m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} 162 | m_Name: 163 | m_EditorClassIdentifier: 164 | m_FirstSelected: {fileID: 0} 165 | m_sendNavigationEvents: 1 166 | m_DragThreshold: 10 167 | --- !u!4 &961953 168 | Transform: 169 | m_ObjectHideFlags: 0 170 | m_CorrespondingSourceObject: {fileID: 0} 171 | m_PrefabInstance: {fileID: 0} 172 | m_PrefabAsset: {fileID: 0} 173 | m_GameObject: {fileID: 961950} 174 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 175 | m_LocalPosition: {x: 0, y: 0, z: 0} 176 | m_LocalScale: {x: 1, y: 1, z: 1} 177 | m_Children: [] 178 | m_Father: {fileID: 0} 179 | m_RootOrder: 3 180 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 181 | --- !u!1 &302212586 182 | GameObject: 183 | m_ObjectHideFlags: 0 184 | m_CorrespondingSourceObject: {fileID: 0} 185 | m_PrefabInstance: {fileID: 0} 186 | m_PrefabAsset: {fileID: 0} 187 | serializedVersion: 6 188 | m_Component: 189 | - component: {fileID: 302212589} 190 | - component: {fileID: 302212588} 191 | - component: {fileID: 302212587} 192 | m_Layer: 0 193 | m_Name: Main Camera 194 | m_TagString: MainCamera 195 | m_Icon: {fileID: 0} 196 | m_NavMeshLayer: 0 197 | m_StaticEditorFlags: 0 198 | m_IsActive: 1 199 | --- !u!81 &302212587 200 | AudioListener: 201 | m_ObjectHideFlags: 0 202 | m_CorrespondingSourceObject: {fileID: 0} 203 | m_PrefabInstance: {fileID: 0} 204 | m_PrefabAsset: {fileID: 0} 205 | m_GameObject: {fileID: 302212586} 206 | m_Enabled: 1 207 | --- !u!20 &302212588 208 | Camera: 209 | m_ObjectHideFlags: 0 210 | m_CorrespondingSourceObject: {fileID: 0} 211 | m_PrefabInstance: {fileID: 0} 212 | m_PrefabAsset: {fileID: 0} 213 | m_GameObject: {fileID: 302212586} 214 | m_Enabled: 1 215 | serializedVersion: 2 216 | m_ClearFlags: 1 217 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 218 | m_projectionMatrixMode: 1 219 | m_SensorSize: {x: 36, y: 24} 220 | m_LensShift: {x: 0, y: 0} 221 | m_GateFitMode: 2 222 | m_FocalLength: 50 223 | m_NormalizedViewPortRect: 224 | serializedVersion: 2 225 | x: 0 226 | y: 0 227 | width: 1 228 | height: 1 229 | near clip plane: 0.3 230 | far clip plane: 1000 231 | field of view: 60 232 | orthographic: 0 233 | orthographic size: 5 234 | m_Depth: -1 235 | m_CullingMask: 236 | serializedVersion: 2 237 | m_Bits: 4294967295 238 | m_RenderingPath: -1 239 | m_TargetTexture: {fileID: 0} 240 | m_TargetDisplay: 0 241 | m_TargetEye: 3 242 | m_HDR: 1 243 | m_AllowMSAA: 1 244 | m_AllowDynamicResolution: 0 245 | m_ForceIntoRT: 0 246 | m_OcclusionCulling: 1 247 | m_StereoConvergence: 10 248 | m_StereoSeparation: 0.022 249 | --- !u!4 &302212589 250 | Transform: 251 | m_ObjectHideFlags: 0 252 | m_CorrespondingSourceObject: {fileID: 0} 253 | m_PrefabInstance: {fileID: 0} 254 | m_PrefabAsset: {fileID: 0} 255 | m_GameObject: {fileID: 302212586} 256 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 257 | m_LocalPosition: {x: 0, y: 1, z: -10} 258 | m_LocalScale: {x: 1, y: 1, z: 1} 259 | m_Children: [] 260 | m_Father: {fileID: 0} 261 | m_RootOrder: 0 262 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 263 | --- !u!1 &307714177 264 | GameObject: 265 | m_ObjectHideFlags: 0 266 | m_CorrespondingSourceObject: {fileID: 0} 267 | m_PrefabInstance: {fileID: 0} 268 | m_PrefabAsset: {fileID: 0} 269 | serializedVersion: 6 270 | m_Component: 271 | - component: {fileID: 307714181} 272 | - component: {fileID: 307714180} 273 | - component: {fileID: 307714179} 274 | - component: {fileID: 307714178} 275 | m_Layer: 5 276 | m_Name: Canvas 277 | m_TagString: Untagged 278 | m_Icon: {fileID: 0} 279 | m_NavMeshLayer: 0 280 | m_StaticEditorFlags: 0 281 | m_IsActive: 1 282 | --- !u!114 &307714178 283 | MonoBehaviour: 284 | m_ObjectHideFlags: 0 285 | m_CorrespondingSourceObject: {fileID: 0} 286 | m_PrefabInstance: {fileID: 0} 287 | m_PrefabAsset: {fileID: 0} 288 | m_GameObject: {fileID: 307714177} 289 | m_Enabled: 1 290 | m_EditorHideFlags: 0 291 | m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} 292 | m_Name: 293 | m_EditorClassIdentifier: 294 | m_IgnoreReversedGraphics: 1 295 | m_BlockingObjects: 0 296 | m_BlockingMask: 297 | serializedVersion: 2 298 | m_Bits: 4294967295 299 | --- !u!114 &307714179 300 | MonoBehaviour: 301 | m_ObjectHideFlags: 0 302 | m_CorrespondingSourceObject: {fileID: 0} 303 | m_PrefabInstance: {fileID: 0} 304 | m_PrefabAsset: {fileID: 0} 305 | m_GameObject: {fileID: 307714177} 306 | m_Enabled: 1 307 | m_EditorHideFlags: 0 308 | m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} 309 | m_Name: 310 | m_EditorClassIdentifier: 311 | m_UiScaleMode: 0 312 | m_ReferencePixelsPerUnit: 100 313 | m_ScaleFactor: 1 314 | m_ReferenceResolution: {x: 800, y: 600} 315 | m_ScreenMatchMode: 0 316 | m_MatchWidthOrHeight: 0 317 | m_PhysicalUnit: 3 318 | m_FallbackScreenDPI: 96 319 | m_DefaultSpriteDPI: 96 320 | m_DynamicPixelsPerUnit: 1 321 | --- !u!223 &307714180 322 | Canvas: 323 | m_ObjectHideFlags: 0 324 | m_CorrespondingSourceObject: {fileID: 0} 325 | m_PrefabInstance: {fileID: 0} 326 | m_PrefabAsset: {fileID: 0} 327 | m_GameObject: {fileID: 307714177} 328 | m_Enabled: 1 329 | serializedVersion: 3 330 | m_RenderMode: 0 331 | m_Camera: {fileID: 0} 332 | m_PlaneDistance: 100 333 | m_PixelPerfect: 0 334 | m_ReceivesEvents: 1 335 | m_OverrideSorting: 0 336 | m_OverridePixelPerfect: 0 337 | m_SortingBucketNormalizedSize: 0 338 | m_AdditionalShaderChannelsFlag: 0 339 | m_SortingLayerID: 0 340 | m_SortingOrder: 0 341 | m_TargetDisplay: 0 342 | --- !u!224 &307714181 343 | RectTransform: 344 | m_ObjectHideFlags: 0 345 | m_CorrespondingSourceObject: {fileID: 0} 346 | m_PrefabInstance: {fileID: 0} 347 | m_PrefabAsset: {fileID: 0} 348 | m_GameObject: {fileID: 307714177} 349 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 350 | m_LocalPosition: {x: 0, y: 0, z: 0} 351 | m_LocalScale: {x: 0, y: 0, z: 0} 352 | m_Children: 353 | - {fileID: 636594367} 354 | m_Father: {fileID: 0} 355 | m_RootOrder: 2 356 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 357 | m_AnchorMin: {x: 0, y: 0} 358 | m_AnchorMax: {x: 0, y: 0} 359 | m_AnchoredPosition: {x: 0, y: 0} 360 | m_SizeDelta: {x: 0, y: 0} 361 | m_Pivot: {x: 0, y: 0} 362 | --- !u!1 &636594366 363 | GameObject: 364 | m_ObjectHideFlags: 0 365 | m_CorrespondingSourceObject: {fileID: 0} 366 | m_PrefabInstance: {fileID: 0} 367 | m_PrefabAsset: {fileID: 0} 368 | serializedVersion: 6 369 | m_Component: 370 | - component: {fileID: 636594367} 371 | - component: {fileID: 636594370} 372 | - component: {fileID: 636594369} 373 | - component: {fileID: 636594368} 374 | - component: {fileID: 636594371} 375 | m_Layer: 5 376 | m_Name: Panel 377 | m_TagString: Untagged 378 | m_Icon: {fileID: 0} 379 | m_NavMeshLayer: 0 380 | m_StaticEditorFlags: 0 381 | m_IsActive: 1 382 | --- !u!224 &636594367 383 | RectTransform: 384 | m_ObjectHideFlags: 0 385 | m_CorrespondingSourceObject: {fileID: 0} 386 | m_PrefabInstance: {fileID: 0} 387 | m_PrefabAsset: {fileID: 0} 388 | m_GameObject: {fileID: 636594366} 389 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 390 | m_LocalPosition: {x: 0, y: 0, z: 0} 391 | m_LocalScale: {x: 1, y: 1, z: 1} 392 | m_Children: [] 393 | m_Father: {fileID: 307714181} 394 | m_RootOrder: 0 395 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 396 | m_AnchorMin: {x: 0.5, y: 0} 397 | m_AnchorMax: {x: 0.5, y: 1} 398 | m_AnchoredPosition: {x: 0, y: 0} 399 | m_SizeDelta: {x: 500, y: 0} 400 | m_Pivot: {x: 0.5, y: 0.5} 401 | --- !u!114 &636594368 402 | MonoBehaviour: 403 | m_ObjectHideFlags: 0 404 | m_CorrespondingSourceObject: {fileID: 0} 405 | m_PrefabInstance: {fileID: 0} 406 | m_PrefabAsset: {fileID: 0} 407 | m_GameObject: {fileID: 636594366} 408 | m_Enabled: 1 409 | m_EditorHideFlags: 0 410 | m_Script: {fileID: 1297475563, guid: f70555f144d8491a825f0804e09c671c, type: 3} 411 | m_Name: 412 | m_EditorClassIdentifier: 413 | m_Padding: 414 | m_Left: 0 415 | m_Right: 0 416 | m_Top: 0 417 | m_Bottom: 0 418 | m_ChildAlignment: 0 419 | m_Spacing: 0 420 | m_ChildForceExpandWidth: 0 421 | m_ChildForceExpandHeight: 0 422 | m_ChildControlWidth: 0 423 | m_ChildControlHeight: 0 424 | --- !u!114 &636594369 425 | MonoBehaviour: 426 | m_ObjectHideFlags: 0 427 | m_CorrespondingSourceObject: {fileID: 0} 428 | m_PrefabInstance: {fileID: 0} 429 | m_PrefabAsset: {fileID: 0} 430 | m_GameObject: {fileID: 636594366} 431 | m_Enabled: 1 432 | m_EditorHideFlags: 0 433 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 434 | m_Name: 435 | m_EditorClassIdentifier: 436 | m_Material: {fileID: 0} 437 | m_Color: {r: 0.1981132, g: 0.1981132, b: 0.1981132, a: 0.392} 438 | m_RaycastTarget: 1 439 | m_OnCullStateChanged: 440 | m_PersistentCalls: 441 | m_Calls: [] 442 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 443 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 444 | m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} 445 | m_Type: 1 446 | m_PreserveAspect: 0 447 | m_FillCenter: 1 448 | m_FillMethod: 4 449 | m_FillAmount: 1 450 | m_FillClockwise: 1 451 | m_FillOrigin: 0 452 | m_UseSpriteMesh: 0 453 | --- !u!222 &636594370 454 | CanvasRenderer: 455 | m_ObjectHideFlags: 0 456 | m_CorrespondingSourceObject: {fileID: 0} 457 | m_PrefabInstance: {fileID: 0} 458 | m_PrefabAsset: {fileID: 0} 459 | m_GameObject: {fileID: 636594366} 460 | m_CullTransparentMesh: 0 461 | --- !u!114 &636594371 462 | MonoBehaviour: 463 | m_ObjectHideFlags: 0 464 | m_CorrespondingSourceObject: {fileID: 0} 465 | m_PrefabInstance: {fileID: 0} 466 | m_PrefabAsset: {fileID: 0} 467 | m_GameObject: {fileID: 636594366} 468 | m_Enabled: 1 469 | m_EditorHideFlags: 0 470 | m_Script: {fileID: 11500000, guid: 32f26e954fb9469f90f9daa8d8c2da47, type: 3} 471 | m_Name: 472 | m_EditorClassIdentifier: 473 | _cardPrefab: {fileID: 5017241311760143413, guid: 8850eb24cd711cd4186dd551d583500a, 474 | type: 3} 475 | --- !u!1 &1040667063 476 | GameObject: 477 | m_ObjectHideFlags: 0 478 | m_CorrespondingSourceObject: {fileID: 0} 479 | m_PrefabInstance: {fileID: 0} 480 | m_PrefabAsset: {fileID: 0} 481 | serializedVersion: 6 482 | m_Component: 483 | - component: {fileID: 1040667065} 484 | - component: {fileID: 1040667064} 485 | m_Layer: 0 486 | m_Name: Directional Light 487 | m_TagString: Untagged 488 | m_Icon: {fileID: 0} 489 | m_NavMeshLayer: 0 490 | m_StaticEditorFlags: 0 491 | m_IsActive: 1 492 | --- !u!108 &1040667064 493 | Light: 494 | m_ObjectHideFlags: 0 495 | m_CorrespondingSourceObject: {fileID: 0} 496 | m_PrefabInstance: {fileID: 0} 497 | m_PrefabAsset: {fileID: 0} 498 | m_GameObject: {fileID: 1040667063} 499 | m_Enabled: 1 500 | serializedVersion: 8 501 | m_Type: 1 502 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 503 | m_Intensity: 1 504 | m_Range: 10 505 | m_SpotAngle: 30 506 | m_CookieSize: 10 507 | m_Shadows: 508 | m_Type: 2 509 | m_Resolution: -1 510 | m_CustomResolution: -1 511 | m_Strength: 1 512 | m_Bias: 0.05 513 | m_NormalBias: 0.4 514 | m_NearPlane: 0.2 515 | m_Cookie: {fileID: 0} 516 | m_DrawHalo: 0 517 | m_Flare: {fileID: 0} 518 | m_RenderMode: 0 519 | m_CullingMask: 520 | serializedVersion: 2 521 | m_Bits: 4294967295 522 | m_Lightmapping: 4 523 | m_LightShadowCasterMode: 0 524 | m_AreaSize: {x: 1, y: 1} 525 | m_BounceIntensity: 1 526 | m_ColorTemperature: 6570 527 | m_UseColorTemperature: 0 528 | m_ShadowRadius: 0 529 | m_ShadowAngle: 0 530 | --- !u!4 &1040667065 531 | Transform: 532 | m_ObjectHideFlags: 0 533 | m_CorrespondingSourceObject: {fileID: 0} 534 | m_PrefabInstance: {fileID: 0} 535 | m_PrefabAsset: {fileID: 0} 536 | m_GameObject: {fileID: 1040667063} 537 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 538 | m_LocalPosition: {x: 0, y: 3, z: 0} 539 | m_LocalScale: {x: 1, y: 1, z: 1} 540 | m_Children: [] 541 | m_Father: {fileID: 0} 542 | m_RootOrder: 1 543 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 544 | --- !u!1001 &1487117985 545 | PrefabInstance: 546 | m_ObjectHideFlags: 0 547 | serializedVersion: 2 548 | m_Modification: 549 | m_TransformParent: {fileID: 0} 550 | m_Modifications: 551 | - target: {fileID: 2792791811401470172, guid: 26240ecdb4914cf42b3c7f963f563ebb, 552 | type: 3} 553 | propertyPath: m_Name 554 | value: RollingCube 555 | objectReference: {fileID: 0} 556 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 557 | type: 3} 558 | propertyPath: m_LocalPosition.x 559 | value: 0 560 | objectReference: {fileID: 0} 561 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 562 | type: 3} 563 | propertyPath: m_LocalPosition.y 564 | value: 0 565 | objectReference: {fileID: 0} 566 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 567 | type: 3} 568 | propertyPath: m_LocalPosition.z 569 | value: 0 570 | objectReference: {fileID: 0} 571 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 572 | type: 3} 573 | propertyPath: m_LocalRotation.x 574 | value: -0.19337817 575 | objectReference: {fileID: 0} 576 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 577 | type: 3} 578 | propertyPath: m_LocalRotation.y 579 | value: 0 580 | objectReference: {fileID: 0} 581 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 582 | type: 3} 583 | propertyPath: m_LocalRotation.z 584 | value: 0 585 | objectReference: {fileID: 0} 586 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 587 | type: 3} 588 | propertyPath: m_LocalRotation.w 589 | value: 0.9811243 590 | objectReference: {fileID: 0} 591 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 592 | type: 3} 593 | propertyPath: m_RootOrder 594 | value: 4 595 | objectReference: {fileID: 0} 596 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 597 | type: 3} 598 | propertyPath: m_LocalEulerAnglesHint.x 599 | value: -22.3 600 | objectReference: {fileID: 0} 601 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 602 | type: 3} 603 | propertyPath: m_LocalEulerAnglesHint.y 604 | value: 0 605 | objectReference: {fileID: 0} 606 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 607 | type: 3} 608 | propertyPath: m_LocalEulerAnglesHint.z 609 | value: 0 610 | objectReference: {fileID: 0} 611 | m_RemovedComponents: [] 612 | m_SourcePrefab: {fileID: 100100000, guid: 26240ecdb4914cf42b3c7f963f563ebb, type: 3} 613 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/demo3_coloutine.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8cfc22f306ec4aa4b85c247a8a1ec36a 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/demo4_job.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: 0} 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: 11 47 | m_GIWorkflowMode: 0 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: 1 56 | m_LightmapEditorSettings: 57 | serializedVersion: 10 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_Padding: 2 66 | m_LightmapParameters: {fileID: 0} 67 | m_LightmapsBakeMode: 1 68 | m_TextureCompression: 1 69 | m_FinalGather: 0 70 | m_FinalGatherFiltering: 1 71 | m_FinalGatherRayCount: 256 72 | m_ReflectionCompression: 2 73 | m_MixedBakeMode: 2 74 | m_BakeBackend: 1 75 | m_PVRSampling: 1 76 | m_PVRDirectSampleCount: 32 77 | m_PVRSampleCount: 500 78 | m_PVRBounces: 2 79 | m_PVRFilterTypeDirect: 0 80 | m_PVRFilterTypeIndirect: 0 81 | m_PVRFilterTypeAO: 0 82 | m_PVRFilteringMode: 1 83 | m_PVRCulling: 1 84 | m_PVRFilteringGaussRadiusDirect: 1 85 | m_PVRFilteringGaussRadiusIndirect: 5 86 | m_PVRFilteringGaussRadiusAO: 2 87 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 88 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 89 | m_PVRFilteringAtrousPositionSigmaAO: 1 90 | m_ShowResolutionOverlay: 1 91 | m_LightingDataAsset: {fileID: 0} 92 | m_UseShadowmask: 1 93 | --- !u!196 &4 94 | NavMeshSettings: 95 | serializedVersion: 2 96 | m_ObjectHideFlags: 0 97 | m_BuildSettings: 98 | serializedVersion: 2 99 | agentTypeID: 0 100 | agentRadius: 0.5 101 | agentHeight: 2 102 | agentSlope: 45 103 | agentClimb: 0.4 104 | ledgeDropHeight: 0 105 | maxJumpAcrossDistance: 0 106 | minRegionArea: 2 107 | manualCellSize: 0 108 | cellSize: 0.16666667 109 | manualTileSize: 0 110 | tileSize: 256 111 | accuratePlacement: 0 112 | debug: 113 | m_Flags: 0 114 | m_NavMeshData: {fileID: 0} 115 | --- !u!1 &961950 116 | GameObject: 117 | m_ObjectHideFlags: 0 118 | m_CorrespondingSourceObject: {fileID: 0} 119 | m_PrefabInstance: {fileID: 0} 120 | m_PrefabAsset: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 961953} 124 | - component: {fileID: 961952} 125 | - component: {fileID: 961951} 126 | m_Layer: 0 127 | m_Name: EventSystem 128 | m_TagString: Untagged 129 | m_Icon: {fileID: 0} 130 | m_NavMeshLayer: 0 131 | m_StaticEditorFlags: 0 132 | m_IsActive: 1 133 | --- !u!114 &961951 134 | MonoBehaviour: 135 | m_ObjectHideFlags: 0 136 | m_CorrespondingSourceObject: {fileID: 0} 137 | m_PrefabInstance: {fileID: 0} 138 | m_PrefabAsset: {fileID: 0} 139 | m_GameObject: {fileID: 961950} 140 | m_Enabled: 1 141 | m_EditorHideFlags: 0 142 | m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} 143 | m_Name: 144 | m_EditorClassIdentifier: 145 | m_HorizontalAxis: Horizontal 146 | m_VerticalAxis: Vertical 147 | m_SubmitButton: Submit 148 | m_CancelButton: Cancel 149 | m_InputActionsPerSecond: 10 150 | m_RepeatDelay: 0.5 151 | m_ForceModuleActive: 0 152 | --- !u!114 &961952 153 | MonoBehaviour: 154 | m_ObjectHideFlags: 0 155 | m_CorrespondingSourceObject: {fileID: 0} 156 | m_PrefabInstance: {fileID: 0} 157 | m_PrefabAsset: {fileID: 0} 158 | m_GameObject: {fileID: 961950} 159 | m_Enabled: 1 160 | m_EditorHideFlags: 0 161 | m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} 162 | m_Name: 163 | m_EditorClassIdentifier: 164 | m_FirstSelected: {fileID: 0} 165 | m_sendNavigationEvents: 1 166 | m_DragThreshold: 10 167 | --- !u!4 &961953 168 | Transform: 169 | m_ObjectHideFlags: 0 170 | m_CorrespondingSourceObject: {fileID: 0} 171 | m_PrefabInstance: {fileID: 0} 172 | m_PrefabAsset: {fileID: 0} 173 | m_GameObject: {fileID: 961950} 174 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 175 | m_LocalPosition: {x: 0, y: 0, z: 0} 176 | m_LocalScale: {x: 1, y: 1, z: 1} 177 | m_Children: [] 178 | m_Father: {fileID: 0} 179 | m_RootOrder: 3 180 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 181 | --- !u!1 &302212586 182 | GameObject: 183 | m_ObjectHideFlags: 0 184 | m_CorrespondingSourceObject: {fileID: 0} 185 | m_PrefabInstance: {fileID: 0} 186 | m_PrefabAsset: {fileID: 0} 187 | serializedVersion: 6 188 | m_Component: 189 | - component: {fileID: 302212589} 190 | - component: {fileID: 302212588} 191 | - component: {fileID: 302212587} 192 | m_Layer: 0 193 | m_Name: Main Camera 194 | m_TagString: MainCamera 195 | m_Icon: {fileID: 0} 196 | m_NavMeshLayer: 0 197 | m_StaticEditorFlags: 0 198 | m_IsActive: 1 199 | --- !u!81 &302212587 200 | AudioListener: 201 | m_ObjectHideFlags: 0 202 | m_CorrespondingSourceObject: {fileID: 0} 203 | m_PrefabInstance: {fileID: 0} 204 | m_PrefabAsset: {fileID: 0} 205 | m_GameObject: {fileID: 302212586} 206 | m_Enabled: 1 207 | --- !u!20 &302212588 208 | Camera: 209 | m_ObjectHideFlags: 0 210 | m_CorrespondingSourceObject: {fileID: 0} 211 | m_PrefabInstance: {fileID: 0} 212 | m_PrefabAsset: {fileID: 0} 213 | m_GameObject: {fileID: 302212586} 214 | m_Enabled: 1 215 | serializedVersion: 2 216 | m_ClearFlags: 1 217 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 218 | m_projectionMatrixMode: 1 219 | m_SensorSize: {x: 36, y: 24} 220 | m_LensShift: {x: 0, y: 0} 221 | m_GateFitMode: 2 222 | m_FocalLength: 50 223 | m_NormalizedViewPortRect: 224 | serializedVersion: 2 225 | x: 0 226 | y: 0 227 | width: 1 228 | height: 1 229 | near clip plane: 0.3 230 | far clip plane: 1000 231 | field of view: 60 232 | orthographic: 0 233 | orthographic size: 5 234 | m_Depth: -1 235 | m_CullingMask: 236 | serializedVersion: 2 237 | m_Bits: 4294967295 238 | m_RenderingPath: -1 239 | m_TargetTexture: {fileID: 0} 240 | m_TargetDisplay: 0 241 | m_TargetEye: 3 242 | m_HDR: 1 243 | m_AllowMSAA: 1 244 | m_AllowDynamicResolution: 0 245 | m_ForceIntoRT: 0 246 | m_OcclusionCulling: 1 247 | m_StereoConvergence: 10 248 | m_StereoSeparation: 0.022 249 | --- !u!4 &302212589 250 | Transform: 251 | m_ObjectHideFlags: 0 252 | m_CorrespondingSourceObject: {fileID: 0} 253 | m_PrefabInstance: {fileID: 0} 254 | m_PrefabAsset: {fileID: 0} 255 | m_GameObject: {fileID: 302212586} 256 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 257 | m_LocalPosition: {x: 0, y: 1, z: -10} 258 | m_LocalScale: {x: 1, y: 1, z: 1} 259 | m_Children: [] 260 | m_Father: {fileID: 0} 261 | m_RootOrder: 0 262 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 263 | --- !u!1 &307714177 264 | GameObject: 265 | m_ObjectHideFlags: 0 266 | m_CorrespondingSourceObject: {fileID: 0} 267 | m_PrefabInstance: {fileID: 0} 268 | m_PrefabAsset: {fileID: 0} 269 | serializedVersion: 6 270 | m_Component: 271 | - component: {fileID: 307714181} 272 | - component: {fileID: 307714180} 273 | - component: {fileID: 307714179} 274 | - component: {fileID: 307714178} 275 | m_Layer: 5 276 | m_Name: Canvas 277 | m_TagString: Untagged 278 | m_Icon: {fileID: 0} 279 | m_NavMeshLayer: 0 280 | m_StaticEditorFlags: 0 281 | m_IsActive: 1 282 | --- !u!114 &307714178 283 | MonoBehaviour: 284 | m_ObjectHideFlags: 0 285 | m_CorrespondingSourceObject: {fileID: 0} 286 | m_PrefabInstance: {fileID: 0} 287 | m_PrefabAsset: {fileID: 0} 288 | m_GameObject: {fileID: 307714177} 289 | m_Enabled: 1 290 | m_EditorHideFlags: 0 291 | m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} 292 | m_Name: 293 | m_EditorClassIdentifier: 294 | m_IgnoreReversedGraphics: 1 295 | m_BlockingObjects: 0 296 | m_BlockingMask: 297 | serializedVersion: 2 298 | m_Bits: 4294967295 299 | --- !u!114 &307714179 300 | MonoBehaviour: 301 | m_ObjectHideFlags: 0 302 | m_CorrespondingSourceObject: {fileID: 0} 303 | m_PrefabInstance: {fileID: 0} 304 | m_PrefabAsset: {fileID: 0} 305 | m_GameObject: {fileID: 307714177} 306 | m_Enabled: 1 307 | m_EditorHideFlags: 0 308 | m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} 309 | m_Name: 310 | m_EditorClassIdentifier: 311 | m_UiScaleMode: 0 312 | m_ReferencePixelsPerUnit: 100 313 | m_ScaleFactor: 1 314 | m_ReferenceResolution: {x: 800, y: 600} 315 | m_ScreenMatchMode: 0 316 | m_MatchWidthOrHeight: 0 317 | m_PhysicalUnit: 3 318 | m_FallbackScreenDPI: 96 319 | m_DefaultSpriteDPI: 96 320 | m_DynamicPixelsPerUnit: 1 321 | --- !u!223 &307714180 322 | Canvas: 323 | m_ObjectHideFlags: 0 324 | m_CorrespondingSourceObject: {fileID: 0} 325 | m_PrefabInstance: {fileID: 0} 326 | m_PrefabAsset: {fileID: 0} 327 | m_GameObject: {fileID: 307714177} 328 | m_Enabled: 1 329 | serializedVersion: 3 330 | m_RenderMode: 0 331 | m_Camera: {fileID: 0} 332 | m_PlaneDistance: 100 333 | m_PixelPerfect: 0 334 | m_ReceivesEvents: 1 335 | m_OverrideSorting: 0 336 | m_OverridePixelPerfect: 0 337 | m_SortingBucketNormalizedSize: 0 338 | m_AdditionalShaderChannelsFlag: 0 339 | m_SortingLayerID: 0 340 | m_SortingOrder: 0 341 | m_TargetDisplay: 0 342 | --- !u!224 &307714181 343 | RectTransform: 344 | m_ObjectHideFlags: 0 345 | m_CorrespondingSourceObject: {fileID: 0} 346 | m_PrefabInstance: {fileID: 0} 347 | m_PrefabAsset: {fileID: 0} 348 | m_GameObject: {fileID: 307714177} 349 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 350 | m_LocalPosition: {x: 0, y: 0, z: 0} 351 | m_LocalScale: {x: 0, y: 0, z: 0} 352 | m_Children: 353 | - {fileID: 636594367} 354 | m_Father: {fileID: 0} 355 | m_RootOrder: 2 356 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 357 | m_AnchorMin: {x: 0, y: 0} 358 | m_AnchorMax: {x: 0, y: 0} 359 | m_AnchoredPosition: {x: 0, y: 0} 360 | m_SizeDelta: {x: 0, y: 0} 361 | m_Pivot: {x: 0, y: 0} 362 | --- !u!1 &636594366 363 | GameObject: 364 | m_ObjectHideFlags: 0 365 | m_CorrespondingSourceObject: {fileID: 0} 366 | m_PrefabInstance: {fileID: 0} 367 | m_PrefabAsset: {fileID: 0} 368 | serializedVersion: 6 369 | m_Component: 370 | - component: {fileID: 636594367} 371 | - component: {fileID: 636594370} 372 | - component: {fileID: 636594369} 373 | - component: {fileID: 636594368} 374 | - component: {fileID: 636594371} 375 | m_Layer: 5 376 | m_Name: Panel 377 | m_TagString: Untagged 378 | m_Icon: {fileID: 0} 379 | m_NavMeshLayer: 0 380 | m_StaticEditorFlags: 0 381 | m_IsActive: 1 382 | --- !u!224 &636594367 383 | RectTransform: 384 | m_ObjectHideFlags: 0 385 | m_CorrespondingSourceObject: {fileID: 0} 386 | m_PrefabInstance: {fileID: 0} 387 | m_PrefabAsset: {fileID: 0} 388 | m_GameObject: {fileID: 636594366} 389 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 390 | m_LocalPosition: {x: 0, y: 0, z: 0} 391 | m_LocalScale: {x: 1, y: 1, z: 1} 392 | m_Children: [] 393 | m_Father: {fileID: 307714181} 394 | m_RootOrder: 0 395 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 396 | m_AnchorMin: {x: 0.5, y: 0} 397 | m_AnchorMax: {x: 0.5, y: 1} 398 | m_AnchoredPosition: {x: 0, y: 0} 399 | m_SizeDelta: {x: 500, y: 0} 400 | m_Pivot: {x: 0.5, y: 0.5} 401 | --- !u!114 &636594368 402 | MonoBehaviour: 403 | m_ObjectHideFlags: 0 404 | m_CorrespondingSourceObject: {fileID: 0} 405 | m_PrefabInstance: {fileID: 0} 406 | m_PrefabAsset: {fileID: 0} 407 | m_GameObject: {fileID: 636594366} 408 | m_Enabled: 1 409 | m_EditorHideFlags: 0 410 | m_Script: {fileID: 1297475563, guid: f70555f144d8491a825f0804e09c671c, type: 3} 411 | m_Name: 412 | m_EditorClassIdentifier: 413 | m_Padding: 414 | m_Left: 0 415 | m_Right: 0 416 | m_Top: 0 417 | m_Bottom: 0 418 | m_ChildAlignment: 0 419 | m_Spacing: 0 420 | m_ChildForceExpandWidth: 0 421 | m_ChildForceExpandHeight: 0 422 | m_ChildControlWidth: 0 423 | m_ChildControlHeight: 0 424 | --- !u!114 &636594369 425 | MonoBehaviour: 426 | m_ObjectHideFlags: 0 427 | m_CorrespondingSourceObject: {fileID: 0} 428 | m_PrefabInstance: {fileID: 0} 429 | m_PrefabAsset: {fileID: 0} 430 | m_GameObject: {fileID: 636594366} 431 | m_Enabled: 1 432 | m_EditorHideFlags: 0 433 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 434 | m_Name: 435 | m_EditorClassIdentifier: 436 | m_Material: {fileID: 0} 437 | m_Color: {r: 0.1981132, g: 0.1981132, b: 0.1981132, a: 0.392} 438 | m_RaycastTarget: 1 439 | m_OnCullStateChanged: 440 | m_PersistentCalls: 441 | m_Calls: [] 442 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 443 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 444 | m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} 445 | m_Type: 1 446 | m_PreserveAspect: 0 447 | m_FillCenter: 1 448 | m_FillMethod: 4 449 | m_FillAmount: 1 450 | m_FillClockwise: 1 451 | m_FillOrigin: 0 452 | m_UseSpriteMesh: 0 453 | --- !u!222 &636594370 454 | CanvasRenderer: 455 | m_ObjectHideFlags: 0 456 | m_CorrespondingSourceObject: {fileID: 0} 457 | m_PrefabInstance: {fileID: 0} 458 | m_PrefabAsset: {fileID: 0} 459 | m_GameObject: {fileID: 636594366} 460 | m_CullTransparentMesh: 0 461 | --- !u!114 &636594371 462 | MonoBehaviour: 463 | m_ObjectHideFlags: 0 464 | m_CorrespondingSourceObject: {fileID: 0} 465 | m_PrefabInstance: {fileID: 0} 466 | m_PrefabAsset: {fileID: 0} 467 | m_GameObject: {fileID: 636594366} 468 | m_Enabled: 1 469 | m_EditorHideFlags: 0 470 | m_Script: {fileID: 11500000, guid: 2a84c09975490724686de760161d5966, type: 3} 471 | m_Name: 472 | m_EditorClassIdentifier: 473 | _cardPrefab: {fileID: 5017241311760143413, guid: 8850eb24cd711cd4186dd551d583500a, 474 | type: 3} 475 | --- !u!1 &1040667063 476 | GameObject: 477 | m_ObjectHideFlags: 0 478 | m_CorrespondingSourceObject: {fileID: 0} 479 | m_PrefabInstance: {fileID: 0} 480 | m_PrefabAsset: {fileID: 0} 481 | serializedVersion: 6 482 | m_Component: 483 | - component: {fileID: 1040667065} 484 | - component: {fileID: 1040667064} 485 | m_Layer: 0 486 | m_Name: Directional Light 487 | m_TagString: Untagged 488 | m_Icon: {fileID: 0} 489 | m_NavMeshLayer: 0 490 | m_StaticEditorFlags: 0 491 | m_IsActive: 1 492 | --- !u!108 &1040667064 493 | Light: 494 | m_ObjectHideFlags: 0 495 | m_CorrespondingSourceObject: {fileID: 0} 496 | m_PrefabInstance: {fileID: 0} 497 | m_PrefabAsset: {fileID: 0} 498 | m_GameObject: {fileID: 1040667063} 499 | m_Enabled: 1 500 | serializedVersion: 8 501 | m_Type: 1 502 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 503 | m_Intensity: 1 504 | m_Range: 10 505 | m_SpotAngle: 30 506 | m_CookieSize: 10 507 | m_Shadows: 508 | m_Type: 2 509 | m_Resolution: -1 510 | m_CustomResolution: -1 511 | m_Strength: 1 512 | m_Bias: 0.05 513 | m_NormalBias: 0.4 514 | m_NearPlane: 0.2 515 | m_Cookie: {fileID: 0} 516 | m_DrawHalo: 0 517 | m_Flare: {fileID: 0} 518 | m_RenderMode: 0 519 | m_CullingMask: 520 | serializedVersion: 2 521 | m_Bits: 4294967295 522 | m_Lightmapping: 4 523 | m_LightShadowCasterMode: 0 524 | m_AreaSize: {x: 1, y: 1} 525 | m_BounceIntensity: 1 526 | m_ColorTemperature: 6570 527 | m_UseColorTemperature: 0 528 | m_ShadowRadius: 0 529 | m_ShadowAngle: 0 530 | --- !u!4 &1040667065 531 | Transform: 532 | m_ObjectHideFlags: 0 533 | m_CorrespondingSourceObject: {fileID: 0} 534 | m_PrefabInstance: {fileID: 0} 535 | m_PrefabAsset: {fileID: 0} 536 | m_GameObject: {fileID: 1040667063} 537 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 538 | m_LocalPosition: {x: 0, y: 3, z: 0} 539 | m_LocalScale: {x: 1, y: 1, z: 1} 540 | m_Children: [] 541 | m_Father: {fileID: 0} 542 | m_RootOrder: 1 543 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 544 | --- !u!1001 &1580128560 545 | PrefabInstance: 546 | m_ObjectHideFlags: 0 547 | serializedVersion: 2 548 | m_Modification: 549 | m_TransformParent: {fileID: 0} 550 | m_Modifications: 551 | - target: {fileID: 2792791811401470172, guid: 26240ecdb4914cf42b3c7f963f563ebb, 552 | type: 3} 553 | propertyPath: m_Name 554 | value: RollingCube 555 | objectReference: {fileID: 0} 556 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 557 | type: 3} 558 | propertyPath: m_LocalPosition.x 559 | value: 0 560 | objectReference: {fileID: 0} 561 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 562 | type: 3} 563 | propertyPath: m_LocalPosition.y 564 | value: 0 565 | objectReference: {fileID: 0} 566 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 567 | type: 3} 568 | propertyPath: m_LocalPosition.z 569 | value: 0 570 | objectReference: {fileID: 0} 571 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 572 | type: 3} 573 | propertyPath: m_LocalRotation.x 574 | value: -0.19337817 575 | objectReference: {fileID: 0} 576 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 577 | type: 3} 578 | propertyPath: m_LocalRotation.y 579 | value: 0 580 | objectReference: {fileID: 0} 581 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 582 | type: 3} 583 | propertyPath: m_LocalRotation.z 584 | value: 0 585 | objectReference: {fileID: 0} 586 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 587 | type: 3} 588 | propertyPath: m_LocalRotation.w 589 | value: 0.9811243 590 | objectReference: {fileID: 0} 591 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 592 | type: 3} 593 | propertyPath: m_RootOrder 594 | value: 4 595 | objectReference: {fileID: 0} 596 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 597 | type: 3} 598 | propertyPath: m_LocalEulerAnglesHint.x 599 | value: -22.3 600 | objectReference: {fileID: 0} 601 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 602 | type: 3} 603 | propertyPath: m_LocalEulerAnglesHint.y 604 | value: 0 605 | objectReference: {fileID: 0} 606 | - target: {fileID: 2792791811401470167, guid: 26240ecdb4914cf42b3c7f963f563ebb, 607 | type: 3} 608 | propertyPath: m_LocalEulerAnglesHint.z 609 | value: 0 610 | objectReference: {fileID: 0} 611 | m_RemovedComponents: [] 612 | m_SourcePrefab: {fileID: 100100000, guid: 26240ecdb4914cf42b3c7f963f563ebb, type: 3} 613 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Example/demo4_job.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8eae585c546495a45bf94ebec4e05876 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/QuickMetaLoader.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "QuickMetaLoader", 3 | "references": [ 4 | "VRM" 5 | ], 6 | "optionalUnityReferences": [], 7 | "includePlatforms": [], 8 | "excludePlatforms": [], 9 | "allowUnsafeCode": true, 10 | "overrideReferences": false, 11 | "precompiledReferences": [], 12 | "autoReferenced": true, 13 | "defineConstraints": [] 14 | } -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/QuickMetaLoader.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d04ca1af122c4347b641d82557c4bea 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 976c3103b1b9d5f4dade17592f4d2fcc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/EnumParser.cs: -------------------------------------------------------------------------------- 1 | namespace VRM.QuickMetaLoader 2 | { 3 | internal static class EnumParser 4 | { 5 | public static AllowedUser ParseAllowedUser(this string text) 6 | { 7 | if (string.IsNullOrEmpty(text)) return default; 8 | switch (text.Length) 9 | { 10 | case 8: return AllowedUser.Everyone; 11 | case 10: return AllowedUser.OnlyAuthor; 12 | case 22: return AllowedUser.ExplicitlyLicensedPerson; 13 | default: return default; 14 | } 15 | } 16 | 17 | public static UssageLicense ParseUssageLicense(this string text) 18 | { 19 | if (string.IsNullOrEmpty(text)) return default; 20 | switch (text.Length) 21 | { 22 | case 5: return UssageLicense.Allow; 23 | case 8: return UssageLicense.Disallow; 24 | default: return default; 25 | } 26 | } 27 | 28 | public static LicenseType ParseLicenseType(this string text) 29 | { 30 | if (string.IsNullOrEmpty(text)) return default; 31 | switch (text.Length) 32 | { 33 | case 25: 34 | return LicenseType.Redistribution_Prohibited; 35 | case 3: 36 | if ((text[0] == 'c' || text[0] == 'C') && 37 | (text[1] == 'c' || text[1] == 'C') && 38 | text[2] == '0') 39 | return LicenseType.CC0; 40 | return default; 41 | case 5: 42 | if ((text[0] == 'c' || text[0] == 'C') && 43 | (text[1] == 'c' || text[1] == 'C') && 44 | text[2] == '_' && 45 | (text[3] == 'b' || text[3] == 'B') && 46 | (text[4] == 'y' || text[4] == 'Y')) 47 | return LicenseType.CC_BY; 48 | return LicenseType.Other; 49 | case 8: 50 | if ((text[0] != 'c' && text[0] != 'C') || (text[1] != 'c' && text[1] != 'C') || text[2] != '_' || (text[3] != 'b' && text[3] != 'B') || (text[4] != 'y' && text[4] != 'Y') || text[5] != '_') return LicenseType.Other; 51 | if (text[6] == 'n' || text[6] == 'N') 52 | { 53 | if (text[7] == 'c' || text[7] == 'C') 54 | { 55 | return LicenseType.CC_BY_NC; 56 | } 57 | return LicenseType.CC_BY_ND; 58 | } 59 | if (text[6] == 's' || text[6] == 'S') 60 | { 61 | return LicenseType.CC_BY_SA; 62 | } 63 | return LicenseType.Other; 64 | case 11: 65 | if (text[10] == 'a' || text[10] == 'A') 66 | { 67 | return LicenseType.CC_BY_NC_SA; 68 | } 69 | return LicenseType.CC_BY_NC_ND; 70 | default: 71 | return LicenseType.Other; 72 | } 73 | } 74 | } 75 | } -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/EnumParser.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20b5190566ddbaa4fa668e7292587a6d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/IMetaLoader.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace VRM.QuickMetaLoader 4 | { 5 | public interface IMetaLoader 6 | { 7 | VRMMetaObject Read(); 8 | Texture2D LoadThumbnail(); 9 | } 10 | } -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/IMetaLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c1eda9f5c4bb6d48aa7eb913d29c9b0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/JobMetaLoader.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using Unity.Collections; 4 | using Unity.Collections.LowLevel.Unsafe; 5 | using Unity.IO.LowLevel.Unsafe; 6 | using Unity.Jobs; 7 | using UnityEngine; 8 | using VRM.QuickMetaLoader.Model; 9 | 10 | namespace VRM.QuickMetaLoader 11 | { 12 | public unsafe struct JobMetaLoader : IDisposable, IMetaLoader 13 | { 14 | private string path; 15 | private JobMetaLoaderInternal* ptr; 16 | private byte[] thumbnailBytes; 17 | private ulong thumbnailHandle; 18 | private readonly bool preloadThumbnail; 19 | 20 | public JobMetaLoader(string path, bool preloadThumbnail = true) 21 | { 22 | thumbnailBytes = null; 23 | thumbnailHandle = default; 24 | this.path = path; 25 | ptr = JobMetaLoaderInternal.Create(path); 26 | this.preloadThumbnail = preloadThumbnail; 27 | } 28 | 29 | public JobHandle LoadJsonJobHandle => ptr->InterpretMagicAndLoadJsonJobHandle; 30 | 31 | public JobHandle InterpretMetaJobHandle => ptr->InterpretMetaAndLoadBinaryJobHandle; 32 | 33 | public JobHandle LoadThumbnailJobHandle => ptr->ReadHandleReference.JobHandle; 34 | 35 | public VRMMetaObject Read() 36 | { 37 | var metaObject = ScriptableObject.CreateInstance(); 38 | 39 | ptr->InterpretMetaAndLoadBinaryJobHandle.Complete(); 40 | if (ptr->Status != 3) throw new Exception(); 41 | ref var dataStock = ref ptr->QuickMetaStructDataStockReference; 42 | dataStock.PushMeta(metaObject); 43 | 44 | if (!preloadThumbnail) return metaObject; 45 | 46 | var length = dataStock.BinaryLength; 47 | if (length == 0) return metaObject; 48 | 49 | thumbnailBytes = new byte[length]; 50 | ptr->ReadCommandReference = new ReadCommand 51 | { 52 | Buffer = UnsafeUtility.PinGCArrayAndGetDataAddress(thumbnailBytes, out thumbnailHandle), 53 | Size = length, 54 | Offset = 28 + ptr->JsonLength + dataStock.BinaryOffset, 55 | }; 56 | ptr->ReadHandleReference = AsyncReadManager.Read(path, (ReadCommand*)ptr->ReadCommandPtr, 1); 57 | ptr->Status = 4; 58 | return metaObject; 59 | } 60 | 61 | public Texture2D LoadThumbnail() 62 | { 63 | ref var dataStock = ref ptr->QuickMetaStructDataStockReference; 64 | if (preloadThumbnail) 65 | { 66 | return CreateThumbnailPreloaded(ref dataStock); 67 | } 68 | return CreateThumbnailSync(dataStock); 69 | } 70 | 71 | private Texture2D CreateThumbnailSync(QuickMetaStruct.DataStock dataStock) 72 | { 73 | var length = dataStock.BinaryLength; 74 | if (length == 0) return null; 75 | 76 | thumbnailBytes = new byte[length]; 77 | using (var stream = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read, 4096, FileOptions.SequentialScan)) 78 | { 79 | stream.Seek(28 + ptr->JsonLength + dataStock.BinaryOffset, SeekOrigin.Begin); 80 | stream.Read(thumbnailBytes, 0, length); 81 | } 82 | return CreateThumbnail(ref dataStock); 83 | } 84 | 85 | private Texture2D CreateThumbnailPreloaded(ref QuickMetaStruct.DataStock dataStock) 86 | { 87 | if (dataStock.Texture < 0) return null; 88 | if (ptr->Status != 4) throw new InvalidOperationException(ptr->Status.ToString()); 89 | 90 | ptr->ReadHandleReference.JobHandle.Complete(); 91 | if (ptr->ReadHandleReference.Status != ReadStatus.Complete) throw new Exception(); 92 | 93 | ptr->ReadHandleReference.Dispose(); 94 | UnsafeUtility.ReleaseGCObject(thumbnailHandle); 95 | thumbnailHandle = default; 96 | 97 | return CreateThumbnail(ref dataStock); 98 | } 99 | 100 | private Texture2D CreateThumbnail(ref QuickMetaStruct.DataStock dataStock) 101 | { 102 | var thumbnail = new Texture2D(2, 2); 103 | thumbnail.LoadImage(thumbnailBytes); 104 | thumbnail.name = new string((char*)dataStock.ThumbnailNamePtr, 0, dataStock.ThumbnailNameLength); 105 | thumbnailBytes = null; 106 | 107 | ptr->Status = 5; 108 | 109 | return thumbnail; 110 | } 111 | 112 | public void Dispose() 113 | { 114 | if (ptr != null) 115 | { 116 | ptr->Dispose(); 117 | UnsafeUtility.Free(ptr, Allocator.Persistent); 118 | } 119 | path = null; 120 | thumbnailBytes = null; 121 | if (thumbnailHandle != 0) 122 | { 123 | UnsafeUtility.ReleaseGCObject(thumbnailHandle); 124 | } 125 | } 126 | } 127 | } -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/JobMetaLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a43fb60d3d64b843885c765f876147d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/JobMetaLoaderInternal.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Unity.Collections; 3 | using Unity.Collections.LowLevel.Unsafe; 4 | using Unity.IO.LowLevel.Unsafe; 5 | using Unity.Jobs; 6 | using UnityEngine; 7 | using VRM.QuickMetaLoader.Model; 8 | using Debug = UnityEngine.Debug; 9 | 10 | namespace VRM.QuickMetaLoader 11 | { 12 | internal unsafe struct JobMetaLoaderInternal : IDisposable 13 | { 14 | public int Status; 15 | public int PathCharCount; 16 | public IntPtr Path; 17 | 18 | public IntPtr ReadCommandPtr; 19 | public ref ReadCommand ReadCommandReference => ref *(ReadCommand*)ReadCommandPtr; 20 | public IntPtr ReadHandlePtr; 21 | public ref ReadHandle ReadHandleReference => ref *(ReadHandle*)ReadHandlePtr; 22 | 23 | public IntPtr MagicBytePtr; 24 | public byte* MagicBytes => (byte*)MagicBytePtr; 25 | 26 | public IntPtr JsonPtr; 27 | public uint JsonLength; 28 | public byte* JsonBytes => (byte*)JsonPtr; 29 | 30 | public IntPtr InterpretMagicAndLoadJsonJobPtr; 31 | private ref InterpretMagicAndLoadJsonJob InterpretMagicAndLoadJsonJobReference => ref *(InterpretMagicAndLoadJsonJob*)InterpretMagicAndLoadJsonJobPtr; 32 | public JobHandle InterpretMagicAndLoadJsonJobHandle; 33 | 34 | public IntPtr InterpretMetaAndLoadBinaryJobPtr; 35 | private ref InterpretMetaAndLoadBinaryJob InterpretMetaAndLoadBinaryJobReference => ref *(InterpretMetaAndLoadBinaryJob*)InterpretMetaAndLoadBinaryJobPtr; 36 | public JobHandle InterpretMetaAndLoadBinaryJobHandle; 37 | 38 | public IntPtr QuickMetaStructDataStockPtr; 39 | public ref QuickMetaStruct.DataStock QuickMetaStructDataStockReference => ref *(QuickMetaStruct.DataStock*)QuickMetaStructDataStockPtr; 40 | 41 | public void Dispose() 42 | { 43 | if (Path != IntPtr.Zero) 44 | { 45 | UnsafeUtility.Free(Path.ToPointer(), Allocator.Persistent); 46 | } 47 | if (ReadCommandPtr != IntPtr.Zero) 48 | { 49 | UnsafeUtility.Free(ReadCommandPtr.ToPointer(), Allocator.Persistent); 50 | } 51 | if (ReadHandlePtr != IntPtr.Zero) 52 | { 53 | if (ReadHandleReference.IsValid()) 54 | { 55 | ReadHandleReference.Dispose(); 56 | } 57 | UnsafeUtility.Free(ReadHandlePtr.ToPointer(), Allocator.Persistent); 58 | } 59 | if (MagicBytePtr != IntPtr.Zero) 60 | { 61 | UnsafeUtility.Free(MagicBytes, Allocator.Persistent); 62 | } 63 | if (JsonPtr != IntPtr.Zero) 64 | { 65 | UnsafeUtility.Free(JsonBytes, Allocator.Persistent); 66 | } 67 | if (InterpretMagicAndLoadJsonJobPtr != IntPtr.Zero) 68 | { 69 | UnsafeUtility.Free(InterpretMagicAndLoadJsonJobPtr.ToPointer(), Allocator.Persistent); 70 | } 71 | if (QuickMetaStructDataStockPtr != IntPtr.Zero) 72 | { 73 | QuickMetaStructDataStockReference.Dispose(); 74 | UnsafeUtility.Free(QuickMetaStructDataStockPtr.ToPointer(), Allocator.Persistent); 75 | } 76 | } 77 | 78 | public static JobMetaLoaderInternal* Create(string path) 79 | { 80 | var answer = (JobMetaLoaderInternal*)UnsafeUtility.Malloc(sizeof(JobMetaLoaderInternal), 4, Allocator.Persistent); 81 | *answer = default; 82 | answer->Status = 1; 83 | InitializePath(path, answer); 84 | MallocStatus1(answer); 85 | StartReadMagicBytes(path, answer); 86 | ScheduleJob(answer); 87 | 88 | return answer; 89 | } 90 | 91 | private static void MallocStatus1(JobMetaLoaderInternal* answer) 92 | { 93 | answer->ReadCommandPtr = new IntPtr(UnsafeUtility.Malloc(sizeof(ReadCommand), 4, Allocator.Persistent)); 94 | answer->ReadHandlePtr = new IntPtr(UnsafeUtility.Malloc(sizeof(ReadHandle), 4, Allocator.Persistent)); 95 | answer->MagicBytePtr = new IntPtr(UnsafeUtility.Malloc(20, 4, Allocator.Persistent)); 96 | answer->InterpretMagicAndLoadJsonJobPtr = new IntPtr(UnsafeUtility.Malloc(sizeof(InterpretMagicAndLoadJsonJob), 4, Allocator.Persistent)); 97 | answer->InterpretMetaAndLoadBinaryJobPtr = new IntPtr(UnsafeUtility.Malloc(sizeof(InterpretMetaAndLoadBinaryJob), 4, Allocator.Persistent)); 98 | answer->QuickMetaStructDataStockPtr = new IntPtr(UnsafeUtility.Malloc(sizeof(QuickMetaStruct.DataStock), 4, Allocator.Persistent)); 99 | } 100 | 101 | private static void ScheduleJob(JobMetaLoaderInternal* answer) 102 | { 103 | answer->InterpretMagicAndLoadJsonJobHandle = (answer->InterpretMagicAndLoadJsonJobReference = new InterpretMagicAndLoadJsonJob(answer)).Schedule(answer->ReadHandleReference.JobHandle); 104 | answer->InterpretMetaAndLoadBinaryJobHandle = (answer->InterpretMetaAndLoadBinaryJobReference = new InterpretMetaAndLoadBinaryJob(answer)).Schedule(answer->InterpretMagicAndLoadJsonJobHandle); 105 | } 106 | 107 | private static void StartReadMagicBytes(string path, JobMetaLoaderInternal* answer) 108 | { 109 | answer->ReadCommandReference = new ReadCommand 110 | { 111 | Buffer = (void*)answer->MagicBytePtr, 112 | Offset = 0L, 113 | Size = 20L, 114 | }; 115 | answer->ReadHandleReference = AsyncReadManager.Read(path, (ReadCommand*)answer->ReadCommandPtr, 1); 116 | } 117 | 118 | private static void InitializePath(string path, JobMetaLoaderInternal* answer) 119 | { 120 | answer->PathCharCount = path.Length; 121 | answer->Path = new IntPtr(UnsafeUtility.Malloc(sizeof(char) * answer->PathCharCount, 2, Allocator.Persistent)); 122 | fixed (char* ptr = path) 123 | { 124 | UnsafeUtility.MemCpy((void*)answer->Path, ptr, answer->PathCharCount * sizeof(char)); 125 | } 126 | } 127 | 128 | public struct InterpretMetaAndLoadBinaryJob : IJob 129 | { 130 | private readonly IntPtr loader; 131 | private ref JobMetaLoaderInternal MetaLoader => ref *(JobMetaLoaderInternal*)loader; 132 | 133 | public InterpretMetaAndLoadBinaryJob(JobMetaLoaderInternal* loader) 134 | { 135 | this.loader = new IntPtr(loader); 136 | } 137 | 138 | public void Execute() 139 | { 140 | ref var handle = ref MetaLoader.ReadHandleReference; 141 | if (MetaLoader.Status != 2 || !handle.IsValid()) throw new Exception(); 142 | do 143 | { 144 | switch (handle.Status) 145 | { 146 | case ReadStatus.Complete: 147 | handle.Dispose(); 148 | break; 149 | case ReadStatus.Failed: 150 | throw new Exception("Read failed"); 151 | case ReadStatus.InProgress: 152 | continue; 153 | } 154 | break; 155 | } while (true); 156 | var bytes0 = MetaLoader.JsonBytes; 157 | var length0 = MetaLoader.JsonLength; 158 | 159 | if (!FindIndexOf___VRM___(ref bytes0, ref length0)) 160 | { 161 | throw new Exception(); 162 | } 163 | bytes0 += 7; 164 | length0 -= 7; 165 | 166 | var bytes1 = bytes0; 167 | var length1 = length0; 168 | if (!ReadExporterVersion(ref bytes0, ref length0, out var strSBytes0, out var strLength0) || !ReadMeta(ref bytes1, ref length1, out var strSBytes1, out var strLength1)) 169 | { 170 | throw new Exception(); 171 | } 172 | MetaLoader.QuickMetaStructDataStockReference = JsonUtility.FromJson(new string(strSBytes1, 0, strLength1)); 173 | ref var metaLoaderQuickMetaStructDataStockReference = ref MetaLoader.QuickMetaStructDataStockReference; 174 | (metaLoaderQuickMetaStructDataStockReference.ExporterVersionPtr, metaLoaderQuickMetaStructDataStockReference.ExporterVersionLength) = (new IntPtr(strSBytes0), strLength0); 175 | 176 | MetaLoader.Status = 3; 177 | 178 | var textureIndex = metaLoaderQuickMetaStructDataStockReference.Texture; 179 | if (textureIndex < 0) return; 180 | 181 | var bytes2 = MetaLoader.JsonBytes; 182 | var length2 = MetaLoader.JsonLength; 183 | 184 | if (!FindIndexOf___textures(bytes2, length2, textureIndex, out var start, out var byteLen)) 185 | throw new Exception(); 186 | var textureString = new string((sbyte*)start, 0, byteLen); 187 | var tex = JsonUtility.FromJson(textureString); 188 | 189 | if (!FindIndexOf___images(bytes2, length2, tex.source, out start, out byteLen)) 190 | throw new Exception(); 191 | var imageString = new string((sbyte*)start, 0, byteLen); 192 | var img = JsonUtility.FromJson(imageString); 193 | 194 | (metaLoaderQuickMetaStructDataStockReference.ThumbnailNamePtr, metaLoaderQuickMetaStructDataStockReference.ThumbnailNameLength) = img.name; 195 | 196 | if (!FindIndexOf___bufferViews(bytes2, length2, img.bufferView, out start, out byteLen)) 197 | throw new Exception(); 198 | var bufferViewString = new string((sbyte*)start, 0, byteLen); 199 | var bufferView = JsonUtility.FromJson(bufferViewString); 200 | 201 | metaLoaderQuickMetaStructDataStockReference.BinaryOffset = bufferView.byteOffset; 202 | metaLoaderQuickMetaStructDataStockReference.BinaryLength = bufferView.byteLength; 203 | } 204 | } 205 | 206 | public struct InterpretMagicAndLoadJsonJob : IJob 207 | { 208 | private readonly IntPtr loader; 209 | private ref JobMetaLoaderInternal MetaLoader => ref *(JobMetaLoaderInternal*)loader; 210 | 211 | public InterpretMagicAndLoadJsonJob(JobMetaLoaderInternal* loader) 212 | { 213 | this.loader = new IntPtr(loader); 214 | } 215 | 216 | public void Execute() 217 | { 218 | if (MetaLoader.Status != 1) throw new Exception("Status should be 1"); 219 | 220 | MetaLoader.ReadHandleReference.Dispose(); 221 | var uints = (uint*)MetaLoader.MagicBytes; 222 | if (*uints != 0x46546c67U) throw new Exception("Magic Word should be 'glTF'"); 223 | if (uints[1] != UniGLTF.glbImporter.GLB_VERSION) throw new Exception("Version mismatch"); 224 | if (uints[4] != 0x4e4f534aU) throw new Exception("Content-Type should be 'JSON'"); 225 | MetaLoader.JsonLength = uints[3]; 226 | UnsafeUtility.Free(MetaLoader.MagicBytes, Allocator.Persistent); 227 | MetaLoader.MagicBytePtr = IntPtr.Zero; 228 | 229 | MetaLoader.JsonPtr = new IntPtr(UnsafeUtility.Malloc(MetaLoader.JsonLength, 1, Allocator.Persistent)); 230 | var path = new string((char*)MetaLoader.Path, 0, MetaLoader.PathCharCount); 231 | MetaLoader.ReadCommandReference = new ReadCommand() 232 | { 233 | Buffer = MetaLoader.JsonBytes, 234 | Offset = 20, 235 | Size = MetaLoader.JsonLength, 236 | }; 237 | MetaLoader.ReadHandleReference = AsyncReadManager.Read(path, (ReadCommand*)MetaLoader.ReadCommandPtr, 1); 238 | 239 | MetaLoader.Status = 2; 240 | } 241 | } 242 | 243 | 244 | private static bool FindIndexOf___VRM___(ref byte* bytes, ref uint length) 245 | { 246 | if (!FindIndexOf(ref bytes, ref length, 0x4d525622, 0x3a22, 0x7b)) // "VRM ": { 247 | { 248 | Debug.LogWarning(@"'""VRM"":{' not found"); 249 | return false; 250 | } 251 | return true; 252 | } 253 | 254 | private static bool ReadMeta(ref byte* bytes, ref uint length, out sbyte* strSBytes, out int strLength) 255 | { 256 | strSBytes = default; 257 | strLength = default; 258 | if (!FindIndexOf___meta(ref bytes, ref length)) 259 | { 260 | return false; 261 | } 262 | bytes += 7; 263 | length -= 7; 264 | strSBytes = (sbyte*)bytes; 265 | var tmpLength = length; 266 | if (!FindIndexOf(ref bytes, ref length, 0x7d)) // } 267 | { 268 | return false; 269 | } 270 | strLength = (int)(tmpLength - length) + 1; 271 | bytes++; 272 | length--; 273 | return true; 274 | } 275 | 276 | private static bool FindIndexOf___meta(ref byte* bytes, ref uint length) 277 | { 278 | if (!FindIndexOf(ref bytes, ref length, 0x74656d22U, 0x2261, 0x3a)) // "meta": 279 | { 280 | Debug.LogWarning(@"'""meta"":' not found"); 281 | return false; 282 | } 283 | return true; 284 | } 285 | 286 | private static bool FindIndexOf___exporterVersion(ref byte* bytes, ref uint length) 287 | { 288 | if (!FindIndexOf(ref bytes, ref length, 0x6574726f70786522UL, 0x6e6f697372655672UL, 0x3a22, 0x22)) // "exporterVersion":" 289 | { 290 | Debug.LogWarning(@"'""exporterVersion"":""' not found"); 291 | return false; 292 | } 293 | return true; 294 | } 295 | 296 | private static bool ReadExporterVersion(ref byte* bytes, ref uint length, out sbyte* strSBytes, out int strLength) 297 | { 298 | strSBytes = default; 299 | strLength = default; 300 | if (!FindIndexOf___exporterVersion(ref bytes, ref length)) 301 | { 302 | return false; 303 | } 304 | bytes += 19; 305 | length -= 19; 306 | strSBytes = (sbyte*)bytes; 307 | var tmpLength = length; 308 | if (!FindIndexOf(ref bytes, ref length, 0x22)) 309 | { 310 | return false; 311 | } 312 | strLength = (int)(tmpLength - length); 313 | bytes++; 314 | length--; 315 | return true; 316 | } 317 | 318 | private static bool FindIndexOf(ref byte* bytes, ref uint length, ulong first8, uint second4, ushort third2, byte last) 319 | { 320 | const long count = 15L; 321 | for (; length >= count; bytes++, length--) 322 | { 323 | if (*(ulong*)bytes == first8 && *(uint*)(bytes + 8) == second4 && *(ushort*)(bytes + 12) == third2 && bytes[count - 1L] == last) 324 | { 325 | return true; 326 | } 327 | } 328 | return false; 329 | } 330 | 331 | private static bool FindIndexOf(ref byte* bytes, ref uint length, ulong first8, ulong second8, ushort third2, byte last) 332 | { 333 | const long count = 19L; 334 | for (; length >= count; bytes++, length--) 335 | { 336 | if (*(ulong*)bytes == first8 && *(ulong*)(bytes + 8) == second8 && *(ushort*)(bytes + 16) == third2 && bytes[count - 1L] == last) 337 | { 338 | return true; 339 | } 340 | } 341 | return false; 342 | } 343 | 344 | private static bool FindIndexOf(ref byte* bytes, ref uint length, uint first4, ushort second2, byte last) 345 | { 346 | const long count = 7L; 347 | for (; length >= count; bytes++, length--) 348 | { 349 | if (*(uint*)bytes == first4 && *(ushort*)(bytes + 4) == second2 && bytes[count - 1L] == last) 350 | { 351 | return true; 352 | } 353 | } 354 | return false; 355 | } 356 | 357 | private static bool FindIndexOf(ref byte* bytes, ref uint length, ulong first8, uint last) 358 | { 359 | for (; length >= 12L; bytes++, length--) 360 | { 361 | if (*(ulong*)bytes == first8 && *(uint*)(bytes + 8) == last) 362 | { 363 | return true; 364 | } 365 | } 366 | return false; 367 | } 368 | 369 | private static bool FindIndexOf(ref byte* bytes, ref uint length, ulong first8, ushort last) 370 | { 371 | for (; length >= 10L; bytes++, length--) 372 | { 373 | if (*(ulong*)bytes == first8 && *(ushort*)(bytes + 8) == last) 374 | { 375 | return true; 376 | } 377 | } 378 | return false; 379 | } 380 | 381 | private static bool FindIndexOf(ref byte* bytes, ref uint length, byte value) 382 | { 383 | for (; length >= 1L; bytes++, length--) 384 | { 385 | if (*bytes == value) 386 | { 387 | return true; 388 | } 389 | } 390 | return false; 391 | } 392 | 393 | private static bool ReadBinaryData(byte* bytes, uint length, out byte* binaryStart, out long binaryLength, out long chunkSize) 394 | { 395 | binaryStart = bytes; 396 | binaryLength = length; 397 | if (binaryLength < 4L) 398 | { 399 | chunkSize = default; 400 | return false; 401 | } 402 | chunkSize = *(int*)binaryStart; 403 | binaryStart += 4; 404 | binaryLength -= 4L; 405 | 406 | if (binaryLength < 4L) return false; 407 | var chunkTypeBytes = *(uint*)binaryStart; 408 | if (chunkTypeBytes != 0x4e4942) 409 | { 410 | Debug.LogWarning("unknown chunk type: " + new string((sbyte*)binaryStart, 0, 3)); 411 | return false; 412 | } 413 | binaryStart += 4; 414 | binaryLength -= 4L; 415 | return true; 416 | } 417 | 418 | private static bool FindIndexOf___bufferViews(byte* bytes, uint length, int imageIndex, out byte* start, out int byteLen) // "bufferViews":[ 419 | { 420 | start = default; 421 | byteLen = default; 422 | if (!FindIndexOf(ref bytes, ref length, 0x5672656666756222UL, (uint)0x73776569U, (ushort)0x3a22, (byte)0x5b)) // "bufferViews":[ 423 | { 424 | Debug.LogWarning(@"'""bufferViews"":[' not found"); 425 | return false; 426 | } 427 | return FindTargetIndexItem(bytes, length, imageIndex, ref start, ref byteLen); 428 | } 429 | private static bool FindIndexOf___images(byte* bytes, uint length, int imageIndex, out byte* start, out int byteLen) // "images":[ 430 | { 431 | start = default; 432 | byteLen = default; 433 | if (!FindIndexOf(ref bytes, ref length, 0x22736567616d6922UL, (ushort)0x5b3a)) // "images":[ 434 | { 435 | Debug.LogWarning(@"'""images"":[' not found"); 436 | return false; 437 | } 438 | return FindTargetIndexItem(bytes, length, imageIndex, ref start, ref byteLen); 439 | } 440 | private static bool FindIndexOf___textures(byte* bytes, uint length, int textureIndex, out byte* start, out int byteLen) // "textures":[ 441 | { 442 | start = default; 443 | byteLen = default; 444 | if (!FindIndexOf(ref bytes, ref length, 0x6572757478657422UL, 0x5b3a2273U)) // "textures":[ 445 | { 446 | Debug.LogWarning(@"'""textures"":[' not found"); 447 | return false; 448 | } 449 | return FindTargetIndexItem(bytes, length, textureIndex, ref start, ref byteLen); 450 | } 451 | 452 | private static bool FindTargetIndexItem(byte* bytes, uint length, int index, ref byte* start, ref int byteLen) 453 | { 454 | for (var i = 0; i <= index; i++) 455 | { 456 | if (!FindIndexOf(ref bytes, ref length, (byte)'{')) 457 | { 458 | return false; 459 | } 460 | start = bytes; 461 | bytes++; 462 | length--; 463 | } 464 | if (!FindIndexOf(ref bytes, ref length, (byte)'}')) 465 | { 466 | return false; 467 | } 468 | byteLen = (int)(new IntPtr(bytes).ToInt64() - new IntPtr(start).ToInt64() + 1); 469 | return true; 470 | } 471 | } 472 | } -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/JobMetaLoaderInternal.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29407b14f3f39da4b964acc98148f785 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/MetaLoader.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Unity.Collections.LowLevel.Unsafe; 3 | using UnityEngine; 4 | 5 | namespace VRM.QuickMetaLoader 6 | { 7 | public sealed class MetaLoader : IDisposable, IMetaLoader 8 | { 9 | private MetaLoaderInternal metaLoader; 10 | private ulong handle; 11 | 12 | public unsafe MetaLoader(byte[] array) 13 | { 14 | metaLoader = new MetaLoaderInternal((byte*)UnsafeUtility.PinGCArrayAndGetDataAddress(array, out handle), array.LongLength); 15 | } 16 | 17 | public VRMMetaObject Read() 18 | { 19 | var meta = ScriptableObject.CreateInstance(); 20 | metaLoader.Read(meta, false); 21 | return meta; 22 | } 23 | 24 | public VRMMetaObject Read(bool createThumbnail) 25 | { 26 | var meta = ScriptableObject.CreateInstance(); 27 | metaLoader.Read(meta, createThumbnail); 28 | return meta; 29 | } 30 | 31 | public Texture2D LoadThumbnail() => metaLoader.LoadThumbnail(); 32 | 33 | public void Dispose() 34 | { 35 | if (handle == 0) return; 36 | UnsafeUtility.ReleaseGCObject(handle); 37 | handle = default; 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/MetaLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cac0b00d32d13ce4c88638d6503890d1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/MetaLoaderInternal.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using Unity.Collections.LowLevel.Unsafe; 5 | using UnityEngine; 6 | using VRM.QuickMetaLoader.Model; 7 | 8 | namespace VRM.QuickMetaLoader 9 | { 10 | public unsafe struct MetaLoaderInternal 11 | { 12 | private byte* bytes; 13 | private long length; 14 | private byte* binaryStart; 15 | private long binaryRestLength; 16 | private long binaryChunkSize; 17 | private int texture; 18 | 19 | public MetaLoaderInternal(byte* bytes, long length) 20 | { 21 | if (bytes == null) throw new ArgumentNullException(); 22 | if (length <= 0) throw new ArgumentOutOfRangeException(length + " : length shouldn't be minus!"); 23 | this = default; 24 | this.bytes = bytes; 25 | this.length = length; 26 | } 27 | 28 | private bool Initialize() 29 | { 30 | return ValidateMagicWords(ref bytes, ref length) && 31 | ValidateVersion(ref bytes, ref length) && 32 | ReadTotalLength(ref bytes, ref length, out _) && 33 | ReadChunkLength(ref bytes, ref length, out var chunkLength) && 34 | ValidateChunkTypeWhetherToBeJson(ref bytes, ref length) && 35 | ReadBinaryData(bytes + chunkLength, length - chunkLength, out binaryStart, out binaryRestLength, out binaryChunkSize); 36 | } 37 | 38 | public bool Read(VRMMetaObject metaObject, bool createThumbnail = false) 39 | { 40 | if (!Initialize()) throw new ArgumentException(); 41 | 42 | var bytes0 = bytes; 43 | var length0 = length; 44 | if (!FindIndexOf___VRM___(ref bytes0, ref length0)) throw new InvalidDataException(); 45 | bytes0 += 7; 46 | length0 -= 7; 47 | var bytes1 = bytes0; 48 | var length1 = length0; 49 | if (!ReadExporterVersion(ref bytes0, ref length0, out var strSBytes0, out var strLength0)) 50 | return false; 51 | if (!ReadMeta(ref bytes1, ref length1, out var strSBytes1, out var strLength1)) 52 | return false; 53 | metaObject.ExporterVersion = new string(strSBytes0, 0, strLength0); 54 | var metaString = new string(strSBytes1, 0, strLength1); 55 | var QMeta = JsonUtility.FromJson(metaString); 56 | QMeta.PushMeta(ref metaObject); 57 | texture = QMeta.texture; 58 | 59 | if (createThumbnail) 60 | { 61 | metaObject.Thumbnail = LoadThumbnail(); 62 | } 63 | 64 | return true; 65 | } 66 | 67 | public Texture2D LoadThumbnail() 68 | { 69 | if (texture < 0) return null; 70 | var kvp = LoadThumbnailBin(texture); 71 | 72 | var thumbnail = new Texture2D(2, 2); 73 | thumbnail.LoadImage(kvp.Value); 74 | thumbnail.name = kvp.Key; 75 | 76 | return thumbnail; 77 | } 78 | 79 | private KeyValuePair LoadThumbnailBin(int textureIndex) 80 | { 81 | if (!FindIndexOf___textures(bytes, length, textureIndex, out var start, out var byteLen)) 82 | throw new Exception(); 83 | var textureString = new string((sbyte*)start, 0, byteLen); 84 | var tex = JsonUtility.FromJson(textureString); 85 | 86 | 87 | if (!FindIndexOf___images(bytes, length, tex.source, out start, out byteLen)) 88 | throw new Exception(); 89 | var imageString = new string((sbyte*)start, 0, byteLen); 90 | var img = JsonUtility.FromJson(imageString); 91 | 92 | if (!FindIndexOf___bufferViews(bytes, length, img.bufferView, out start, out byteLen)) 93 | throw new Exception(); 94 | var bufferViewString = new string((sbyte*)start, 0, byteLen); 95 | var bufferView = JsonUtility.FromJson(bufferViewString); 96 | 97 | var buffer = new byte[bufferView.byteLength]; 98 | fixed (byte* dest = &buffer[0]) 99 | { 100 | UnsafeUtility.MemCpy(dest, binaryStart + bufferView.byteOffset, bufferView.byteLength); 101 | } 102 | 103 | return new KeyValuePair(img.name, buffer); 104 | } 105 | 106 | 107 | private static bool ReadMeta(ref byte* bytes, ref long length, out sbyte* strSBytes, out int strLength) 108 | { 109 | strSBytes = default; 110 | strLength = default; 111 | if (!FindIndexOf___meta(ref bytes, ref length)) 112 | { 113 | return false; 114 | } 115 | bytes += 7; 116 | length -= 7L; 117 | strSBytes = (sbyte*)bytes; 118 | var tmpLength = length; 119 | if (!FindIndexOf(ref bytes, ref length, 0x7d)) // } 120 | { 121 | return false; 122 | } 123 | strLength = (int)(tmpLength - length) + 1; 124 | bytes++; 125 | length--; 126 | return true; 127 | } 128 | 129 | private static bool FindIndexOf___meta(ref byte* bytes, ref long length) 130 | { 131 | if (!FindIndexOf(ref bytes, ref length, 0x74656d22U, 0x2261, 0x3a)) // "meta": 132 | { 133 | Debug.LogWarning(@"'""meta"":' not found"); 134 | return false; 135 | } 136 | return true; 137 | } 138 | 139 | 140 | private static bool FindIndexOf___bufferViews(byte* bytes, long length, int imageIndex, out byte* start, out int byteLen) // "bufferViews":[ 141 | { 142 | start = default; 143 | byteLen = default; 144 | if (!FindIndexOf(ref bytes, ref length, 0x5672656666756222UL, (uint)0x73776569U, (ushort)0x3a22, (byte)0x5b)) // "bufferViews":[ 145 | { 146 | Debug.LogWarning(@"'""bufferViews"":[' not found"); 147 | return false; 148 | } 149 | return 抜粋(bytes, length, imageIndex, ref start, ref byteLen); 150 | } 151 | private static bool FindIndexOf___images(byte* bytes, long length, int imageIndex, out byte* start, out int byteLen) // "images":[ 152 | { 153 | start = default; 154 | byteLen = default; 155 | if (!FindIndexOf(ref bytes, ref length, 0x22736567616d6922UL, (ushort)0x5b3a)) // "images":[ 156 | { 157 | Debug.LogWarning(@"'""images"":[' not found"); 158 | return false; 159 | } 160 | return 抜粋(bytes, length, imageIndex, ref start, ref byteLen); 161 | } 162 | private static bool FindIndexOf___textures(byte* bytes, long length, int textureIndex, out byte* start, out int byteLen) // "textures":[ 163 | { 164 | start = default; 165 | byteLen = default; 166 | if (!FindIndexOf(ref bytes, ref length, 0x6572757478657422UL, 0x5b3a2273U)) // "textures":[ 167 | { 168 | Debug.LogWarning(@"'""textures"":[' not found"); 169 | return false; 170 | } 171 | return 抜粋(bytes, length, textureIndex, ref start, ref byteLen); 172 | } 173 | 174 | private static bool 抜粋(byte* bytes, long length, int index, ref byte* start, ref int byteLen) 175 | { 176 | for (var i = 0; i <= index; i++) 177 | { 178 | if (!FindIndexOf(ref bytes, ref length, (byte)'{')) 179 | { 180 | return false; 181 | } 182 | start = bytes; 183 | bytes++; 184 | length--; 185 | } 186 | if (!FindIndexOf(ref bytes, ref length, (byte)'}')) 187 | { 188 | return false; 189 | } 190 | byteLen = (int)(new IntPtr(bytes).ToInt64() - new IntPtr(start).ToInt64() + 1); 191 | return true; 192 | } 193 | 194 | private static bool FindIndexOf___VRM___(ref byte* bytes, ref long length) 195 | { 196 | if (!FindIndexOf(ref bytes, ref length, 0x4d525622, 0x3a22, 0x7b)) // "VRM ": { 197 | { 198 | Debug.LogWarning(@"'""VRM"":{' not found"); 199 | return false; 200 | } 201 | return true; 202 | } 203 | 204 | private static bool FindIndexOf___exporterVersion(ref byte* bytes, ref long length) 205 | { 206 | if (!FindIndexOf(ref bytes, ref length, 0x6574726f70786522UL, 0x6e6f697372655672UL, 0x3a22, 0x22)) // "exporterVersion":" 207 | { 208 | Debug.LogWarning(@"'""exporterVersion"":""' not found"); 209 | return false; 210 | } 211 | return true; 212 | } 213 | 214 | private static bool ReadExporterVersion(ref byte* bytes, ref long length, out sbyte* strSBytes, out int strLength) 215 | { 216 | strSBytes = default; 217 | strLength = default; 218 | if (!FindIndexOf___exporterVersion(ref bytes, ref length)) 219 | { 220 | return false; 221 | } 222 | bytes += 19; 223 | length -= 19L; 224 | strSBytes = (sbyte*)bytes; 225 | var tmpLength = length; 226 | if (!FindIndexOf(ref bytes, ref length, 0x22)) 227 | { 228 | return false; 229 | } 230 | strLength = (int)(tmpLength - length); 231 | bytes++; 232 | length--; 233 | return true; 234 | } 235 | 236 | private static bool FindIndexOf(ref byte* bytes, ref long length, ulong first8, uint second4, ushort third2, byte last) 237 | { 238 | const long count = 15L; 239 | for (; length >= count; bytes++, length--) 240 | { 241 | if (*(ulong*)bytes == first8 && *(uint*)(bytes + 8) == second4 && *(ushort*)(bytes + 12) == third2 && bytes[count - 1L] == last) 242 | { 243 | return true; 244 | } 245 | } 246 | return false; 247 | } 248 | 249 | private static bool FindIndexOf(ref byte* bytes, ref long length, ulong first8, ulong second8, ushort third2, byte last) 250 | { 251 | const long count = 19L; 252 | for (; length >= count; bytes++, length--) 253 | { 254 | if (*(ulong*)bytes == first8 && *(ulong*)(bytes + 8) == second8 && *(ushort*)(bytes + 16) == third2 && bytes[count - 1L] == last) 255 | { 256 | return true; 257 | } 258 | } 259 | return false; 260 | } 261 | 262 | private static bool FindIndexOf(ref byte* bytes, ref long length, uint first4, ushort second2, byte last) 263 | { 264 | const long count = 7L; 265 | for (; length >= count; bytes++, length--) 266 | { 267 | if (*(uint*)bytes == first4 && *(ushort*)(bytes + 4) == second2 && bytes[count - 1L] == last) 268 | { 269 | return true; 270 | } 271 | } 272 | return false; 273 | } 274 | 275 | private static bool FindIndexOf(ref byte* bytes, ref long length, ulong first8, uint last) 276 | { 277 | for (; length >= 12L; bytes++, length--) 278 | { 279 | if (*(ulong*)bytes == first8 && *(uint*)(bytes + 8) == last) 280 | { 281 | return true; 282 | } 283 | } 284 | return false; 285 | } 286 | 287 | private static bool FindIndexOf(ref byte* bytes, ref long length, ulong first8, ushort last) 288 | { 289 | for (; length >= 10L; bytes++, length--) 290 | { 291 | if (*(ulong*)bytes == first8 && *(ushort*)(bytes + 8) == last) 292 | { 293 | return true; 294 | } 295 | } 296 | return false; 297 | } 298 | 299 | private static bool FindIndexOf(ref byte* bytes, ref long length, byte value) 300 | { 301 | for (; length >= 1L; bytes++, length--) 302 | { 303 | if (*bytes == value) 304 | { 305 | return true; 306 | } 307 | } 308 | return false; 309 | } 310 | 311 | private static bool ReadBinaryData(byte* bytes, long length, out byte* binaryStart, out long binaryLength, out long chunkSize) 312 | { 313 | binaryStart = bytes; 314 | binaryLength = length; 315 | if (binaryLength < 4L) 316 | { 317 | chunkSize = default; 318 | return false; 319 | } 320 | chunkSize = *(int*)binaryStart; 321 | binaryStart += 4; 322 | binaryLength -= 4L; 323 | 324 | if (binaryLength < 4L) return false; 325 | var chunkTypeBytes = *(uint*)binaryStart; 326 | if (chunkTypeBytes != 0x4e4942) 327 | { 328 | Debug.LogWarning("unknown chunk type: " + new string((sbyte*)binaryStart, 0, 3)); 329 | return false; 330 | } 331 | binaryStart += 4; 332 | binaryLength -= 4L; 333 | return true; 334 | } 335 | 336 | private static bool ValidateChunkTypeWhetherToBeJson(ref byte* bytes, ref long length) 337 | { 338 | if (length < 4) 339 | { 340 | Debug.LogWarning("Contents should contain chunk type name"); 341 | return false; 342 | } 343 | if (*(uint*)bytes != 0x4e4f534a) 344 | { 345 | Debug.LogWarning("unknown chunk type:" + new string((sbyte*)bytes, 0, 4)); 346 | return false; 347 | } 348 | bytes += 4; 349 | length -= 4L; 350 | return true; 351 | } 352 | 353 | private static bool ReadChunkLength(ref byte* bytes, ref long length, out uint chunkLength) 354 | { 355 | if (length < 4) 356 | { 357 | Debug.LogWarning("Contents should contain chunk length"); 358 | chunkLength = default; 359 | return false; 360 | } 361 | chunkLength = *(uint*)bytes; 362 | bytes += 4; 363 | length -= 4L; 364 | return true; 365 | } 366 | 367 | private static bool ReadTotalLength(ref byte* bytes, ref long length, out uint totalLength) 368 | { 369 | if (length < 4) 370 | { 371 | Debug.LogWarning("Contents should contain total length"); 372 | totalLength = default; 373 | return false; 374 | } 375 | totalLength = *(uint*)bytes; 376 | bytes += 4; 377 | length -= 4L; 378 | return true; 379 | } 380 | 381 | private static bool ValidateVersion(ref byte* bytes, ref long length) 382 | { 383 | if (length < 4) 384 | { 385 | Debug.LogWarning("Contents should contain version number"); 386 | return false; 387 | } 388 | if (*(uint*)bytes != UniGLTF.glbImporter.GLB_VERSION) 389 | { 390 | Debug.LogWarning("Unknown Version: " + *(uint*)bytes); 391 | } 392 | bytes += 4; 393 | length -= 4L; 394 | return true; 395 | } 396 | 397 | private static bool ValidateMagicWords(ref byte* bytes, ref long length) 398 | { 399 | if (length < 4) 400 | { 401 | Debug.LogWarning("Contents should contain MAGIC BYTES!"); 402 | return false; 403 | } 404 | if (*(uint*)bytes != 0x46546c67) 405 | { 406 | Debug.LogWarning("MAGIC BYTES is different from original bytes."); 407 | return false; 408 | } 409 | bytes += 4; 410 | length -= 4L; 411 | return true; 412 | } 413 | } 414 | } -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/MetaLoaderInternal.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06910c0e5594a0847b290b3990e36e95 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/Model.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18633f7807da4d9babbfb937580bd893 3 | timeCreated: 1566262752 -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/Model/GltfModels.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace VRM.QuickMetaLoader.Model 4 | { 5 | [Serializable] 6 | public class GltfTextureModel 7 | { 8 | public int sampler; 9 | public int source; 10 | } 11 | 12 | [Serializable] 13 | public class GltfImageModel 14 | { 15 | public string name; 16 | public int bufferView; 17 | public string mimeType; 18 | } 19 | 20 | [Serializable] 21 | public class GltfBufferViewModel 22 | { 23 | public int buffer; 24 | public int byteOffset; 25 | public int byteLength; 26 | public int target; 27 | } 28 | } -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/Model/GltfModels.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 31a82761ae054e9db871e867945960e6 3 | timeCreated: 1566271181 -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/Model/QuickMetaObject.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace VRM.QuickMetaLoader.Model 4 | { 5 | [Serializable] 6 | public class QuickMetaObject 7 | { 8 | #region Info 9 | public string title; 10 | public string version; 11 | public string author; 12 | public string contactInformation; 13 | public string reference; 14 | #endregion 15 | 16 | #region Permission 17 | public string allowedUserName; 18 | public string violentUssageName; 19 | public string sexualUssageName; 20 | public string commercialUssageName; 21 | public string otherPermissionUrl; 22 | #endregion 23 | 24 | #region Distribution License 25 | public string licenseName; 26 | 27 | public string otherLicenseUrl; 28 | #endregion 29 | 30 | public int texture; 31 | 32 | public void PushMeta(ref VRMMetaObject meta) 33 | { 34 | meta.Version = version; // model version 35 | meta.Author = author; 36 | meta.ContactInformation = contactInformation; 37 | meta.Reference = reference; 38 | meta.Title = title; 39 | meta.AllowedUser = allowedUserName.ParseAllowedUser(); 40 | meta.ViolentUssage = violentUssageName.ParseUssageLicense(); 41 | meta.SexualUssage = sexualUssageName.ParseUssageLicense(); 42 | meta.CommercialUssage = commercialUssageName.ParseUssageLicense(); 43 | meta.OtherPermissionUrl = otherPermissionUrl; 44 | 45 | meta.LicenseType = licenseName.ParseLicenseType(); 46 | meta.OtherLicenseUrl = otherLicenseUrl; 47 | } 48 | } 49 | 50 | 51 | } -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/Model/QuickMetaObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67708c3585c642069fed6b8a1da78bf4 3 | timeCreated: 1566262768 -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/QuickMetaStruct.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Text; 3 | using Unity.Collections; 4 | using Unity.Collections.LowLevel.Unsafe; 5 | 6 | namespace VRM.QuickMetaLoader.Model 7 | { 8 | [Serializable] 9 | public unsafe struct QuickMetaStruct 10 | { 11 | public struct DataStock : IDisposable 12 | { 13 | public IntPtr ExporterVersionPtr; 14 | public int ExporterVersionLength; 15 | 16 | public IntPtr TitlePtr; 17 | public int TitleLength; 18 | 19 | public IntPtr VersionPtr; 20 | public int VersionLength; 21 | 22 | public IntPtr AuthorPtr; 23 | public int AuthorLength; 24 | 25 | public IntPtr ContactInformationPtr; 26 | public int ContactInformationLength; 27 | 28 | public IntPtr ReferencePtr; 29 | public int ReferenceLength; 30 | 31 | public IntPtr OtherPermissionUrlPtr; 32 | public int OtherPermissionUrlLength; 33 | 34 | public IntPtr OtherLicenseUrlPtr; 35 | public int OtherLicenseUrlLength; 36 | 37 | public IntPtr ThumbnailNamePtr; 38 | public int ThumbnailNameLength; 39 | 40 | public int Texture; 41 | public AllowedUser AllowedUser; 42 | public UssageLicense ViolentUssage; 43 | public UssageLicense SexualUssage; 44 | public UssageLicense CommercialUssage; 45 | public LicenseType License; 46 | 47 | public int BinaryOffset; 48 | public int BinaryLength; 49 | 50 | public void Dispose() 51 | { 52 | if (TitlePtr != IntPtr.Zero) 53 | UnsafeUtility.Free(TitlePtr.ToPointer(), Allocator.Persistent); 54 | if (VersionPtr != IntPtr.Zero) 55 | UnsafeUtility.Free(VersionPtr.ToPointer(), Allocator.Persistent); 56 | if (AuthorPtr != IntPtr.Zero) 57 | UnsafeUtility.Free(AuthorPtr.ToPointer(), Allocator.Persistent); 58 | if (ContactInformationPtr != IntPtr.Zero) 59 | UnsafeUtility.Free(ContactInformationPtr.ToPointer(), Allocator.Persistent); 60 | if (ReferencePtr != IntPtr.Zero) 61 | UnsafeUtility.Free(ReferencePtr.ToPointer(), Allocator.Persistent); 62 | if (OtherPermissionUrlPtr != IntPtr.Zero) 63 | UnsafeUtility.Free(OtherPermissionUrlPtr.ToPointer(), Allocator.Persistent); 64 | if (OtherLicenseUrlPtr != IntPtr.Zero) 65 | UnsafeUtility.Free(OtherLicenseUrlPtr.ToPointer(), Allocator.Persistent); 66 | if (ThumbnailNamePtr != IntPtr.Zero) 67 | UnsafeUtility.Free(ThumbnailNamePtr.ToPointer(), Allocator.Persistent); 68 | //if (ExporterVersionPtr != IntPtr.Zero) 69 | // UnsafeUtility.Free(ExporterVersionPtr.ToPointer(), Allocator.Persistent); 70 | } 71 | 72 | private static string Construct(IntPtr ptr, int length) 73 | { 74 | if (ptr == IntPtr.Zero || length <= 0) 75 | return ""; 76 | return new string((char*)ptr, 0, length); 77 | } 78 | 79 | public void PushMeta(VRMMetaObject metaObject) 80 | { 81 | metaObject.AllowedUser = AllowedUser; 82 | metaObject.CommercialUssage = CommercialUssage; 83 | metaObject.SexualUssage = SexualUssage; 84 | metaObject.ViolentUssage = ViolentUssage; 85 | metaObject.LicenseType = License; 86 | metaObject.Title = Construct(TitlePtr, TitleLength); 87 | metaObject.Author = Construct(AuthorPtr, AuthorLength); 88 | metaObject.ContactInformation = Construct(ContactInformationPtr, ContactInformationLength); 89 | metaObject.Reference = Construct(ReferencePtr, ReferenceLength); 90 | metaObject.Version = Construct(VersionPtr, VersionLength); 91 | metaObject.OtherLicenseUrl = Construct(OtherLicenseUrlPtr, OtherLicenseUrlLength); 92 | metaObject.OtherPermissionUrl = Construct(OtherPermissionUrlPtr, OtherPermissionUrlLength); 93 | metaObject.ExporterVersion = ExporterVersionPtr == IntPtr.Zero || ExporterVersionLength == 0 ? "" : Encoding.UTF8.GetString((byte*)ExporterVersionPtr, ExporterVersionLength); 94 | } 95 | } 96 | 97 | #region Info 98 | public string title; 99 | public string version; 100 | public string author; 101 | public string contactInformation; 102 | public string reference; 103 | #endregion 104 | 105 | #region Permission 106 | public string allowedUserName; 107 | public string violentUssageName; 108 | public string sexualUssageName; 109 | public string commercialUssageName; 110 | public string otherPermissionUrl; 111 | #endregion 112 | 113 | #region Distribution License 114 | public string licenseName; 115 | 116 | public string otherLicenseUrl; 117 | #endregion 118 | 119 | public int texture; 120 | 121 | public static implicit operator DataStock(QuickMetaStruct from) 122 | { 123 | DataStock meta; 124 | meta.AllowedUser = from.allowedUserName.ParseAllowedUser(); 125 | meta.ViolentUssage = from.violentUssageName.ParseUssageLicense(); 126 | meta.SexualUssage = from.sexualUssageName.ParseUssageLicense(); 127 | meta.CommercialUssage = from.commercialUssageName.ParseUssageLicense(); 128 | meta.License = from.licenseName.ParseLicenseType(); 129 | (meta.TitlePtr, meta.TitleLength) = from.title; 130 | (meta.AuthorPtr, meta.AuthorLength) = from.author; 131 | (meta.ContactInformationPtr, meta.ContactInformationLength) = from.contactInformation; 132 | (meta.OtherLicenseUrlPtr, meta.OtherLicenseUrlLength) = from.otherLicenseUrl; 133 | (meta.OtherPermissionUrlPtr, meta.OtherPermissionUrlLength) = from.otherPermissionUrl; 134 | (meta.ReferencePtr, meta.ReferenceLength) = from.reference; 135 | (meta.VersionPtr, meta.VersionLength) = from.version; 136 | meta.Texture = from.texture; 137 | (meta.ExporterVersionPtr, meta.ExporterVersionLength) = (default, default); 138 | meta.BinaryLength = default; 139 | meta.BinaryOffset = default; 140 | (meta.ThumbnailNamePtr, meta.ThumbnailNameLength) = (default, default); 141 | return meta; 142 | } 143 | } 144 | } -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/QuickMetaStruct.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75c1940650eb17a4cb9651669356bcde 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/StringDeconstructHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Unity.Collections; 3 | using Unity.Collections.LowLevel.Unsafe; 4 | 5 | namespace VRM.QuickMetaLoader.Model 6 | { 7 | internal static class StringDeconstructHelper 8 | { 9 | public static unsafe void Deconstruct(this string text, out IntPtr charPtr, out int charCount) 10 | { 11 | if (string.IsNullOrEmpty(text)) 12 | { 13 | charCount = default; 14 | charPtr = default; 15 | } 16 | var ptr = new IntPtr(UnsafeUtility.Malloc(2 * text.Length, 2, Allocator.Persistent)); 17 | fixed (char* src = text) 18 | { 19 | UnsafeUtility.MemCpy(ptr.ToPointer(), src, 2 * text.Length); 20 | } 21 | charCount = text.Length; 22 | charPtr = ptr; 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Assets/VRM.QuickMetaLoader/Scripts/StringDeconstructHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 543ee8e8e661d6b49a43f134beb3c20a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Docs/images/demo_ss01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m2wasabi/VRMQuickMetaLoader/2db8c3e68e63aee55627c8dbd06bf7ac6df76aef/Docs/images/demo_ss01.png -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 m2wasabi 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.package-manager-ui": "2.0.7", 4 | "com.unity.textmeshpro": "1.4.1", 5 | "com.unity.modules.ai": "1.0.0", 6 | "com.unity.modules.animation": "1.0.0", 7 | "com.unity.modules.assetbundle": "1.0.0", 8 | "com.unity.modules.audio": "1.0.0", 9 | "com.unity.modules.cloth": "1.0.0", 10 | "com.unity.modules.director": "1.0.0", 11 | "com.unity.modules.imageconversion": "1.0.0", 12 | "com.unity.modules.imgui": "1.0.0", 13 | "com.unity.modules.jsonserialize": "1.0.0", 14 | "com.unity.modules.particlesystem": "1.0.0", 15 | "com.unity.modules.physics": "1.0.0", 16 | "com.unity.modules.physics2d": "1.0.0", 17 | "com.unity.modules.screencapture": "1.0.0", 18 | "com.unity.modules.terrain": "1.0.0", 19 | "com.unity.modules.terrainphysics": "1.0.0", 20 | "com.unity.modules.tilemap": "1.0.0", 21 | "com.unity.modules.ui": "1.0.0", 22 | "com.unity.modules.uielements": "1.0.0", 23 | "com.unity.modules.umbra": "1.0.0", 24 | "com.unity.modules.unityanalytics": "1.0.0", 25 | "com.unity.modules.unitywebrequest": "1.0.0", 26 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 27 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 28 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 29 | "com.unity.modules.unitywebrequestwww": "1.0.0", 30 | "com.unity.modules.vehicles": "1.0.0", 31 | "com.unity.modules.video": "1.0.0", 32 | "com.unity.modules.vr": "1.0.0", 33 | "com.unity.modules.wind": "1.0.0", 34 | "com.unity.modules.xr": "1.0.0" 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /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 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /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: 8 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 | -------------------------------------------------------------------------------- /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: 7 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInPlayMode: 1 24 | -------------------------------------------------------------------------------- /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: 12 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 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} 39 | m_PreloadedShaders: [] 40 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 41 | type: 0} 42 | m_CustomRenderPipeline: {fileID: 0} 43 | m_TransparencySortMode: 0 44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 45 | m_DefaultRenderingPath: 1 46 | m_DefaultMobileRenderingPath: 1 47 | m_TierSettings: [] 48 | m_LightmapStripping: 0 49 | m_FogStripping: 0 50 | m_InstancingStripping: 0 51 | m_LightmapKeepPlain: 1 52 | m_LightmapKeepDirCombined: 1 53 | m_LightmapKeepDynamicPlain: 1 54 | m_LightmapKeepDynamicDirCombined: 1 55 | m_LightmapKeepShadowMask: 1 56 | m_LightmapKeepSubtractive: 1 57 | m_FogKeepLinear: 1 58 | m_FogKeepExp: 1 59 | m_FogKeepExp2: 1 60 | m_AlbedoSwatchInfos: [] 61 | m_LightsUseLinearIntensity: 0 62 | m_LightsUseColorTemperature: 0 63 | -------------------------------------------------------------------------------- /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/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/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_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_ReuseCollisionCallbacks: 1 28 | m_AutoSyncTransforms: 0 29 | m_AlwaysShowColliders: 0 30 | m_ShowColliderSleep: 1 31 | m_ShowColliderContacts: 0 32 | m_ShowColliderAABB: 0 33 | m_ContactArrowScale: 0.2 34 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 35 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 36 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 37 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 38 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 39 | -------------------------------------------------------------------------------- /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 | m_DefaultList: 7 | - type: 8 | m_NativeTypeID: 108 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea, 13 | type: 2} 14 | - type: 15 | m_NativeTypeID: 1020 16 | m_ManagedTypePPtr: {fileID: 0} 17 | m_ManagedTypeFallback: 18 | defaultPresets: 19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6, 20 | type: 2} 21 | - type: 22 | m_NativeTypeID: 1006 23 | m_ManagedTypePPtr: {fileID: 0} 24 | m_ManagedTypeFallback: 25 | defaultPresets: 26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9, 27 | type: 2} 28 | -------------------------------------------------------------------------------- /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: 15 7 | productGUID: 15ee32da99ae7da499f626f58e1b4c42 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: MetaLoaderSpeedTest 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 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | iosAppInBackgroundBehavior: 0 56 | displayResolutionDialog: 1 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidStartInFullscreen: 1 67 | androidRenderOutsideSafeArea: 0 68 | androidBlitType: 0 69 | defaultIsNativeResolution: 1 70 | macRetinaSupport: 1 71 | runInBackground: 1 72 | captureSingleScreen: 0 73 | muteOtherAudioSources: 0 74 | Prepare IOS For Recording: 0 75 | Force IOS Speakers When Recording: 0 76 | deferSystemGesturesMode: 0 77 | hideHomeButton: 0 78 | submitAnalytics: 1 79 | usePlayerLog: 1 80 | bakeCollisionMeshes: 0 81 | forceSingleInstance: 0 82 | resizableWindow: 0 83 | useMacAppStoreValidation: 0 84 | macAppStoreCategory: public.app-category.games 85 | gpuSkinning: 1 86 | graphicsJobs: 0 87 | xboxPIXTextureCapture: 0 88 | xboxEnableAvatar: 0 89 | xboxEnableKinect: 0 90 | xboxEnableKinectAutoTracking: 0 91 | xboxEnableFitness: 0 92 | visibleInBackground: 1 93 | allowFullscreenSwitch: 1 94 | graphicsJobMode: 0 95 | fullscreenMode: 1 96 | xboxSpeechDB: 0 97 | xboxEnableHeadOrientation: 0 98 | xboxEnableGuest: 0 99 | xboxEnablePIXSampling: 0 100 | metalFramebufferOnly: 0 101 | xboxOneResolution: 0 102 | xboxOneSResolution: 0 103 | xboxOneXResolution: 3 104 | xboxOneMonoLoggingLevel: 0 105 | xboxOneLoggingLevel: 1 106 | xboxOneDisableEsram: 0 107 | xboxOnePresentImmediateThreshold: 0 108 | switchQueueCommandMemory: 0 109 | switchQueueControlMemory: 16384 110 | switchQueueComputeMemory: 262144 111 | switchNVNShaderPoolsGranularity: 33554432 112 | switchNVNDefaultPoolsGranularity: 16777216 113 | switchNVNOtherPoolsGranularity: 16777216 114 | vulkanEnableSetSRGBWrite: 0 115 | m_SupportedAspectRatios: 116 | 4:3: 1 117 | 5:4: 1 118 | 16:10: 1 119 | 16:9: 1 120 | Others: 1 121 | bundleVersion: 0.1 122 | preloadedAssets: [] 123 | metroInputSource: 0 124 | wsaTransparentSwapchain: 0 125 | m_HolographicPauseOnTrackingLoss: 1 126 | xboxOneDisableKinectGpuReservation: 1 127 | xboxOneEnable7thCore: 1 128 | isWsaHolographicRemotingEnabled: 0 129 | vrSettings: 130 | cardboard: 131 | depthFormat: 0 132 | enableTransitionView: 0 133 | daydream: 134 | depthFormat: 0 135 | useSustainedPerformanceMode: 0 136 | enableVideoLayer: 0 137 | useProtectedVideoMemory: 0 138 | minimumSupportedHeadTracking: 0 139 | maximumSupportedHeadTracking: 1 140 | hololens: 141 | depthFormat: 1 142 | depthBufferSharingEnabled: 1 143 | oculus: 144 | sharedDepthBuffer: 1 145 | dashSupport: 1 146 | enable360StereoCapture: 0 147 | protectGraphicsMemory: 0 148 | enableFrameTimingStats: 0 149 | useHDRDisplay: 0 150 | m_ColorGamuts: 00000000 151 | targetPixelDensity: 30 152 | resolutionScalingMode: 0 153 | androidSupportedAspectRatio: 1 154 | androidMaxAspectRatio: 2.1 155 | applicationIdentifier: {} 156 | buildNumber: {} 157 | AndroidBundleVersionCode: 1 158 | AndroidMinSdkVersion: 16 159 | AndroidTargetSdkVersion: 0 160 | AndroidPreferredInstallLocation: 1 161 | aotOptions: 162 | stripEngineCode: 1 163 | iPhoneStrippingLevel: 0 164 | iPhoneScriptCallOptimization: 0 165 | ForceInternetPermission: 0 166 | ForceSDCardPermission: 0 167 | CreateWallpaper: 0 168 | APKExpansionFiles: 0 169 | keepLoadedShadersAlive: 0 170 | StripUnusedMeshComponents: 1 171 | VertexChannelCompressionMask: 4054 172 | iPhoneSdkVersion: 988 173 | iOSTargetOSVersionString: 9.0 174 | tvOSSdkVersion: 0 175 | tvOSRequireExtendedGameController: 0 176 | tvOSTargetOSVersionString: 9.0 177 | uIPrerenderedIcon: 0 178 | uIRequiresPersistentWiFi: 0 179 | uIRequiresFullScreen: 1 180 | uIStatusBarHidden: 1 181 | uIExitOnSuspend: 0 182 | uIStatusBarStyle: 0 183 | iPhoneSplashScreen: {fileID: 0} 184 | iPhoneHighResSplashScreen: {fileID: 0} 185 | iPhoneTallHighResSplashScreen: {fileID: 0} 186 | iPhone47inSplashScreen: {fileID: 0} 187 | iPhone55inPortraitSplashScreen: {fileID: 0} 188 | iPhone55inLandscapeSplashScreen: {fileID: 0} 189 | iPhone58inPortraitSplashScreen: {fileID: 0} 190 | iPhone58inLandscapeSplashScreen: {fileID: 0} 191 | iPadPortraitSplashScreen: {fileID: 0} 192 | iPadHighResPortraitSplashScreen: {fileID: 0} 193 | iPadLandscapeSplashScreen: {fileID: 0} 194 | iPadHighResLandscapeSplashScreen: {fileID: 0} 195 | appleTVSplashScreen: {fileID: 0} 196 | appleTVSplashScreen2x: {fileID: 0} 197 | tvOSSmallIconLayers: [] 198 | tvOSSmallIconLayers2x: [] 199 | tvOSLargeIconLayers: [] 200 | tvOSLargeIconLayers2x: [] 201 | tvOSTopShelfImageLayers: [] 202 | tvOSTopShelfImageLayers2x: [] 203 | tvOSTopShelfImageWideLayers: [] 204 | tvOSTopShelfImageWideLayers2x: [] 205 | iOSLaunchScreenType: 0 206 | iOSLaunchScreenPortrait: {fileID: 0} 207 | iOSLaunchScreenLandscape: {fileID: 0} 208 | iOSLaunchScreenBackgroundColor: 209 | serializedVersion: 2 210 | rgba: 0 211 | iOSLaunchScreenFillPct: 100 212 | iOSLaunchScreenSize: 100 213 | iOSLaunchScreenCustomXibPath: 214 | iOSLaunchScreeniPadType: 0 215 | iOSLaunchScreeniPadImage: {fileID: 0} 216 | iOSLaunchScreeniPadBackgroundColor: 217 | serializedVersion: 2 218 | rgba: 0 219 | iOSLaunchScreeniPadFillPct: 100 220 | iOSLaunchScreeniPadSize: 100 221 | iOSLaunchScreeniPadCustomXibPath: 222 | iOSUseLaunchScreenStoryboard: 0 223 | iOSLaunchScreenCustomStoryboardPath: 224 | iOSDeviceRequirements: [] 225 | iOSURLSchemes: [] 226 | iOSBackgroundModes: 0 227 | iOSMetalForceHardShadows: 0 228 | metalEditorSupport: 1 229 | metalAPIValidation: 1 230 | iOSRenderExtraFrameOnPause: 0 231 | appleDeveloperTeamID: 232 | iOSManualSigningProvisioningProfileID: 233 | tvOSManualSigningProvisioningProfileID: 234 | iOSManualSigningProvisioningProfileType: 0 235 | tvOSManualSigningProvisioningProfileType: 0 236 | appleEnableAutomaticSigning: 0 237 | iOSRequireARKit: 0 238 | iOSAutomaticallyDetectAndAddCapabilities: 1 239 | appleEnableProMotion: 0 240 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 241 | templatePackageId: com.unity.template.3d@1.3.0 242 | templateDefaultScene: Assets/Scenes/SampleScene.unity 243 | AndroidTargetArchitectures: 5 244 | AndroidSplashScreenScale: 0 245 | androidSplashScreen: {fileID: 0} 246 | AndroidKeystoreName: 247 | AndroidKeyaliasName: 248 | AndroidBuildApkPerCpuArchitecture: 0 249 | AndroidTVCompatibility: 1 250 | AndroidIsGame: 1 251 | AndroidEnableTango: 0 252 | androidEnableBanner: 1 253 | androidUseLowAccuracyLocation: 0 254 | m_AndroidBanners: 255 | - width: 320 256 | height: 180 257 | banner: {fileID: 0} 258 | androidGamepadSupportLevel: 0 259 | resolutionDialogBanner: {fileID: 0} 260 | m_BuildTargetIcons: [] 261 | m_BuildTargetPlatformIcons: [] 262 | m_BuildTargetBatching: 263 | - m_BuildTarget: Standalone 264 | m_StaticBatching: 1 265 | m_DynamicBatching: 0 266 | - m_BuildTarget: tvOS 267 | m_StaticBatching: 1 268 | m_DynamicBatching: 0 269 | - m_BuildTarget: Android 270 | m_StaticBatching: 1 271 | m_DynamicBatching: 0 272 | - m_BuildTarget: iPhone 273 | m_StaticBatching: 1 274 | m_DynamicBatching: 0 275 | - m_BuildTarget: WebGL 276 | m_StaticBatching: 0 277 | m_DynamicBatching: 0 278 | m_BuildTargetGraphicsAPIs: 279 | - m_BuildTarget: AndroidPlayer 280 | m_APIs: 0b00000008000000 281 | m_Automatic: 1 282 | - m_BuildTarget: iOSSupport 283 | m_APIs: 10000000 284 | m_Automatic: 1 285 | - m_BuildTarget: AppleTVSupport 286 | m_APIs: 10000000 287 | m_Automatic: 0 288 | - m_BuildTarget: WebGLSupport 289 | m_APIs: 0b000000 290 | m_Automatic: 1 291 | m_BuildTargetVRSettings: 292 | - m_BuildTarget: Standalone 293 | m_Enabled: 0 294 | m_Devices: 295 | - Oculus 296 | - OpenVR 297 | m_BuildTargetEnableVuforiaSettings: [] 298 | openGLRequireES31: 0 299 | openGLRequireES31AEP: 0 300 | m_TemplateCustomTags: {} 301 | mobileMTRendering: 302 | Android: 1 303 | iPhone: 1 304 | tvOS: 1 305 | m_BuildTargetGroupLightmapEncodingQuality: [] 306 | m_BuildTargetGroupLightmapSettings: [] 307 | playModeTestRunnerEnabled: 0 308 | runPlayModeTestAsEditModeTest: 0 309 | actionOnDotNetUnhandledException: 1 310 | enableInternalProfiler: 0 311 | logObjCUncaughtExceptions: 1 312 | enableCrashReportAPI: 0 313 | cameraUsageDescription: 314 | locationUsageDescription: 315 | microphoneUsageDescription: 316 | switchNetLibKey: 317 | switchSocketMemoryPoolSize: 6144 318 | switchSocketAllocatorPoolSize: 128 319 | switchSocketConcurrencyLimit: 14 320 | switchScreenResolutionBehavior: 2 321 | switchUseCPUProfiler: 0 322 | switchApplicationID: 0x01004b9000490000 323 | switchNSODependencies: 324 | switchTitleNames_0: 325 | switchTitleNames_1: 326 | switchTitleNames_2: 327 | switchTitleNames_3: 328 | switchTitleNames_4: 329 | switchTitleNames_5: 330 | switchTitleNames_6: 331 | switchTitleNames_7: 332 | switchTitleNames_8: 333 | switchTitleNames_9: 334 | switchTitleNames_10: 335 | switchTitleNames_11: 336 | switchTitleNames_12: 337 | switchTitleNames_13: 338 | switchTitleNames_14: 339 | switchPublisherNames_0: 340 | switchPublisherNames_1: 341 | switchPublisherNames_2: 342 | switchPublisherNames_3: 343 | switchPublisherNames_4: 344 | switchPublisherNames_5: 345 | switchPublisherNames_6: 346 | switchPublisherNames_7: 347 | switchPublisherNames_8: 348 | switchPublisherNames_9: 349 | switchPublisherNames_10: 350 | switchPublisherNames_11: 351 | switchPublisherNames_12: 352 | switchPublisherNames_13: 353 | switchPublisherNames_14: 354 | switchIcons_0: {fileID: 0} 355 | switchIcons_1: {fileID: 0} 356 | switchIcons_2: {fileID: 0} 357 | switchIcons_3: {fileID: 0} 358 | switchIcons_4: {fileID: 0} 359 | switchIcons_5: {fileID: 0} 360 | switchIcons_6: {fileID: 0} 361 | switchIcons_7: {fileID: 0} 362 | switchIcons_8: {fileID: 0} 363 | switchIcons_9: {fileID: 0} 364 | switchIcons_10: {fileID: 0} 365 | switchIcons_11: {fileID: 0} 366 | switchIcons_12: {fileID: 0} 367 | switchIcons_13: {fileID: 0} 368 | switchIcons_14: {fileID: 0} 369 | switchSmallIcons_0: {fileID: 0} 370 | switchSmallIcons_1: {fileID: 0} 371 | switchSmallIcons_2: {fileID: 0} 372 | switchSmallIcons_3: {fileID: 0} 373 | switchSmallIcons_4: {fileID: 0} 374 | switchSmallIcons_5: {fileID: 0} 375 | switchSmallIcons_6: {fileID: 0} 376 | switchSmallIcons_7: {fileID: 0} 377 | switchSmallIcons_8: {fileID: 0} 378 | switchSmallIcons_9: {fileID: 0} 379 | switchSmallIcons_10: {fileID: 0} 380 | switchSmallIcons_11: {fileID: 0} 381 | switchSmallIcons_12: {fileID: 0} 382 | switchSmallIcons_13: {fileID: 0} 383 | switchSmallIcons_14: {fileID: 0} 384 | switchManualHTML: 385 | switchAccessibleURLs: 386 | switchLegalInformation: 387 | switchMainThreadStackSize: 1048576 388 | switchPresenceGroupId: 389 | switchLogoHandling: 0 390 | switchReleaseVersion: 0 391 | switchDisplayVersion: 1.0.0 392 | switchStartupUserAccount: 0 393 | switchTouchScreenUsage: 0 394 | switchSupportedLanguagesMask: 0 395 | switchLogoType: 0 396 | switchApplicationErrorCodeCategory: 397 | switchUserAccountSaveDataSize: 0 398 | switchUserAccountSaveDataJournalSize: 0 399 | switchApplicationAttribute: 0 400 | switchCardSpecSize: -1 401 | switchCardSpecClock: -1 402 | switchRatingsMask: 0 403 | switchRatingsInt_0: 0 404 | switchRatingsInt_1: 0 405 | switchRatingsInt_2: 0 406 | switchRatingsInt_3: 0 407 | switchRatingsInt_4: 0 408 | switchRatingsInt_5: 0 409 | switchRatingsInt_6: 0 410 | switchRatingsInt_7: 0 411 | switchRatingsInt_8: 0 412 | switchRatingsInt_9: 0 413 | switchRatingsInt_10: 0 414 | switchRatingsInt_11: 0 415 | switchLocalCommunicationIds_0: 416 | switchLocalCommunicationIds_1: 417 | switchLocalCommunicationIds_2: 418 | switchLocalCommunicationIds_3: 419 | switchLocalCommunicationIds_4: 420 | switchLocalCommunicationIds_5: 421 | switchLocalCommunicationIds_6: 422 | switchLocalCommunicationIds_7: 423 | switchParentalControl: 0 424 | switchAllowsScreenshot: 1 425 | switchAllowsVideoCapturing: 1 426 | switchAllowsRuntimeAddOnContentInstall: 0 427 | switchDataLossConfirmation: 0 428 | switchUserAccountLockEnabled: 0 429 | switchSystemResourceMemory: 16777216 430 | switchSupportedNpadStyles: 3 431 | switchNativeFsCacheSize: 32 432 | switchIsHoldTypeHorizontal: 0 433 | switchSupportedNpadCount: 8 434 | switchSocketConfigEnabled: 0 435 | switchTcpInitialSendBufferSize: 32 436 | switchTcpInitialReceiveBufferSize: 64 437 | switchTcpAutoSendBufferSizeMax: 256 438 | switchTcpAutoReceiveBufferSizeMax: 256 439 | switchUdpSendBufferSize: 9 440 | switchUdpReceiveBufferSize: 42 441 | switchSocketBufferEfficiency: 4 442 | switchSocketInitializeEnabled: 1 443 | switchNetworkInterfaceManagerInitializeEnabled: 1 444 | switchPlayerConnectionEnabled: 1 445 | ps4NPAgeRating: 12 446 | ps4NPTitleSecret: 447 | ps4NPTrophyPackPath: 448 | ps4ParentalLevel: 11 449 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 450 | ps4Category: 0 451 | ps4MasterVersion: 01.00 452 | ps4AppVersion: 01.00 453 | ps4AppType: 0 454 | ps4ParamSfxPath: 455 | ps4VideoOutPixelFormat: 0 456 | ps4VideoOutInitialWidth: 1920 457 | ps4VideoOutBaseModeInitialWidth: 1920 458 | ps4VideoOutReprojectionRate: 60 459 | ps4PronunciationXMLPath: 460 | ps4PronunciationSIGPath: 461 | ps4BackgroundImagePath: 462 | ps4StartupImagePath: 463 | ps4StartupImagesFolder: 464 | ps4IconImagesFolder: 465 | ps4SaveDataImagePath: 466 | ps4SdkOverride: 467 | ps4BGMPath: 468 | ps4ShareFilePath: 469 | ps4ShareOverlayImagePath: 470 | ps4PrivacyGuardImagePath: 471 | ps4NPtitleDatPath: 472 | ps4RemotePlayKeyAssignment: -1 473 | ps4RemotePlayKeyMappingDir: 474 | ps4PlayTogetherPlayerCount: 0 475 | ps4EnterButtonAssignment: 1 476 | ps4ApplicationParam1: 0 477 | ps4ApplicationParam2: 0 478 | ps4ApplicationParam3: 0 479 | ps4ApplicationParam4: 0 480 | ps4DownloadDataSize: 0 481 | ps4GarlicHeapSize: 2048 482 | ps4ProGarlicHeapSize: 2560 483 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 484 | ps4pnSessions: 1 485 | ps4pnPresence: 1 486 | ps4pnFriends: 1 487 | ps4pnGameCustomData: 1 488 | playerPrefsSupport: 0 489 | enableApplicationExit: 0 490 | resetTempFolder: 1 491 | restrictedAudioUsageRights: 0 492 | ps4UseResolutionFallback: 0 493 | ps4ReprojectionSupport: 0 494 | ps4UseAudio3dBackend: 0 495 | ps4SocialScreenEnabled: 0 496 | ps4ScriptOptimizationLevel: 0 497 | ps4Audio3dVirtualSpeakerCount: 14 498 | ps4attribCpuUsage: 0 499 | ps4PatchPkgPath: 500 | ps4PatchLatestPkgPath: 501 | ps4PatchChangeinfoPath: 502 | ps4PatchDayOne: 0 503 | ps4attribUserManagement: 0 504 | ps4attribMoveSupport: 0 505 | ps4attrib3DSupport: 0 506 | ps4attribShareSupport: 0 507 | ps4attribExclusiveVR: 0 508 | ps4disableAutoHideSplash: 0 509 | ps4videoRecordingFeaturesUsed: 0 510 | ps4contentSearchFeaturesUsed: 0 511 | ps4attribEyeToEyeDistanceSettingVR: 0 512 | ps4IncludedModules: [] 513 | monoEnv: 514 | splashScreenBackgroundSourceLandscape: {fileID: 0} 515 | splashScreenBackgroundSourcePortrait: {fileID: 0} 516 | spritePackerPolicy: 517 | webGLMemorySize: 256 518 | webGLExceptionSupport: 1 519 | webGLNameFilesAsHashes: 0 520 | webGLDataCaching: 1 521 | webGLDebugSymbols: 0 522 | webGLEmscriptenArgs: 523 | webGLModulesDirectory: 524 | webGLTemplate: APPLICATION:Default 525 | webGLAnalyzeBuildSize: 0 526 | webGLUseEmbeddedResources: 0 527 | webGLCompressionFormat: 1 528 | webGLLinkerTarget: 1 529 | webGLThreadsSupport: 0 530 | scriptingDefineSymbols: {} 531 | platformArchitecture: {} 532 | scriptingBackend: {} 533 | il2cppCompilerConfiguration: {} 534 | managedStrippingLevel: {} 535 | incrementalIl2cppBuild: {} 536 | allowUnsafeCode: 0 537 | additionalIl2CppArgs: 538 | scriptingRuntimeVersion: 1 539 | apiCompatibilityLevelPerPlatform: {} 540 | m_RenderingPath: 1 541 | m_MobileRenderingPath: 1 542 | metroPackageName: Template_3D 543 | metroPackageVersion: 544 | metroCertificatePath: 545 | metroCertificatePassword: 546 | metroCertificateSubject: 547 | metroCertificateIssuer: 548 | metroCertificateNotAfter: 0000000000000000 549 | metroApplicationDescription: Template_3D 550 | wsaImages: {} 551 | metroTileShortName: 552 | metroTileShowName: 0 553 | metroMediumTileShowName: 0 554 | metroLargeTileShowName: 0 555 | metroWideTileShowName: 0 556 | metroSupportStreamingInstall: 0 557 | metroLastRequiredScene: 0 558 | metroDefaultTileSize: 1 559 | metroTileForegroundText: 2 560 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 561 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 562 | a: 1} 563 | metroSplashScreenUseBackgroundColor: 0 564 | platformCapabilities: {} 565 | metroTargetDeviceFamilies: {} 566 | metroFTAName: 567 | metroFTAFileTypes: [] 568 | metroProtocolName: 569 | metroCompilationOverrides: 1 570 | XboxOneProductId: 571 | XboxOneUpdateKey: 572 | XboxOneSandboxId: 573 | XboxOneContentId: 574 | XboxOneTitleId: 575 | XboxOneSCId: 576 | XboxOneGameOsOverridePath: 577 | XboxOnePackagingOverridePath: 578 | XboxOneAppManifestOverridePath: 579 | XboxOneVersion: 1.0.0.0 580 | XboxOnePackageEncryption: 0 581 | XboxOnePackageUpdateGranularity: 2 582 | XboxOneDescription: 583 | XboxOneLanguage: 584 | - enus 585 | XboxOneCapability: [] 586 | XboxOneGameRating: {} 587 | XboxOneIsContentPackage: 0 588 | XboxOneEnableGPUVariability: 1 589 | XboxOneSockets: {} 590 | XboxOneSplashScreen: {fileID: 0} 591 | XboxOneAllowedProductIds: [] 592 | XboxOnePersistentLocalStorageSize: 0 593 | XboxOneXTitleMemory: 8 594 | xboxOneScriptCompiler: 1 595 | XboxOneOverrideIdentityName: 596 | vrEditorSettings: 597 | daydream: 598 | daydreamIconForeground: {fileID: 0} 599 | daydreamIconBackground: {fileID: 0} 600 | cloudServicesEnabled: 601 | UNet: 1 602 | luminIcon: 603 | m_Name: 604 | m_ModelFolderPath: 605 | m_PortalFolderPath: 606 | luminCert: 607 | m_CertPath: 608 | m_PrivateKeyPath: 609 | luminIsChannelApp: 0 610 | luminVersion: 611 | m_VersionCode: 1 612 | m_VersionName: 613 | facebookSdkVersion: 7.9.4 614 | facebookAppId: 615 | facebookCookies: 1 616 | facebookLogging: 1 617 | facebookStatus: 1 618 | facebookXfbml: 0 619 | facebookFrictionlessRequests: 1 620 | apiCompatibilityLevel: 6 621 | cloudProjectId: 622 | framebufferDepthMemorylessMode: 0 623 | projectName: 624 | organizationId: 625 | cloudEnabled: 0 626 | enableNativePlatformBackendsForNewInputSystem: 0 627 | disableOldInputManagerSupport: 0 628 | legacyClampBlendShapeWeights: 0 629 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.4.6f1 2 | -------------------------------------------------------------------------------- /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: 4 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 | particleRaycastBudget: 4 33 | asyncUploadTimeSlice: 2 34 | asyncUploadBufferSize: 16 35 | resolutionScalingFixedDPIFactor: 1 36 | excludedTargetPlatforms: [] 37 | - serializedVersion: 2 38 | name: Low 39 | pixelLightCount: 0 40 | shadows: 0 41 | shadowResolution: 0 42 | shadowProjection: 1 43 | shadowCascades: 1 44 | shadowDistance: 20 45 | shadowNearPlaneOffset: 3 46 | shadowCascade2Split: 0.33333334 47 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 48 | shadowmaskMode: 0 49 | blendWeights: 2 50 | textureQuality: 0 51 | anisotropicTextures: 0 52 | antiAliasing: 0 53 | softParticles: 0 54 | softVegetation: 0 55 | realtimeReflectionProbes: 0 56 | billboardsFaceCameraPosition: 0 57 | vSyncCount: 0 58 | lodBias: 0.4 59 | maximumLODLevel: 0 60 | particleRaycastBudget: 16 61 | asyncUploadTimeSlice: 2 62 | asyncUploadBufferSize: 16 63 | resolutionScalingFixedDPIFactor: 1 64 | excludedTargetPlatforms: [] 65 | - serializedVersion: 2 66 | name: Medium 67 | pixelLightCount: 1 68 | shadows: 1 69 | shadowResolution: 0 70 | shadowProjection: 1 71 | shadowCascades: 1 72 | shadowDistance: 20 73 | shadowNearPlaneOffset: 3 74 | shadowCascade2Split: 0.33333334 75 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 76 | shadowmaskMode: 0 77 | blendWeights: 2 78 | textureQuality: 0 79 | anisotropicTextures: 1 80 | antiAliasing: 0 81 | softParticles: 0 82 | softVegetation: 0 83 | realtimeReflectionProbes: 0 84 | billboardsFaceCameraPosition: 0 85 | vSyncCount: 1 86 | lodBias: 0.7 87 | maximumLODLevel: 0 88 | particleRaycastBudget: 64 89 | asyncUploadTimeSlice: 2 90 | asyncUploadBufferSize: 16 91 | resolutionScalingFixedDPIFactor: 1 92 | excludedTargetPlatforms: [] 93 | - serializedVersion: 2 94 | name: High 95 | pixelLightCount: 2 96 | shadows: 2 97 | shadowResolution: 1 98 | shadowProjection: 1 99 | shadowCascades: 2 100 | shadowDistance: 40 101 | shadowNearPlaneOffset: 3 102 | shadowCascade2Split: 0.33333334 103 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 104 | shadowmaskMode: 1 105 | blendWeights: 2 106 | textureQuality: 0 107 | anisotropicTextures: 1 108 | antiAliasing: 2 109 | softParticles: 0 110 | softVegetation: 1 111 | realtimeReflectionProbes: 1 112 | billboardsFaceCameraPosition: 1 113 | vSyncCount: 1 114 | lodBias: 1 115 | maximumLODLevel: 0 116 | particleRaycastBudget: 256 117 | asyncUploadTimeSlice: 2 118 | asyncUploadBufferSize: 16 119 | resolutionScalingFixedDPIFactor: 1 120 | excludedTargetPlatforms: [] 121 | - serializedVersion: 2 122 | name: Very High 123 | pixelLightCount: 3 124 | shadows: 2 125 | shadowResolution: 2 126 | shadowProjection: 1 127 | shadowCascades: 2 128 | shadowDistance: 40 129 | shadowNearPlaneOffset: 3 130 | shadowCascade2Split: 0.33333334 131 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 132 | shadowmaskMode: 1 133 | blendWeights: 4 134 | textureQuality: 0 135 | anisotropicTextures: 1 136 | antiAliasing: 4 137 | softParticles: 1 138 | softVegetation: 1 139 | realtimeReflectionProbes: 1 140 | billboardsFaceCameraPosition: 1 141 | vSyncCount: 1 142 | lodBias: 1.5 143 | maximumLODLevel: 0 144 | particleRaycastBudget: 1024 145 | asyncUploadTimeSlice: 2 146 | asyncUploadBufferSize: 16 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Ultra 151 | pixelLightCount: 4 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 4 156 | shadowDistance: 150 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: 1 164 | antiAliasing: 4 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 2 171 | maximumLODLevel: 0 172 | particleRaycastBudget: 4096 173 | asyncUploadTimeSlice: 2 174 | asyncUploadBufferSize: 16 175 | resolutionScalingFixedDPIFactor: 1 176 | excludedTargetPlatforms: [] 177 | m_PerPlatformDefaultQuality: 178 | Android: 2 179 | Nintendo 3DS: 5 180 | Nintendo Switch: 5 181 | PS4: 5 182 | PSP2: 2 183 | Standalone: 5 184 | Tizen: 2 185 | WebGL: 3 186 | WiiU: 5 187 | Windows Store Apps: 5 188 | XboxOne: 5 189 | iPhone: 2 190 | tvOS: 2 191 | -------------------------------------------------------------------------------- /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 | - PostProcessing 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.1 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_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /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_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # VRMQuickMetaLoader 2 | load quick VRM.Meta information 3 | 4 | ![Demo](Docs/images/demo_ss01.png) 5 | 6 | ## Usage 7 | 8 | ### Just Simple. 9 | 10 | ```csharp 11 | var bytes = File.ReadAllBytes(file); 12 | VRMMetaObject meta; 13 | using(var metaLoader = new VRM.QuickMetaLoader.MetaLoader(bytes, false)) 14 | { 15 | meta = metaLoader.Read(); 16 | } 17 | ``` 18 | 19 | And, you got VRMMetaObject with thumbnail. 20 | 21 | ### Thumbnail on your hands 22 | 23 | ```csharp 24 | var bytes = File.ReadAllBytes(file); 25 | using(var metaLoader = new VRM.QuickMetaLoader.MetaLoader(bytes)) 26 | { 27 | VRMMetaObject meta = metaLoader.Read(); 28 | 29 | // some process... 30 | 31 | Texture2D thumbnail = metaLoader.LoadThumbnail(); 32 | } 33 | ``` 34 | 35 | ### Job Read 36 | 37 | You can also use AsyncReadManager Read. 38 | 39 | ```csharp 40 | using(var metaLoader = new JobMetaLoader(file, preloadThumbnail: true)) 41 | { 42 | VRMMetaObject meta = metaLoader.Read(); 43 | 44 | // some process... 45 | 46 | meta.Thumbnail = metaLoader.LoadThumbnail(); 47 | } 48 | ``` 49 | 50 | ## License 51 | 52 | MIT License 53 | 54 | ## Download 55 | 56 | Go [GitHub Release page](https://github.com/m2wasabi/VRMQuickMetaLoader/releases) 57 | and get .unitypackage 58 | 59 | ## Dependencies 60 | 61 | + UniVRM 0.53.0 : [https://github.com/vrm-c/UniVRM/releases](https://github.com/vrm-c/UniVRM/releases) 62 | 63 | ## Also recommended 64 | 65 | + VRMLoaderUI : [https://github.com/m2wasabi/VRMLoaderUI](https://github.com/m2wasabi/VRMLoaderUI) 66 | --------------------------------------------------------------------------------