├── Screenshot.png ├── ProjectSettings ├── ProjectVersion.txt ├── ClusterInputManager.asset ├── PresetManager.asset ├── XRSettings.asset ├── VersionControlSettings.asset ├── TimeManager.asset ├── EditorBuildSettings.asset ├── VFXManager.asset ├── AudioManager.asset ├── RiderScriptEditorPersistedState.asset ├── TagManager.asset ├── UnityConnectSettings.asset ├── EditorSettings.asset ├── PackageManagerSettings.asset ├── DynamicsManager.asset ├── MemorySettings.asset ├── NavMeshAreas.asset ├── Physics2DSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── QualitySettings.asset └── ProjectSettings.asset ├── Assets ├── Packages.meta └── Packages │ ├── RawVATGenerator │ ├── LICENSE.meta │ ├── package.json.meta │ ├── Editor.meta │ ├── Scripts.meta │ ├── Shader.meta │ ├── RawVATGenerator.asmdef.meta │ ├── Editor │ │ ├── VATGeneratorEditor.asmdef.meta │ │ ├── VATGeneratorEditor.cs.meta │ │ ├── VATGeneratorEditor.asmdef │ │ └── VATGeneratorEditor.cs │ ├── Shader │ │ ├── VAT.cginc.meta │ │ ├── VAT_Standard.shader.meta │ │ ├── VAT_Unlit.shader.meta │ │ ├── VAT_VisNormal.shader.meta │ │ ├── VAT_Unlit(Instanced).shader.meta │ │ ├── VAT_Standard(Instanced).shader.meta │ │ ├── VAT.cginc │ │ ├── VAT_Standard.shader │ │ ├── VAT_Standard(Instanced).shader │ │ ├── VAT_Unlit.shader │ │ ├── VAT_VisNormal.shader │ │ └── VAT_Unlit(Instanced).shader │ ├── Scripts │ │ ├── VATShader.cs.meta │ │ ├── VertexAnimationTexture.cs.meta │ │ ├── VATShader.cs │ │ └── VertexAnimationTexture.cs │ ├── RawVATGenerator.asmdef │ ├── package.json │ └── LICENSE │ └── RawVATGenerator.meta ├── .idea └── .idea.Unity_RawVATGenerator │ └── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── indexLayout.xml │ └── .gitignore ├── README.md ├── .gitignore ├── LICENSE └── Packages ├── manifest.json └── packages-lock.json /Screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XJINE/Unity_RawVATGenerator/HEAD/Screenshot.png -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2022.3.46f1 2 | m_EditorVersionWithRevision: 2022.3.46f1 (8e9b8558c41a) 3 | -------------------------------------------------------------------------------- /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/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /Assets/Packages.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81cc96566208b6a42a878de396f0f023 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/LICENSE.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c84303f7328ff7544887ce991817a782 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /.idea/.idea.Unity_RawVATGenerator/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8f8fa320585edc4eb34faf1a61cccfd 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0330edbf0be52584b823366176ba8af4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /.idea/.idea.Unity_RawVATGenerator/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd7b8ddaa90c52f449744bd6e59264b6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 669ae68efa4579b4299dfde6cbb67c4c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76d31b7c9e29b6b419385ae222b59c0e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/RawVATGenerator.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b062323f875f6f44a061bffd1d90dce 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Editor/VATGeneratorEditor.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47df9c439dc3cbd41aa5c2649c30c60c 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /.idea/.idea.Unity_RawVATGenerator/.idea/indexLayout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Shader/VAT.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e220bd475a8129544b708f0c3129d035 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Shader/VAT_Standard.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3659c3c9530c6dd409bb1d61b8f79ae2 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Shader/VAT_Unlit.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c039d887cdfe4993a9ac2a013e71e85 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Shader/VAT_VisNormal.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e96e56f3b6d5c540b4050dc171efd47 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Shader/VAT_Unlit(Instanced).shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46a53e60a8d362e4c80429c27899d9c0 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Shader/VAT_Standard(Instanced).shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab732f69573a3ea46a25a7557c313500 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/New Scene.unity 10 | guid: 328dffdef88617e42bf36d38fe5ca730 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Scripts/VATShader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66ce9ec32c5891446853e4209ef85a82 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Editor/VATGeneratorEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff0653ce93f12194ea39cc742d1402cb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Scripts/VertexAnimationTexture.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e163aaccf58137647957162427d5847f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /.idea/.idea.Unity_RawVATGenerator/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Rider ignored files 5 | /projectSettingsUpdater.xml 6 | /contentModel.xml 7 | /.idea.Unity_RawVATGenerator.iml 8 | /modules.xml 9 | # Datasource local storage ignored files 10 | /dataSources/ 11 | /dataSources.local.xml 12 | # Editor-based HTTP Client requests 13 | /httpRequests/ 14 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/RawVATGenerator.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VATGenerator", 3 | "rootNamespace": "", 4 | "references": [ 5 | "GUID:478a2357cc57436488a56e564b08d223" 6 | ], 7 | "includePlatforms": [], 8 | "excludePlatforms": [], 9 | "allowUnsafeCode": false, 10 | "overrideReferences": false, 11 | "precompiledReferences": [], 12 | "autoReferenced": true, 13 | "defineConstraints": [], 14 | "versionDefines": [], 15 | "noEngineReferences": false 16 | } -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "com.xjine.raw_vat_generator", 3 | "displayName": "Raw VAT Generator", 4 | "version" : "1.0.2", 5 | "unity" : "2021.3", 6 | "description": "Generate VAT, NormalTex, Material, and Prefab from animated model.", 7 | "author" : 8 | { 9 | "name": "XJINE", 10 | "url" : "https://github.com/XJINE" 11 | }, 12 | "keywords": 13 | [ 14 | ], 15 | "dependencies": 16 | { 17 | } 18 | } -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /ProjectSettings/RiderScriptEditorPersistedState.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: Unity.Rider.Editor:Packages.Rider.Editor:RiderScriptEditorPersistedState 15 | lastWriteTicks: -8585451925010972420 16 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Scripts/VATShader.cs: -------------------------------------------------------------------------------- 1 | namespace VATGenerator 2 | { 3 | public static class VATShader 4 | { 5 | public const string NAME = "VAT/Unlit"; 6 | public const string ANIMTEX = "_AnimTex"; 7 | public const string ANIMTEX_TIME = "_AnimTex_Time"; 8 | public const string ANIMTEX_LENGTH = "_AnimTex_Length"; 9 | public const string ANIMTEX_FPS = "_AnimTex_FPS"; 10 | public const string ANIMTEX_REPEAT = "_AnimTex_Repeat"; 11 | public const string ANIMTEX_NORMAL = "_AnimTex_Normal"; 12 | } 13 | } -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Editor/VATGeneratorEditor.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VATGeneratorEditor", 3 | "rootNamespace": "", 4 | "references": [ 5 | "GUID:478a2357cc57436488a56e564b08d223", 6 | "GUID:5b062323f875f6f44a061bffd1d90dce" 7 | ], 8 | "includePlatforms": [ 9 | "Editor" 10 | ], 11 | "excludePlatforms": [], 12 | "allowUnsafeCode": false, 13 | "overrideReferences": false, 14 | "precompiledReferences": [], 15 | "autoReferenced": true, 16 | "defineConstraints": [], 17 | "versionDefines": [], 18 | "noEngineReferences": false 19 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Unity_RawVATGenerator 2 | 3 | 4 | 5 | Generate VAT, NormalTex, Material, and Prefab from animated model. 6 | 7 | 8 | ## Importing 9 | 10 | You can use Package Manager or import it directly. 11 | 12 | ``` 13 | https://github.com/XJINE/Unity_RawVATGenerator.git?path=Assets/Packages/RawVATGenerator 14 | ``` 15 | 16 | ## How to Use 17 | 18 | 1. Open "Custom/VATGenerator" window. 19 | 2. Select target model in Hierarchy. 20 | 3. Set FPS and push "Generate". 21 | 22 | ## Caution 23 | 24 | This VATGenerator use raw data as ARGBFloat texture. 25 | So the extension is ".asset". And such texture size becomes large in most case. -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_DashboardUrl: https://dashboard.unity3d.com 13 | m_TestInitMode: 0 14 | CrashReportingSettings: 15 | m_EventUrl: https://perf-events.cloud.unity3d.com 16 | m_Enabled: 0 17 | m_LogBufferSize: 10 18 | m_CaptureEditorExceptions: 1 19 | UnityPurchasingSettings: 20 | m_Enabled: 0 21 | m_TestMode: 0 22 | UnityAnalyticsSettings: 23 | m_Enabled: 0 24 | m_TestMode: 0 25 | m_InitializeOnStartup: 1 26 | UnityAdsSettings: 27 | m_Enabled: 0 28 | m_InitializeOnStartup: 1 29 | m_TestMode: 0 30 | m_IosGameId: 31 | m_AndroidGameId: 32 | m_GameIds: {} 33 | m_GameId: 34 | PerformanceReportingSettings: 35 | m_Enabled: 0 36 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 0 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | m_UseLegacyProbeSampleCount: 0 30 | m_SerializeInlineMappingsOnOneLine: 1 -------------------------------------------------------------------------------- /ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreviewPackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | oneTimeWarningShown: 0 20 | m_Registries: 21 | - m_Id: main 22 | m_Name: 23 | m_Url: https://packages.unity.com 24 | m_Scopes: [] 25 | m_IsDefault: 1 26 | m_Capabilities: 7 27 | m_UserSelectedRegistryName: 28 | m_UserAddingNewScopedRegistry: 0 29 | m_RegistryInfoDraft: 30 | m_ErrorMessage: 31 | m_Original: 32 | m_Id: 33 | m_Name: 34 | m_Url: 35 | m_Scopes: [] 36 | m_IsDefault: 0 37 | m_Capabilities: 0 38 | m_Modified: 0 39 | m_Name: 40 | m_Url: 41 | m_Scopes: 42 | - 43 | m_SelectedScopeIndex: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /ProjectSettings/MemorySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!387306366 &1 4 | MemorySettings: 5 | m_ObjectHideFlags: 0 6 | m_EditorMemorySettings: 7 | m_MainAllocatorBlockSize: -1 8 | m_ThreadAllocatorBlockSize: -1 9 | m_MainGfxBlockSize: -1 10 | m_ThreadGfxBlockSize: -1 11 | m_CacheBlockSize: -1 12 | m_TypetreeBlockSize: -1 13 | m_ProfilerBlockSize: -1 14 | m_ProfilerEditorBlockSize: -1 15 | m_BucketAllocatorGranularity: -1 16 | m_BucketAllocatorBucketsCount: -1 17 | m_BucketAllocatorBlockSize: -1 18 | m_BucketAllocatorBlockCount: -1 19 | m_ProfilerBucketAllocatorGranularity: -1 20 | m_ProfilerBucketAllocatorBucketsCount: -1 21 | m_ProfilerBucketAllocatorBlockSize: -1 22 | m_ProfilerBucketAllocatorBlockCount: -1 23 | m_TempAllocatorSizeMain: -1 24 | m_JobTempAllocatorBlockSize: -1 25 | m_BackgroundJobTempAllocatorBlockSize: -1 26 | m_JobTempAllocatorReducedBlockSize: -1 27 | m_TempAllocatorSizeGIBakingWorker: -1 28 | m_TempAllocatorSizeNavMeshWorker: -1 29 | m_TempAllocatorSizeAudioWorker: -1 30 | m_TempAllocatorSizeCloudWorker: -1 31 | m_TempAllocatorSizeGfx: -1 32 | m_TempAllocatorSizeJobWorker: -1 33 | m_TempAllocatorSizeBackgroundWorker: -1 34 | m_TempAllocatorSizePreloadManager: -1 35 | m_PlatformMemorySettings: {} 36 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Uu]ser[Ss]ettings/ 12 | 13 | # MemoryCaptures can get excessive in size. 14 | # They also could contain extremely sensitive data 15 | /[Mm]emoryCaptures/ 16 | 17 | # Recordings can get excessive in size 18 | /[Rr]ecordings/ 19 | 20 | # Uncomment this line if you wish to ignore the asset store tools plugin 21 | # /[Aa]ssets/AssetStoreTools* 22 | 23 | # Autogenerated Jetbrains Rider plugin 24 | /[Aa]ssets/Plugins/Editor/JetBrains* 25 | 26 | # Visual Studio cache directory 27 | .vs/ 28 | 29 | # Gradle cache directory 30 | .gradle/ 31 | 32 | # Autogenerated VS/MD/Consulo solution and project files 33 | ExportedObj/ 34 | .consulo/ 35 | *.csproj 36 | *.unityproj 37 | *.sln 38 | *.suo 39 | *.tmp 40 | *.user 41 | *.userprefs 42 | *.pidb 43 | *.booproj 44 | *.svd 45 | *.pdb 46 | *.mdb 47 | *.opendb 48 | *.VC.db 49 | 50 | # Unity3D generated meta files 51 | *.pidb.meta 52 | *.pdb.meta 53 | *.mdb.meta 54 | 55 | # Unity3D generated file on crash reports 56 | sysinfo.txt 57 | 58 | # Builds 59 | *.apk 60 | *.aab 61 | *.unitypackage 62 | *.app 63 | 64 | # Crashlytics generated file 65 | crashlytics-build.properties 66 | 67 | # Packed Addressables 68 | /[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* 69 | 70 | # Temporary auto-generated Android Assets 71 | /[Aa]ssets/[Ss]treamingAssets/aa.meta 72 | /[Aa]ssets/[Ss]treamingAssets/aa/* -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2021, XJINE 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | 1. Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | 2. Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | 3. Neither the name of the copyright holder nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/LICENSE: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2021, XJINE 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | 1. Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | 2. Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | 3. Neither the name of the copyright holder nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ai.navigation": "1.1.5", 4 | "com.unity.editorcoroutines": "1.0.0", 5 | "com.unity.ide.rider": "3.0.31", 6 | "com.unity.ide.visualstudio": "2.0.22", 7 | "com.unity.ide.vscode": "1.2.5", 8 | "com.unity.modules.ai": "1.0.0", 9 | "com.unity.modules.androidjni": "1.0.0", 10 | "com.unity.modules.animation": "1.0.0", 11 | "com.unity.modules.assetbundle": "1.0.0", 12 | "com.unity.modules.audio": "1.0.0", 13 | "com.unity.modules.cloth": "1.0.0", 14 | "com.unity.modules.director": "1.0.0", 15 | "com.unity.modules.imageconversion": "1.0.0", 16 | "com.unity.modules.imgui": "1.0.0", 17 | "com.unity.modules.jsonserialize": "1.0.0", 18 | "com.unity.modules.particlesystem": "1.0.0", 19 | "com.unity.modules.physics": "1.0.0", 20 | "com.unity.modules.physics2d": "1.0.0", 21 | "com.unity.modules.screencapture": "1.0.0", 22 | "com.unity.modules.terrain": "1.0.0", 23 | "com.unity.modules.terrainphysics": "1.0.0", 24 | "com.unity.modules.tilemap": "1.0.0", 25 | "com.unity.modules.ui": "1.0.0", 26 | "com.unity.modules.uielements": "1.0.0", 27 | "com.unity.modules.umbra": "1.0.0", 28 | "com.unity.modules.unityanalytics": "1.0.0", 29 | "com.unity.modules.unitywebrequest": "1.0.0", 30 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 31 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 32 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 33 | "com.unity.modules.unitywebrequestwww": "1.0.0", 34 | "com.unity.modules.vehicles": "1.0.0", 35 | "com.unity.modules.video": "1.0.0", 36 | "com.unity.modules.vr": "1.0.0", 37 | "com.unity.modules.wind": "1.0.0", 38 | "com.unity.modules.xr": "1.0.0" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Shader/VAT.cginc: -------------------------------------------------------------------------------- 1 | #ifndef VAT_INCLUDE 2 | #define VAT_INCLUDE 3 | 4 | sampler2D _AnimTex; 5 | sampler2D _AnimTex_Normal; 6 | half4 _AnimTex_TexelSize; 7 | half4 _AnimTex_Normal_TexelSize; 8 | float4 _AnimTex_Length; 9 | float _AnimTex_FPS; 10 | float _AnimTex_Repeat; 11 | 12 | #ifdef INSTANCING_ON 13 | 14 | UNITY_INSTANCING_BUFFER_START(VATProps) 15 | UNITY_DEFINE_INSTANCED_PROP(float, _AnimTex_Time) 16 | UNITY_INSTANCING_BUFFER_END(VATProps) 17 | 18 | #else 19 | 20 | float _AnimTex_Time; 21 | 22 | #endif 23 | 24 | inline float NormalizeAnimTime(float time) 25 | { 26 | #ifdef _REPEAT 27 | return clamp(time % _AnimTex_Length.x, 0, _AnimTex_Length.x); 28 | #else 29 | return clamp(time, 0, _AnimTex_Length.x); 30 | #endif 31 | } 32 | 33 | float3 AnimTexPosition(uint vid, float time) 34 | { 35 | float frame = min(time * _AnimTex_FPS, _AnimTex_Length.y); 36 | float frame1 = floor(frame); 37 | float frame2 = min(frame1 + 1, _AnimTex_Length.y); 38 | float lerpT = frame - frame1; 39 | 40 | float4 uv1 = 0, uv2 = 0; 41 | uv1.xy = (0.5 + float2(vid, frame1)) * _AnimTex_TexelSize; 42 | uv2.xy = (0.5 + float2(vid, frame2)) * _AnimTex_TexelSize; 43 | 44 | float3 pos1 = tex2Dlod(_AnimTex, uv1).rgb; 45 | float3 pos2 = tex2Dlod(_AnimTex, uv2).rgb; 46 | 47 | return lerp(pos1, pos2, lerpT); 48 | } 49 | 50 | float3 AnimTexNormal(uint vid, float time) 51 | { 52 | float frame = min(time * _AnimTex_FPS, _AnimTex_Length.y); 53 | float frame1 = floor(frame); 54 | float frame2 = min(frame1 + 1, _AnimTex_Length.y); 55 | float lerpT = frame - frame1; 56 | 57 | float4 uv1 = 0, uv2 = 0; 58 | uv1.xy = (0.5 + float2(vid, frame1)) * _AnimTex_Normal_TexelSize; 59 | uv2.xy = (0.5 + float2(vid, frame2)) * _AnimTex_Normal_TexelSize; 60 | 61 | float3 normal1 = tex2Dlod(_AnimTex_Normal, uv1).rgb; 62 | float3 normal2 = tex2Dlod(_AnimTex_Normal, uv2).rgb; 63 | 64 | return lerp(normal1, normal2, lerpT); 65 | } 66 | 67 | #endif -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | m_LogWhenShaderIsCompiled: 0 63 | m_AllowEnlightenSupportForUpgradedProject: 0 64 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Shader/VAT_Standard.shader: -------------------------------------------------------------------------------- 1 | Shader "VAT/Standard" 2 | { 3 | Properties 4 | { 5 | _Color ("Color", Color) = (1, 1, 1, 1) 6 | _MainTex ("Albedo (RGB)", 2D) = "white" {} 7 | _Glossiness ("Smoothness", Range(0,1)) = 0.5 8 | _Metallic ("Metallic", Range(0,1)) = 0.0 9 | 10 | [NoScaleOffset] _AnimTex ("PositionTex", 2D) = "white" {} 11 | [NoScaleOffset] _AnimTex_Normal ("NormalTex", 2D) = "white" {} 12 | _AnimTex_Length ("Length(t,f)", Vector) = (0, 0, 0, 0) 13 | _AnimTex_FPS ("FPS", Float) = 30 14 | [Toggle(_REPEAT)] _AnimTex_Repeat ("Repeat", Float) = 0 15 | _AnimTex_Time ("Time", Float) = 0 16 | } 17 | SubShader 18 | { 19 | Tags { "RenderType" = "Opaque" } 20 | LOD 200 21 | 22 | CGPROGRAM 23 | 24 | #pragma target 5.0 25 | #pragma multi_compile _ _REPEAT 26 | #pragma surface surf Standard addshadow vertex:vert 27 | 28 | #include "VAT.cginc" 29 | 30 | struct appdata 31 | { 32 | float4 vertex : POSITION; 33 | float4 tangent : TANGENT; 34 | float3 normal : NORMAL; 35 | float4 texcoord : TEXCOORD0; 36 | float4 texcoord1 : TEXCOORD1; 37 | float4 texcoord2 : TEXCOORD2; 38 | float4 texcoord3 : TEXCOORD3; 39 | #if defined(SHADER_API_XBOX360) 40 | half4 texcoord4 : TEXCOORD4; 41 | half4 texcoord5 : TEXCOORD5; 42 | #endif 43 | fixed4 color : COLOR; 44 | UNITY_VERTEX_INPUT_INSTANCE_ID 45 | uint vid : SV_VertexID; 46 | }; 47 | 48 | struct Input 49 | { 50 | float2 uv_MainTex; 51 | }; 52 | 53 | sampler2D _MainTex; 54 | half _Glossiness; 55 | half _Metallic; 56 | fixed4 _Color; 57 | 58 | void vert(inout appdata v) 59 | { 60 | float t = NormalizeAnimTime(_AnimTex_Time); 61 | 62 | v.vertex.xyz = AnimTexPosition(v.vid, t); 63 | v.normal = normalize(AnimTexNormal(v.vid, t)); 64 | } 65 | 66 | void surf (Input IN, inout SurfaceOutputStandard o) 67 | { 68 | fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color; 69 | 70 | o.Albedo = c.rgb; 71 | o.Metallic = _Metallic; 72 | o.Smoothness = _Glossiness; 73 | o.Alpha = c.a; 74 | } 75 | 76 | ENDCG 77 | } 78 | FallBack "Diffuse" 79 | } -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Shader/VAT_Standard(Instanced).shader: -------------------------------------------------------------------------------- 1 | Shader "VAT/Standard(Instanced)" 2 | { 3 | Properties 4 | { 5 | _Color ("Color", Color) = (1, 1, 1, 1) 6 | _MainTex ("Albedo (RGB)", 2D) = "white" {} 7 | _Glossiness ("Smoothness", Range(0,1)) = 0.5 8 | _Metallic ("Metallic", Range(0,1)) = 0.0 9 | 10 | [NoScaleOffset] _AnimTex ("PositionTex", 2D) = "white" {} 11 | [NoScaleOffset] _AnimTex_Normal ("NormalTex", 2D) = "white" {} 12 | _AnimTex_Length ("Length(t,f)", Vector) = (0, 0, 0, 0) 13 | _AnimTex_FPS ("FPS", Float) = 30 14 | [Toggle(_REPEAT)] _AnimTex_Repeat ("Repeat", Float) = 0 15 | _AnimTex_Time ("Time", Float) = 0 16 | } 17 | SubShader 18 | { 19 | Tags { "RenderType" = "Opaque" } 20 | LOD 200 21 | 22 | CGPROGRAM 23 | 24 | #pragma multi_compile_instancing 25 | #pragma multi_compile _ _REPEAT 26 | #pragma surface surf Standard fullforwardshadows addshadow vertex:vert 27 | 28 | #include "VAT.cginc" 29 | 30 | struct appdata 31 | { 32 | float4 vertex : POSITION; 33 | float4 tangent : TANGENT; 34 | float3 normal : NORMAL; 35 | float4 texcoord : TEXCOORD0; 36 | float4 texcoord1 : TEXCOORD1; 37 | float4 texcoord2 : TEXCOORD2; 38 | float4 texcoord3 : TEXCOORD3; 39 | #if defined(SHADER_API_XBOX360) 40 | half4 texcoord4 : TEXCOORD4; 41 | half4 texcoord5 : TEXCOORD5; 42 | #endif 43 | fixed4 color : COLOR; 44 | UNITY_VERTEX_INPUT_INSTANCE_ID 45 | uint vid : SV_VertexID; 46 | }; 47 | 48 | struct Input 49 | { 50 | float2 uv_MainTex; 51 | }; 52 | 53 | sampler2D _MainTex; 54 | half _Glossiness; 55 | half _Metallic; 56 | fixed4 _Color; 57 | 58 | void vert(inout appdata v) 59 | { 60 | float t = UNITY_ACCESS_INSTANCED_PROP(VATProps, _AnimTex_Time); 61 | t = NormalizeAnimTime(t); 62 | 63 | v.vertex.xyz = AnimTexPosition(v.vid, t); 64 | v.normal = normalize(AnimTexNormal(v.vid, t)); 65 | } 66 | 67 | void surf (Input IN, inout SurfaceOutputStandard o) 68 | { 69 | fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color; 70 | 71 | o.Albedo = c.rgb; 72 | o.Metallic = _Metallic; 73 | o.Smoothness = _Glossiness; 74 | o.Alpha = c.a; 75 | } 76 | 77 | ENDCG 78 | } 79 | 80 | FallBack "Diffuse" 81 | } -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Shader/VAT_Unlit.shader: -------------------------------------------------------------------------------- 1 | Shader "VAT/Unlit" 2 | { 3 | Properties 4 | { 5 | [NoScaleOffset] _MainTex ("Base", 2D) = "white" {} 6 | [NoScaleOffset] _AnimTex ("PositionTex", 2D) = "white" {} 7 | _AnimTex_Length ("Length(t,f)", Vector) = (0, 0, 0, 0) 8 | _AnimTex_FPS ("FPS", Float) = 30 9 | [Toggle(_REPEAT)] _AnimTex_Repeat ("Repeat", Float) = 0 10 | _AnimTex_Time ("Time", Float) = 0 11 | } 12 | SubShader 13 | { 14 | Tags { "RenderType" = "Opaque" } 15 | LOD 100 16 | 17 | Pass 18 | { 19 | CGPROGRAM 20 | 21 | #pragma multi_compile _ _REPEAT 22 | #pragma vertex vert 23 | #pragma fragment frag 24 | 25 | #include "UnityCG.cginc" 26 | #include "VAT.cginc" 27 | 28 | struct appdata 29 | { 30 | uint vid : SV_VertexID; 31 | float4 vertex : POSITION; 32 | float2 uv : TEXCOORD0; 33 | }; 34 | 35 | struct v2f 36 | { 37 | float4 vertex : SV_POSITION; 38 | float2 uv : TEXCOORD0; 39 | }; 40 | 41 | sampler2D _MainTex; 42 | 43 | v2f vert(appdata v) 44 | { 45 | float t = NormalizeAnimTime(_AnimTex_Time); 46 | 47 | v.vertex.xyz = AnimTexPosition(v.vid, t); 48 | 49 | v2f o; 50 | o.vertex = UnityObjectToClipPos(float4(v.vertex.xyz, 1)); 51 | o.uv = v.uv; 52 | 53 | return o; 54 | } 55 | 56 | float4 frag(v2f i) : SV_Target 57 | { 58 | return tex2D(_MainTex, i.uv); 59 | } 60 | 61 | ENDCG 62 | } 63 | Pass 64 | { 65 | Name "ShadowCaster" 66 | Tags { "LightMode" = "ShadowCaster" } 67 | 68 | CGPROGRAM 69 | 70 | #pragma multi_compile_shadowcaster 71 | #pragma multi_compile _ _REPEAT 72 | #pragma vertex vert 73 | #pragma fragment frag 74 | 75 | #include "UnityCG.cginc" 76 | #include "VAT.cginc" 77 | 78 | struct appdata 79 | { 80 | uint vid : SV_VertexID; 81 | float4 vertex : POSITION; 82 | float3 normal : NORMAL; 83 | float2 uv : TEXCOORD0; 84 | }; 85 | 86 | struct v2f 87 | { 88 | V2F_SHADOW_CASTER; 89 | }; 90 | 91 | sampler2D _MainTex; 92 | 93 | v2f vert(appdata v) 94 | { 95 | float t = NormalizeAnimTime(_AnimTex_Time); 96 | 97 | v.vertex.xyz = AnimTexPosition(v.vid, t); 98 | 99 | v2f o; 100 | TRANSFER_SHADOW_CASTER_NORMALOFFSET(o); 101 | 102 | return o; 103 | } 104 | 105 | float4 frag(v2f i) : SV_Target 106 | { 107 | SHADOW_CASTER_FRAGMENT(i); 108 | } 109 | 110 | ENDCG 111 | } 112 | } 113 | 114 | FallBack Off 115 | } -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Shader/VAT_VisNormal.shader: -------------------------------------------------------------------------------- 1 | Shader "VAT/VisNormal" 2 | { 3 | Properties 4 | { 5 | [NoScaleOffset] _MainTex ("Base", 2D) = "white" {} 6 | [NoScaleOffset] _AnimTex ("PositionTex", 2D) = "white" {} 7 | [NoScaleOffset] _AnimTex_Normal ("NormalTex", 2D) = "white" {} 8 | _AnimTex_Length ("Length(t,f)", Vector) = (0, 0, 0, 0) 9 | _AnimTex_FPS ("FPS", Float) = 30 10 | [Toggle(_REPEAT)] _AnimTex_Repeat ("Repeat", Float) = 0 11 | _AnimTex_Time ("Time", Float) = 0 12 | } 13 | SubShader 14 | { 15 | Tags { "RenderType" = "Opaque" } 16 | LOD 100 17 | 18 | Pass 19 | { 20 | CGPROGRAM 21 | 22 | #pragma target 5.0 23 | #pragma multi_compile _ _REPEAT 24 | #pragma vertex vert 25 | #pragma fragment frag 26 | 27 | #include "UnityCG.cginc" 28 | #include "VAT.cginc" 29 | 30 | struct appdata 31 | { 32 | uint vid : SV_VertexID; 33 | float4 vertex : POSITION; 34 | float2 uv : TEXCOORD0; 35 | }; 36 | 37 | struct v2f 38 | { 39 | float4 vertex : SV_POSITION; 40 | float3 normal : NORMAL; 41 | float2 uv : TEXCOORD0; 42 | }; 43 | 44 | sampler2D _MainTex; 45 | 46 | v2f vert(appdata v) 47 | { 48 | float t = NormalizeAnimTime(_AnimTex_Time); 49 | 50 | v.vertex.xyz = AnimTexPosition(v.vid, t); 51 | 52 | float3 n = AnimTexNormal(v.vid, t); 53 | n = normalize(mul((float3x3)UNITY_MATRIX_IT_MV, n)); 54 | 55 | v2f o; 56 | o.vertex = UnityObjectToClipPos(float4(v.vertex.xyz, 1)); 57 | o.normal = n; 58 | o.uv = v.uv; 59 | 60 | return o; 61 | } 62 | 63 | float4 frag(v2f i) : SV_Target 64 | { 65 | return float4(0.5 * i.normal + 0.5, 1.0); 66 | } 67 | 68 | ENDCG 69 | } 70 | Pass 71 | { 72 | Name "ShadowCaster" 73 | Tags { "LightMode" = "ShadowCaster" } 74 | 75 | CGPROGRAM 76 | 77 | #pragma target 5.0 78 | #pragma multi_compile _ _REPEAT 79 | #pragma multi_compile_shadowcaster 80 | #pragma vertex vert 81 | #pragma fragment frag 82 | 83 | #include "UnityCG.cginc" 84 | #include "VAT.cginc" 85 | 86 | struct appdata 87 | { 88 | uint vid : SV_VertexID; 89 | float4 vertex : POSITION; 90 | float3 normal : NORMAL; 91 | float2 uv : TEXCOORD0; 92 | }; 93 | 94 | struct v2f 95 | { 96 | V2F_SHADOW_CASTER; 97 | }; 98 | 99 | sampler2D _MainTex; 100 | 101 | v2f vert(appdata v) 102 | { 103 | float t = NormalizeAnimTime(_AnimTex_Time); 104 | 105 | v.vertex.xyz = AnimTexPosition(v.vid, t); 106 | 107 | v2f o; 108 | TRANSFER_SHADOW_CASTER_NORMALOFFSET(o); 109 | 110 | return o; 111 | } 112 | 113 | float4 frag(v2f i) : SV_Target 114 | { 115 | SHADOW_CASTER_FRAGMENT(i); 116 | } 117 | 118 | ENDCG 119 | } 120 | } 121 | 122 | FallBack Off 123 | } -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Shader/VAT_Unlit(Instanced).shader: -------------------------------------------------------------------------------- 1 | Shader "VAT/Unlit(Instanced)" 2 | { 3 | Properties 4 | { 5 | [NoScaleOffset] _MainTex ("Base", 2D) = "white" {} 6 | [NoScaleOffset] _AnimTex ("PositionTex", 2D) = "white" {} 7 | _AnimTex_Length ("Length(t,f)", Vector) = (0, 0, 0, 0) 8 | _AnimTex_FPS ("FPS", Float) = 30 9 | [Toggle(_REPEAT)] _AnimTex_Repeat ("Repeat", Float) = 0 10 | _AnimTex_Time ("Time", Float) = 0 11 | } 12 | SubShader 13 | { 14 | Tags { "RenderType" = "Opaque" } 15 | LOD 100 16 | 17 | Pass 18 | { 19 | CGPROGRAM 20 | 21 | #pragma multi_compile_instancing 22 | #pragma multi_compile _ _REPEAT 23 | #pragma vertex vert 24 | #pragma fragment frag 25 | 26 | #include "UnityCG.cginc" 27 | #include "VAT.cginc" 28 | 29 | struct appdata 30 | { 31 | uint vid : SV_VertexID; 32 | float4 vertex : POSITION; 33 | float2 uv : TEXCOORD0; 34 | UNITY_VERTEX_INPUT_INSTANCE_ID 35 | }; 36 | 37 | struct v2f 38 | { 39 | float4 vertex : SV_POSITION; 40 | float2 uv : TEXCOORD0; 41 | UNITY_VERTEX_INPUT_INSTANCE_ID 42 | }; 43 | 44 | sampler2D _MainTex; 45 | 46 | v2f vert(appdata v) 47 | { 48 | v2f o; 49 | 50 | UNITY_SETUP_INSTANCE_ID(v); 51 | UNITY_TRANSFER_INSTANCE_ID(v, o); 52 | 53 | float t = UNITY_ACCESS_INSTANCED_PROP(VATProps, _AnimTex_Time); 54 | t = NormalizeAnimTime(t); 55 | 56 | float3 pos = AnimTexPosition(v.vid, t); 57 | 58 | o.vertex = UnityObjectToClipPos(pos); 59 | o.uv = v.uv; 60 | 61 | return o; 62 | } 63 | 64 | float4 frag(v2f i) : SV_Target 65 | { 66 | UNITY_SETUP_INSTANCE_ID(i); 67 | return tex2D(_MainTex, i.uv); 68 | } 69 | 70 | ENDCG 71 | } 72 | Pass 73 | { 74 | Name "ShadowCaster" 75 | Tags { "LightMode" = "ShadowCaster" } 76 | 77 | CGPROGRAM 78 | 79 | #pragma multi_compile_shadowcaster 80 | #pragma multi_compile_instancing 81 | #pragma multi_compile _ _REPEAT 82 | #pragma vertex vert 83 | #pragma fragment frag 84 | 85 | #include "UnityCG.cginc" 86 | #include "VAT.cginc" 87 | 88 | struct appdata 89 | { 90 | uint vid : SV_VertexID; 91 | float4 vertex : POSITION; 92 | float3 normal : NORMAL; 93 | float2 uv : TEXCOORD0; 94 | UNITY_VERTEX_INPUT_INSTANCE_ID 95 | }; 96 | 97 | struct v2f 98 | { 99 | V2F_SHADOW_CASTER; 100 | }; 101 | 102 | sampler2D _MainTex; 103 | 104 | v2f vert(appdata v) 105 | { 106 | UNITY_SETUP_INSTANCE_ID(v); 107 | 108 | float t = UNITY_ACCESS_INSTANCED_PROP(VATProps, _AnimTex_Time); 109 | t = NormalizeAnimTime(t); 110 | 111 | v.vertex.xyz = AnimTexPosition(v.vid, t); 112 | 113 | v2f o; 114 | TRANSFER_SHADOW_CASTER_NORMALOFFSET(o); 115 | 116 | return o; 117 | } 118 | 119 | float4 frag(v2f i) : SV_Target 120 | { 121 | SHADOW_CASTER_FRAGMENT(i); 122 | } 123 | 124 | ENDCG 125 | } 126 | } 127 | 128 | FallBack Off 129 | } -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Scripts/VertexAnimationTexture.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections.Generic; 3 | 4 | namespace VATGenerator 5 | { 6 | // NOTE: 7 | // Texture(x, y) = (Position, Time) 8 | // Origin (0, 0) is lower left. 9 | 10 | public class VertexAnimationTexture : System.IDisposable 11 | { 12 | #region Field 13 | 14 | public readonly string Name; 15 | public readonly float LengthSec; 16 | public readonly float FrameCounts; 17 | public readonly Texture2D PosTex; 18 | public readonly Texture2D NmlTex; 19 | public readonly Bounds Bounds; 20 | 21 | #endregion Field 22 | 23 | #region Constructor 24 | 25 | public VertexAnimationTexture(SkinnedMeshRenderer renderer, 26 | Animation animation, 27 | AnimationState animationState, 28 | float fps = 30f) 29 | { 30 | Name = animationState.name; 31 | LengthSec = animationState.length; 32 | 33 | animationState.speed = 0; 34 | animation.Play(animationState.name); 35 | 36 | var verticesList = new List(); 37 | var normalsList = new List(); 38 | 39 | var deltaTime = 1f / fps; 40 | var meshPosition = renderer.localToWorldMatrix; 41 | var meshNormal = renderer.worldToLocalMatrix.transpose; 42 | 43 | for (float t = 0; t < LengthSec + deltaTime; t += deltaTime) 44 | { 45 | var tempMesh = new Mesh(); 46 | 47 | animationState.time = Mathf.Clamp(t, 0f, LengthSec); 48 | animation.Sample(); 49 | renderer.BakeMesh(tempMesh); 50 | 51 | var vertices = tempMesh.vertices; 52 | var normals = tempMesh.normals; 53 | 54 | for (var i = 0; i < vertices.Length; i++) 55 | { 56 | vertices[i] = meshPosition.MultiplyPoint3x4(vertices[i]); 57 | normals[i] = meshNormal.MultiplyVector(normals[i]); 58 | } 59 | 60 | verticesList.Add(vertices); 61 | normalsList.Add(normals); 62 | 63 | Object.DestroyImmediate(tempMesh); 64 | } 65 | 66 | FrameCounts = verticesList.Count - 1; 67 | 68 | // Get Bounds 69 | 70 | var firstVertices = verticesList[0]; 71 | var firstVertex = firstVertices[0]; 72 | 73 | var minX = firstVertex.x; 74 | var minY = firstVertex.y; 75 | var minZ = firstVertex.z; 76 | var maxX = firstVertex.x; 77 | var maxY = firstVertex.y; 78 | var maxZ = firstVertex.z; 79 | 80 | foreach (var vertices in verticesList) 81 | { 82 | foreach (var vertex in vertices) 83 | { 84 | minX = Mathf.Min(minX, vertex.x); 85 | minY = Mathf.Min(minY, vertex.y); 86 | minZ = Mathf.Min(minZ, vertex.z); 87 | maxX = Mathf.Max(maxX, vertex.x); 88 | maxY = Mathf.Max(maxY, vertex.y); 89 | maxZ = Mathf.Max(maxZ, vertex.z); 90 | } 91 | } 92 | 93 | var scale = new Vector4(maxX - minX, maxY - minY, maxZ - minZ, 1f); 94 | var offset = new Vector4(minX, minY, minZ, 1f); 95 | Bounds = new Bounds (offset + scale * 0.5f, scale); 96 | 97 | // Get Texture2D 98 | 99 | var texWidth = Mathf.NextPowerOfTwo(firstVertices.Length); 100 | var texHeight = Mathf.NextPowerOfTwo(verticesList.Count); 101 | 102 | PosTex = new Texture2D(texWidth, texHeight, TextureFormat.RGBAFloat, false, true); 103 | NmlTex = new Texture2D(texWidth, texHeight, TextureFormat.RGBAFloat, false, true); 104 | 105 | for (var y = 0; y < verticesList.Count; y++) 106 | { 107 | var vertices = verticesList[y]; 108 | var normals = normalsList[y]; 109 | 110 | for (var x = 0; x < vertices.Length; x++) 111 | { 112 | var pos = vertices[x]; 113 | var nml = normals[x]; 114 | 115 | var posColor = new Color(pos.x, pos.y, pos.z); 116 | var nmlColor = new Color(nml.x, nml.y, nml.z); 117 | 118 | PosTex.SetPixel(x, y, posColor); 119 | NmlTex.SetPixel(x, y, nmlColor); 120 | } 121 | } 122 | 123 | PosTex.Apply(); 124 | NmlTex.Apply(); 125 | } 126 | 127 | #endregion Constructor 128 | 129 | #region Method 130 | 131 | public void Dispose() 132 | { 133 | Object.DestroyImmediate(PosTex, true); 134 | Object.DestroyImmediate(NmlTex, true); 135 | } 136 | 137 | #endregion Method 138 | } 139 | } -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/Packages/RawVATGenerator/Editor/VATGeneratorEditor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using UnityEngine; 6 | using UnityEditor; 7 | using Unity.EditorCoroutines.Editor; 8 | 9 | namespace VATGenerator 10 | { 11 | public class VATGeneratorEditor : EditorWindow 12 | { 13 | #region Field 14 | 15 | private float _fps = 30f; 16 | 17 | #endregion Field 18 | 19 | #region Method 20 | 21 | [MenuItem("Custom/VATGenerator")] 22 | private static void Init() 23 | { 24 | GetWindow("VATGenerator"); 25 | } 26 | 27 | private void OnGUI() 28 | { 29 | EditorGUILayout.BeginHorizontal(); 30 | EditorGUILayout.LabelField("FPS"); 31 | _fps = EditorGUILayout.FloatField(_fps); 32 | EditorGUILayout.EndHorizontal(); 33 | 34 | if (!GUILayout.Button("Generate")) 35 | { 36 | return; 37 | } 38 | 39 | var selectedObject = Selection.activeGameObject; 40 | 41 | if (selectedObject == null) 42 | { 43 | EditorUtility.DisplayDialog 44 | ("VATGenerator", "Failed : Select GameObject", "OK"); 45 | return; 46 | } 47 | 48 | var renderer = selectedObject.GetComponentInChildren(); 49 | var animation = selectedObject.GetComponentInChildren(); 50 | 51 | if (renderer == null) 52 | { 53 | EditorUtility.DisplayDialog 54 | ("VATGenerator", "Failed : Select GameObject has no SkinnedMeshRenderer", "OK"); 55 | return; 56 | } 57 | 58 | if (animation == null) 59 | { 60 | EditorUtility.DisplayDialog 61 | ("VATGenerator", "Failed : Select GameObject has no Animation", "OK"); 62 | return; 63 | } 64 | 65 | EditorCoroutineUtility.StartCoroutine 66 | (GenerateVertexTexture(selectedObject.name, renderer, animation, _fps), this); 67 | } 68 | 69 | private IEnumerator GenerateVertexTexture(string name, 70 | SkinnedMeshRenderer renderer, 71 | Animation animation, 72 | float fps) 73 | { 74 | var directoryPath = GetSaveDirectoryPath(name); 75 | 76 | var vats = new List(animation.GetClipCount()); 77 | 78 | foreach (AnimationState animationState in animation) 79 | { 80 | vats.Add(new VertexAnimationTexture(renderer, animation, animationState, fps)); 81 | } 82 | 83 | var materials = new List(vats.Count); 84 | var bounds = vats[0].Bounds; 85 | 86 | foreach (var vat in vats) 87 | { 88 | // Save Texture 89 | 90 | var vatName = vats.Count == 0 ? name : name + "_" + vat.Name; 91 | var posTexPath = Path.Combine(directoryPath, vatName + ".asset"); 92 | var nmlTexPath = Path.Combine(directoryPath, vatName + "_normal.asset"); 93 | 94 | AssetDatabase.CreateAsset(vat.PosTex, posTexPath); 95 | AssetDatabase.CreateAsset(vat.NmlTex, nmlTexPath); 96 | 97 | // Save Material 98 | 99 | var material = new Material(Shader.Find(VATShader.NAME)) 100 | { 101 | mainTexture = renderer.sharedMaterial.mainTexture 102 | }; 103 | material.SetTexture(VATShader.ANIMTEX, vat.PosTex); 104 | material.SetTexture(VATShader.ANIMTEX_NORMAL, vat.NmlTex); 105 | material.SetVector (VATShader.ANIMTEX_LENGTH, new Vector2(vat.LengthSec, vat.FrameCounts)); 106 | material.SetFloat (VATShader.ANIMTEX_FPS, fps); 107 | 108 | AssetDatabase.CreateAsset(material, Path.Combine(directoryPath, vatName + ".mat")); 109 | materials.Add(material); 110 | 111 | // Update Bounds 112 | 113 | bounds = UpdateBounds(bounds, vat.Bounds); 114 | } 115 | 116 | // Save Mesh 117 | 118 | var mesh = Instantiate(renderer.sharedMesh); 119 | mesh.bounds = bounds; 120 | 121 | AssetDatabase.CreateAsset(mesh, Path.Combine(directoryPath, name + ".asset")); 122 | 123 | // Save Prefab 124 | 125 | // NOTE: 126 | // If there are lot of materials, Unity sometimes lost the reference 127 | // even if AssetDatabase.SaveAssets/Refresh are done. So needs reload. 128 | 129 | var materialName = materials.Count == 0 ? 130 | materials[0].name : 131 | materials.FirstOrDefault(mat => mat.name.Contains(animation.clip.name)).name; 132 | materialName += ".mat"; 133 | 134 | var defaultMaterial = AssetDatabase.LoadAssetAtPath(Path.Combine(directoryPath, materialName)); 135 | 136 | var vatObject = new GameObject(name); 137 | vatObject.AddComponent().sharedMaterial = defaultMaterial; 138 | vatObject.AddComponent().sharedMesh = mesh; 139 | 140 | PrefabUtility.SaveAsPrefabAsset(vatObject, Path.Combine(directoryPath, name + ".prefab")); 141 | AssetDatabase.SaveAssets(); 142 | AssetDatabase.Refresh(); 143 | 144 | yield return null; 145 | } 146 | 147 | private static string GetSaveDirectoryPath(string name) 148 | { 149 | const string dirAssets = "Assets"; 150 | const string dirRoot = "VAT"; 151 | 152 | var directoryPath = Path.Combine(dirAssets, dirRoot); 153 | 154 | if (!Directory.Exists(directoryPath)) 155 | { 156 | AssetDatabase.CreateFolder(dirAssets, dirRoot); 157 | } 158 | 159 | var guid = AssetDatabase.CreateFolder(directoryPath, name); 160 | 161 | directoryPath = AssetDatabase.GUIDToAssetPath(guid); 162 | 163 | return directoryPath; 164 | } 165 | 166 | private static Bounds UpdateBounds(Bounds boundsA, Bounds boundsB) 167 | { 168 | var minA = boundsA.min; 169 | var maxA = boundsA.max; 170 | var minB = boundsB.min; 171 | var maxB = boundsB.max; 172 | 173 | var bounds = new Bounds(); 174 | 175 | bounds.SetMinMax(new Vector3(Mathf.Min(minA.x, minB.x), 176 | Mathf.Min(minA.y, minB.y), 177 | Mathf.Min(minA.z, minB.z)), 178 | new Vector3(Mathf.Max(maxA.x, maxB.x), 179 | Mathf.Max(maxA.y, maxB.y), 180 | Mathf.Max(maxA.z, maxB.z))); 181 | return bounds; 182 | } 183 | 184 | #endregion Method 185 | } 186 | } -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 0 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | blendWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 1 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | blendWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | blendWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 0 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 70 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | blendWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 2 199 | antiAliasing: 2 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: 220 | Android: 2 221 | Lumin: 5 222 | Nintendo 3DS: 5 223 | Nintendo Switch: 5 224 | PS4: 5 225 | PSP2: 2 226 | Stadia: 5 227 | Standalone: 5 228 | WebGL: 3 229 | Windows Store Apps: 5 230 | XboxOne: 5 231 | iPhone: 2 232 | tvOS: 2 233 | -------------------------------------------------------------------------------- /Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ai.navigation": { 4 | "version": "1.1.5", 5 | "depth": 0, 6 | "source": "registry", 7 | "dependencies": { 8 | "com.unity.modules.ai": "1.0.0" 9 | }, 10 | "url": "https://packages.unity.com" 11 | }, 12 | "com.unity.editorcoroutines": { 13 | "version": "1.0.0", 14 | "depth": 0, 15 | "source": "registry", 16 | "dependencies": {}, 17 | "url": "https://packages.unity.com" 18 | }, 19 | "com.unity.ext.nunit": { 20 | "version": "1.0.6", 21 | "depth": 1, 22 | "source": "registry", 23 | "dependencies": {}, 24 | "url": "https://packages.unity.com" 25 | }, 26 | "com.unity.ide.rider": { 27 | "version": "3.0.31", 28 | "depth": 0, 29 | "source": "registry", 30 | "dependencies": { 31 | "com.unity.ext.nunit": "1.0.6" 32 | }, 33 | "url": "https://packages.unity.com" 34 | }, 35 | "com.unity.ide.visualstudio": { 36 | "version": "2.0.22", 37 | "depth": 0, 38 | "source": "registry", 39 | "dependencies": { 40 | "com.unity.test-framework": "1.1.9" 41 | }, 42 | "url": "https://packages.unity.com" 43 | }, 44 | "com.unity.ide.vscode": { 45 | "version": "1.2.5", 46 | "depth": 0, 47 | "source": "registry", 48 | "dependencies": {}, 49 | "url": "https://packages.unity.com" 50 | }, 51 | "com.unity.test-framework": { 52 | "version": "1.1.33", 53 | "depth": 1, 54 | "source": "registry", 55 | "dependencies": { 56 | "com.unity.ext.nunit": "1.0.6", 57 | "com.unity.modules.imgui": "1.0.0", 58 | "com.unity.modules.jsonserialize": "1.0.0" 59 | }, 60 | "url": "https://packages.unity.com" 61 | }, 62 | "com.unity.modules.ai": { 63 | "version": "1.0.0", 64 | "depth": 0, 65 | "source": "builtin", 66 | "dependencies": {} 67 | }, 68 | "com.unity.modules.androidjni": { 69 | "version": "1.0.0", 70 | "depth": 0, 71 | "source": "builtin", 72 | "dependencies": {} 73 | }, 74 | "com.unity.modules.animation": { 75 | "version": "1.0.0", 76 | "depth": 0, 77 | "source": "builtin", 78 | "dependencies": {} 79 | }, 80 | "com.unity.modules.assetbundle": { 81 | "version": "1.0.0", 82 | "depth": 0, 83 | "source": "builtin", 84 | "dependencies": {} 85 | }, 86 | "com.unity.modules.audio": { 87 | "version": "1.0.0", 88 | "depth": 0, 89 | "source": "builtin", 90 | "dependencies": {} 91 | }, 92 | "com.unity.modules.cloth": { 93 | "version": "1.0.0", 94 | "depth": 0, 95 | "source": "builtin", 96 | "dependencies": { 97 | "com.unity.modules.physics": "1.0.0" 98 | } 99 | }, 100 | "com.unity.modules.director": { 101 | "version": "1.0.0", 102 | "depth": 0, 103 | "source": "builtin", 104 | "dependencies": { 105 | "com.unity.modules.audio": "1.0.0", 106 | "com.unity.modules.animation": "1.0.0" 107 | } 108 | }, 109 | "com.unity.modules.imageconversion": { 110 | "version": "1.0.0", 111 | "depth": 0, 112 | "source": "builtin", 113 | "dependencies": {} 114 | }, 115 | "com.unity.modules.imgui": { 116 | "version": "1.0.0", 117 | "depth": 0, 118 | "source": "builtin", 119 | "dependencies": {} 120 | }, 121 | "com.unity.modules.jsonserialize": { 122 | "version": "1.0.0", 123 | "depth": 0, 124 | "source": "builtin", 125 | "dependencies": {} 126 | }, 127 | "com.unity.modules.particlesystem": { 128 | "version": "1.0.0", 129 | "depth": 0, 130 | "source": "builtin", 131 | "dependencies": {} 132 | }, 133 | "com.unity.modules.physics": { 134 | "version": "1.0.0", 135 | "depth": 0, 136 | "source": "builtin", 137 | "dependencies": {} 138 | }, 139 | "com.unity.modules.physics2d": { 140 | "version": "1.0.0", 141 | "depth": 0, 142 | "source": "builtin", 143 | "dependencies": {} 144 | }, 145 | "com.unity.modules.screencapture": { 146 | "version": "1.0.0", 147 | "depth": 0, 148 | "source": "builtin", 149 | "dependencies": { 150 | "com.unity.modules.imageconversion": "1.0.0" 151 | } 152 | }, 153 | "com.unity.modules.subsystems": { 154 | "version": "1.0.0", 155 | "depth": 1, 156 | "source": "builtin", 157 | "dependencies": { 158 | "com.unity.modules.jsonserialize": "1.0.0" 159 | } 160 | }, 161 | "com.unity.modules.terrain": { 162 | "version": "1.0.0", 163 | "depth": 0, 164 | "source": "builtin", 165 | "dependencies": {} 166 | }, 167 | "com.unity.modules.terrainphysics": { 168 | "version": "1.0.0", 169 | "depth": 0, 170 | "source": "builtin", 171 | "dependencies": { 172 | "com.unity.modules.physics": "1.0.0", 173 | "com.unity.modules.terrain": "1.0.0" 174 | } 175 | }, 176 | "com.unity.modules.tilemap": { 177 | "version": "1.0.0", 178 | "depth": 0, 179 | "source": "builtin", 180 | "dependencies": { 181 | "com.unity.modules.physics2d": "1.0.0" 182 | } 183 | }, 184 | "com.unity.modules.ui": { 185 | "version": "1.0.0", 186 | "depth": 0, 187 | "source": "builtin", 188 | "dependencies": {} 189 | }, 190 | "com.unity.modules.uielements": { 191 | "version": "1.0.0", 192 | "depth": 0, 193 | "source": "builtin", 194 | "dependencies": { 195 | "com.unity.modules.ui": "1.0.0", 196 | "com.unity.modules.imgui": "1.0.0", 197 | "com.unity.modules.jsonserialize": "1.0.0" 198 | } 199 | }, 200 | "com.unity.modules.umbra": { 201 | "version": "1.0.0", 202 | "depth": 0, 203 | "source": "builtin", 204 | "dependencies": {} 205 | }, 206 | "com.unity.modules.unityanalytics": { 207 | "version": "1.0.0", 208 | "depth": 0, 209 | "source": "builtin", 210 | "dependencies": { 211 | "com.unity.modules.unitywebrequest": "1.0.0", 212 | "com.unity.modules.jsonserialize": "1.0.0" 213 | } 214 | }, 215 | "com.unity.modules.unitywebrequest": { 216 | "version": "1.0.0", 217 | "depth": 0, 218 | "source": "builtin", 219 | "dependencies": {} 220 | }, 221 | "com.unity.modules.unitywebrequestassetbundle": { 222 | "version": "1.0.0", 223 | "depth": 0, 224 | "source": "builtin", 225 | "dependencies": { 226 | "com.unity.modules.assetbundle": "1.0.0", 227 | "com.unity.modules.unitywebrequest": "1.0.0" 228 | } 229 | }, 230 | "com.unity.modules.unitywebrequestaudio": { 231 | "version": "1.0.0", 232 | "depth": 0, 233 | "source": "builtin", 234 | "dependencies": { 235 | "com.unity.modules.unitywebrequest": "1.0.0", 236 | "com.unity.modules.audio": "1.0.0" 237 | } 238 | }, 239 | "com.unity.modules.unitywebrequesttexture": { 240 | "version": "1.0.0", 241 | "depth": 0, 242 | "source": "builtin", 243 | "dependencies": { 244 | "com.unity.modules.unitywebrequest": "1.0.0", 245 | "com.unity.modules.imageconversion": "1.0.0" 246 | } 247 | }, 248 | "com.unity.modules.unitywebrequestwww": { 249 | "version": "1.0.0", 250 | "depth": 0, 251 | "source": "builtin", 252 | "dependencies": { 253 | "com.unity.modules.unitywebrequest": "1.0.0", 254 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 255 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 256 | "com.unity.modules.audio": "1.0.0", 257 | "com.unity.modules.assetbundle": "1.0.0", 258 | "com.unity.modules.imageconversion": "1.0.0" 259 | } 260 | }, 261 | "com.unity.modules.vehicles": { 262 | "version": "1.0.0", 263 | "depth": 0, 264 | "source": "builtin", 265 | "dependencies": { 266 | "com.unity.modules.physics": "1.0.0" 267 | } 268 | }, 269 | "com.unity.modules.video": { 270 | "version": "1.0.0", 271 | "depth": 0, 272 | "source": "builtin", 273 | "dependencies": { 274 | "com.unity.modules.audio": "1.0.0", 275 | "com.unity.modules.ui": "1.0.0", 276 | "com.unity.modules.unitywebrequest": "1.0.0" 277 | } 278 | }, 279 | "com.unity.modules.vr": { 280 | "version": "1.0.0", 281 | "depth": 0, 282 | "source": "builtin", 283 | "dependencies": { 284 | "com.unity.modules.jsonserialize": "1.0.0", 285 | "com.unity.modules.physics": "1.0.0", 286 | "com.unity.modules.xr": "1.0.0" 287 | } 288 | }, 289 | "com.unity.modules.wind": { 290 | "version": "1.0.0", 291 | "depth": 0, 292 | "source": "builtin", 293 | "dependencies": {} 294 | }, 295 | "com.unity.modules.xr": { 296 | "version": "1.0.0", 297 | "depth": 0, 298 | "source": "builtin", 299 | "dependencies": { 300 | "com.unity.modules.physics": "1.0.0", 301 | "com.unity.modules.jsonserialize": "1.0.0", 302 | "com.unity.modules.subsystems": "1.0.0" 303 | } 304 | } 305 | } 306 | } 307 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 22 7 | productGUID: 2e6f3e6bc2b51e4449d7b6fd5d9fa4dc 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: RawVATGenerator 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | mipStripping: 0 53 | numberOfMipsStripped: 0 54 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 55 | iosShowActivityIndicatorOnLoading: -1 56 | androidShowActivityIndicatorOnLoading: -1 57 | iosUseCustomAppBackgroundBehavior: 0 58 | iosAllowHTTPDownload: 1 59 | allowedAutorotateToPortrait: 1 60 | allowedAutorotateToPortraitUpsideDown: 1 61 | allowedAutorotateToLandscapeRight: 1 62 | allowedAutorotateToLandscapeLeft: 1 63 | useOSAutorotation: 1 64 | use32BitDisplayBuffer: 1 65 | preserveFramebufferAlpha: 0 66 | disableDepthAndStencilBuffers: 0 67 | androidStartInFullscreen: 1 68 | androidRenderOutsideSafeArea: 1 69 | androidUseSwappy: 1 70 | androidBlitType: 0 71 | defaultIsNativeResolution: 1 72 | macRetinaSupport: 1 73 | runInBackground: 1 74 | captureSingleScreen: 0 75 | muteOtherAudioSources: 0 76 | Prepare IOS For Recording: 0 77 | Force IOS Speakers When Recording: 0 78 | deferSystemGesturesMode: 0 79 | hideHomeButton: 0 80 | submitAnalytics: 1 81 | usePlayerLog: 1 82 | bakeCollisionMeshes: 0 83 | forceSingleInstance: 0 84 | useFlipModelSwapchain: 1 85 | resizableWindow: 0 86 | useMacAppStoreValidation: 0 87 | macAppStoreCategory: public.app-category.games 88 | gpuSkinning: 1 89 | xboxPIXTextureCapture: 0 90 | xboxEnableAvatar: 0 91 | xboxEnableKinect: 0 92 | xboxEnableKinectAutoTracking: 0 93 | xboxEnableFitness: 0 94 | visibleInBackground: 1 95 | allowFullscreenSwitch: 1 96 | fullscreenMode: 1 97 | xboxSpeechDB: 0 98 | xboxEnableHeadOrientation: 0 99 | xboxEnableGuest: 0 100 | xboxEnablePIXSampling: 0 101 | metalFramebufferOnly: 0 102 | xboxOneResolution: 0 103 | xboxOneSResolution: 0 104 | xboxOneXResolution: 3 105 | xboxOneMonoLoggingLevel: 0 106 | xboxOneLoggingLevel: 1 107 | xboxOneDisableEsram: 0 108 | xboxOneEnableTypeOptimization: 0 109 | xboxOnePresentImmediateThreshold: 0 110 | switchQueueCommandMemory: 0 111 | switchQueueControlMemory: 16384 112 | switchQueueComputeMemory: 262144 113 | switchNVNShaderPoolsGranularity: 33554432 114 | switchNVNDefaultPoolsGranularity: 16777216 115 | switchNVNOtherPoolsGranularity: 16777216 116 | switchNVNMaxPublicTextureIDCount: 0 117 | switchNVNMaxPublicSamplerIDCount: 0 118 | stadiaPresentMode: 0 119 | stadiaTargetFramerate: 0 120 | vulkanNumSwapchainBuffers: 3 121 | vulkanEnableSetSRGBWrite: 0 122 | vulkanEnablePreTransform: 0 123 | vulkanEnableLateAcquireNextImage: 0 124 | m_SupportedAspectRatios: 125 | 4:3: 1 126 | 5:4: 1 127 | 16:10: 1 128 | 16:9: 1 129 | Others: 1 130 | bundleVersion: 0.1 131 | preloadedAssets: [] 132 | metroInputSource: 0 133 | wsaTransparentSwapchain: 0 134 | m_HolographicPauseOnTrackingLoss: 1 135 | xboxOneDisableKinectGpuReservation: 1 136 | xboxOneEnable7thCore: 1 137 | vrSettings: 138 | enable360StereoCapture: 0 139 | isWsaHolographicRemotingEnabled: 0 140 | enableFrameTimingStats: 0 141 | useHDRDisplay: 0 142 | D3DHDRBitDepth: 0 143 | m_ColorGamuts: 00000000 144 | targetPixelDensity: 30 145 | resolutionScalingMode: 0 146 | androidSupportedAspectRatio: 1 147 | androidMaxAspectRatio: 2.1 148 | applicationIdentifier: {} 149 | buildNumber: 150 | Standalone: 0 151 | iPhone: 0 152 | tvOS: 0 153 | overrideDefaultApplicationIdentifier: 0 154 | AndroidBundleVersionCode: 1 155 | AndroidMinSdkVersion: 19 156 | AndroidTargetSdkVersion: 0 157 | AndroidPreferredInstallLocation: 1 158 | aotOptions: 159 | stripEngineCode: 1 160 | iPhoneStrippingLevel: 0 161 | iPhoneScriptCallOptimization: 0 162 | ForceInternetPermission: 0 163 | ForceSDCardPermission: 0 164 | CreateWallpaper: 0 165 | APKExpansionFiles: 0 166 | keepLoadedShadersAlive: 0 167 | StripUnusedMeshComponents: 1 168 | VertexChannelCompressionMask: 4054 169 | iPhoneSdkVersion: 988 170 | iOSTargetOSVersionString: 11.0 171 | tvOSSdkVersion: 0 172 | tvOSRequireExtendedGameController: 0 173 | tvOSTargetOSVersionString: 11.0 174 | uIPrerenderedIcon: 0 175 | uIRequiresPersistentWiFi: 0 176 | uIRequiresFullScreen: 1 177 | uIStatusBarHidden: 1 178 | uIExitOnSuspend: 0 179 | uIStatusBarStyle: 0 180 | appleTVSplashScreen: {fileID: 0} 181 | appleTVSplashScreen2x: {fileID: 0} 182 | tvOSSmallIconLayers: [] 183 | tvOSSmallIconLayers2x: [] 184 | tvOSLargeIconLayers: [] 185 | tvOSLargeIconLayers2x: [] 186 | tvOSTopShelfImageLayers: [] 187 | tvOSTopShelfImageLayers2x: [] 188 | tvOSTopShelfImageWideLayers: [] 189 | tvOSTopShelfImageWideLayers2x: [] 190 | iOSLaunchScreenType: 0 191 | iOSLaunchScreenPortrait: {fileID: 0} 192 | iOSLaunchScreenLandscape: {fileID: 0} 193 | iOSLaunchScreenBackgroundColor: 194 | serializedVersion: 2 195 | rgba: 0 196 | iOSLaunchScreenFillPct: 100 197 | iOSLaunchScreenSize: 100 198 | iOSLaunchScreenCustomXibPath: 199 | iOSLaunchScreeniPadType: 0 200 | iOSLaunchScreeniPadImage: {fileID: 0} 201 | iOSLaunchScreeniPadBackgroundColor: 202 | serializedVersion: 2 203 | rgba: 0 204 | iOSLaunchScreeniPadFillPct: 100 205 | iOSLaunchScreeniPadSize: 100 206 | iOSLaunchScreeniPadCustomXibPath: 207 | iOSLaunchScreenCustomStoryboardPath: 208 | iOSLaunchScreeniPadCustomStoryboardPath: 209 | iOSDeviceRequirements: [] 210 | iOSURLSchemes: [] 211 | iOSBackgroundModes: 0 212 | iOSMetalForceHardShadows: 0 213 | metalEditorSupport: 1 214 | metalAPIValidation: 1 215 | iOSRenderExtraFrameOnPause: 0 216 | iosCopyPluginsCodeInsteadOfSymlink: 0 217 | appleDeveloperTeamID: 218 | iOSManualSigningProvisioningProfileID: 219 | tvOSManualSigningProvisioningProfileID: 220 | iOSManualSigningProvisioningProfileType: 0 221 | tvOSManualSigningProvisioningProfileType: 0 222 | appleEnableAutomaticSigning: 0 223 | iOSRequireARKit: 0 224 | iOSAutomaticallyDetectAndAddCapabilities: 1 225 | appleEnableProMotion: 0 226 | shaderPrecisionModel: 0 227 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 228 | templatePackageId: com.unity.template.3d@5.0.4 229 | templateDefaultScene: Assets/Scenes/SampleScene.unity 230 | useCustomMainManifest: 0 231 | useCustomLauncherManifest: 0 232 | useCustomMainGradleTemplate: 0 233 | useCustomLauncherGradleManifest: 0 234 | useCustomBaseGradleTemplate: 0 235 | useCustomGradlePropertiesTemplate: 0 236 | useCustomProguardFile: 0 237 | AndroidTargetArchitectures: 1 238 | AndroidSplashScreenScale: 0 239 | androidSplashScreen: {fileID: 0} 240 | AndroidKeystoreName: 241 | AndroidKeyaliasName: 242 | AndroidBuildApkPerCpuArchitecture: 0 243 | AndroidTVCompatibility: 0 244 | AndroidIsGame: 1 245 | AndroidEnableTango: 0 246 | androidEnableBanner: 1 247 | androidUseLowAccuracyLocation: 0 248 | androidUseCustomKeystore: 0 249 | m_AndroidBanners: 250 | - width: 320 251 | height: 180 252 | banner: {fileID: 0} 253 | androidGamepadSupportLevel: 0 254 | AndroidMinifyWithR8: 0 255 | AndroidMinifyRelease: 0 256 | AndroidMinifyDebug: 0 257 | AndroidValidateAppBundleSize: 1 258 | AndroidAppBundleSizeToValidate: 150 259 | m_BuildTargetIcons: [] 260 | m_BuildTargetPlatformIcons: [] 261 | m_BuildTargetBatching: 262 | - m_BuildTarget: Standalone 263 | m_StaticBatching: 1 264 | m_DynamicBatching: 0 265 | - m_BuildTarget: tvOS 266 | m_StaticBatching: 1 267 | m_DynamicBatching: 0 268 | - m_BuildTarget: Android 269 | m_StaticBatching: 1 270 | m_DynamicBatching: 0 271 | - m_BuildTarget: iPhone 272 | m_StaticBatching: 1 273 | m_DynamicBatching: 0 274 | - m_BuildTarget: WebGL 275 | m_StaticBatching: 0 276 | m_DynamicBatching: 0 277 | m_BuildTargetGraphicsJobs: 278 | - m_BuildTarget: MacStandaloneSupport 279 | m_GraphicsJobs: 0 280 | - m_BuildTarget: Switch 281 | m_GraphicsJobs: 1 282 | - m_BuildTarget: MetroSupport 283 | m_GraphicsJobs: 1 284 | - m_BuildTarget: AppleTVSupport 285 | m_GraphicsJobs: 0 286 | - m_BuildTarget: BJMSupport 287 | m_GraphicsJobs: 1 288 | - m_BuildTarget: LinuxStandaloneSupport 289 | m_GraphicsJobs: 1 290 | - m_BuildTarget: PS4Player 291 | m_GraphicsJobs: 1 292 | - m_BuildTarget: iOSSupport 293 | m_GraphicsJobs: 0 294 | - m_BuildTarget: WindowsStandaloneSupport 295 | m_GraphicsJobs: 1 296 | - m_BuildTarget: XboxOnePlayer 297 | m_GraphicsJobs: 1 298 | - m_BuildTarget: LuminSupport 299 | m_GraphicsJobs: 0 300 | - m_BuildTarget: AndroidPlayer 301 | m_GraphicsJobs: 0 302 | - m_BuildTarget: WebGLSupport 303 | m_GraphicsJobs: 0 304 | m_BuildTargetGraphicsJobMode: 305 | - m_BuildTarget: PS4Player 306 | m_GraphicsJobMode: 0 307 | - m_BuildTarget: XboxOnePlayer 308 | m_GraphicsJobMode: 0 309 | m_BuildTargetGraphicsAPIs: 310 | - m_BuildTarget: AndroidPlayer 311 | m_APIs: 150000000b000000 312 | m_Automatic: 0 313 | - m_BuildTarget: iOSSupport 314 | m_APIs: 10000000 315 | m_Automatic: 1 316 | - m_BuildTarget: AppleTVSupport 317 | m_APIs: 10000000 318 | m_Automatic: 1 319 | - m_BuildTarget: WebGLSupport 320 | m_APIs: 0b000000 321 | m_Automatic: 1 322 | m_BuildTargetVRSettings: 323 | - m_BuildTarget: Standalone 324 | m_Enabled: 0 325 | m_Devices: 326 | - Oculus 327 | - OpenVR 328 | openGLRequireES31: 0 329 | openGLRequireES31AEP: 0 330 | openGLRequireES32: 0 331 | m_TemplateCustomTags: {} 332 | mobileMTRendering: 333 | Android: 1 334 | iPhone: 1 335 | tvOS: 1 336 | m_BuildTargetGroupLightmapEncodingQuality: [] 337 | m_BuildTargetGroupLightmapSettings: [] 338 | m_BuildTargetNormalMapEncoding: [] 339 | playModeTestRunnerEnabled: 0 340 | runPlayModeTestAsEditModeTest: 0 341 | actionOnDotNetUnhandledException: 1 342 | enableInternalProfiler: 0 343 | logObjCUncaughtExceptions: 1 344 | enableCrashReportAPI: 0 345 | cameraUsageDescription: 346 | locationUsageDescription: 347 | microphoneUsageDescription: 348 | switchNMETAOverride: 349 | switchNetLibKey: 350 | switchSocketMemoryPoolSize: 6144 351 | switchSocketAllocatorPoolSize: 128 352 | switchSocketConcurrencyLimit: 14 353 | switchScreenResolutionBehavior: 2 354 | switchUseCPUProfiler: 0 355 | switchUseGOLDLinker: 0 356 | switchApplicationID: 0x01004b9000490000 357 | switchNSODependencies: 358 | switchTitleNames_0: 359 | switchTitleNames_1: 360 | switchTitleNames_2: 361 | switchTitleNames_3: 362 | switchTitleNames_4: 363 | switchTitleNames_5: 364 | switchTitleNames_6: 365 | switchTitleNames_7: 366 | switchTitleNames_8: 367 | switchTitleNames_9: 368 | switchTitleNames_10: 369 | switchTitleNames_11: 370 | switchTitleNames_12: 371 | switchTitleNames_13: 372 | switchTitleNames_14: 373 | switchTitleNames_15: 374 | switchPublisherNames_0: 375 | switchPublisherNames_1: 376 | switchPublisherNames_2: 377 | switchPublisherNames_3: 378 | switchPublisherNames_4: 379 | switchPublisherNames_5: 380 | switchPublisherNames_6: 381 | switchPublisherNames_7: 382 | switchPublisherNames_8: 383 | switchPublisherNames_9: 384 | switchPublisherNames_10: 385 | switchPublisherNames_11: 386 | switchPublisherNames_12: 387 | switchPublisherNames_13: 388 | switchPublisherNames_14: 389 | switchPublisherNames_15: 390 | switchIcons_0: {fileID: 0} 391 | switchIcons_1: {fileID: 0} 392 | switchIcons_2: {fileID: 0} 393 | switchIcons_3: {fileID: 0} 394 | switchIcons_4: {fileID: 0} 395 | switchIcons_5: {fileID: 0} 396 | switchIcons_6: {fileID: 0} 397 | switchIcons_7: {fileID: 0} 398 | switchIcons_8: {fileID: 0} 399 | switchIcons_9: {fileID: 0} 400 | switchIcons_10: {fileID: 0} 401 | switchIcons_11: {fileID: 0} 402 | switchIcons_12: {fileID: 0} 403 | switchIcons_13: {fileID: 0} 404 | switchIcons_14: {fileID: 0} 405 | switchIcons_15: {fileID: 0} 406 | switchSmallIcons_0: {fileID: 0} 407 | switchSmallIcons_1: {fileID: 0} 408 | switchSmallIcons_2: {fileID: 0} 409 | switchSmallIcons_3: {fileID: 0} 410 | switchSmallIcons_4: {fileID: 0} 411 | switchSmallIcons_5: {fileID: 0} 412 | switchSmallIcons_6: {fileID: 0} 413 | switchSmallIcons_7: {fileID: 0} 414 | switchSmallIcons_8: {fileID: 0} 415 | switchSmallIcons_9: {fileID: 0} 416 | switchSmallIcons_10: {fileID: 0} 417 | switchSmallIcons_11: {fileID: 0} 418 | switchSmallIcons_12: {fileID: 0} 419 | switchSmallIcons_13: {fileID: 0} 420 | switchSmallIcons_14: {fileID: 0} 421 | switchSmallIcons_15: {fileID: 0} 422 | switchManualHTML: 423 | switchAccessibleURLs: 424 | switchLegalInformation: 425 | switchMainThreadStackSize: 1048576 426 | switchPresenceGroupId: 427 | switchLogoHandling: 0 428 | switchReleaseVersion: 0 429 | switchDisplayVersion: 1.0.0 430 | switchStartupUserAccount: 0 431 | switchTouchScreenUsage: 0 432 | switchSupportedLanguagesMask: 0 433 | switchLogoType: 0 434 | switchApplicationErrorCodeCategory: 435 | switchUserAccountSaveDataSize: 0 436 | switchUserAccountSaveDataJournalSize: 0 437 | switchApplicationAttribute: 0 438 | switchCardSpecSize: -1 439 | switchCardSpecClock: -1 440 | switchRatingsMask: 0 441 | switchRatingsInt_0: 0 442 | switchRatingsInt_1: 0 443 | switchRatingsInt_2: 0 444 | switchRatingsInt_3: 0 445 | switchRatingsInt_4: 0 446 | switchRatingsInt_5: 0 447 | switchRatingsInt_6: 0 448 | switchRatingsInt_7: 0 449 | switchRatingsInt_8: 0 450 | switchRatingsInt_9: 0 451 | switchRatingsInt_10: 0 452 | switchRatingsInt_11: 0 453 | switchRatingsInt_12: 0 454 | switchLocalCommunicationIds_0: 455 | switchLocalCommunicationIds_1: 456 | switchLocalCommunicationIds_2: 457 | switchLocalCommunicationIds_3: 458 | switchLocalCommunicationIds_4: 459 | switchLocalCommunicationIds_5: 460 | switchLocalCommunicationIds_6: 461 | switchLocalCommunicationIds_7: 462 | switchParentalControl: 0 463 | switchAllowsScreenshot: 1 464 | switchAllowsVideoCapturing: 1 465 | switchAllowsRuntimeAddOnContentInstall: 0 466 | switchDataLossConfirmation: 0 467 | switchUserAccountLockEnabled: 0 468 | switchSystemResourceMemory: 16777216 469 | switchSupportedNpadStyles: 22 470 | switchNativeFsCacheSize: 32 471 | switchIsHoldTypeHorizontal: 0 472 | switchSupportedNpadCount: 8 473 | switchSocketConfigEnabled: 0 474 | switchTcpInitialSendBufferSize: 32 475 | switchTcpInitialReceiveBufferSize: 64 476 | switchTcpAutoSendBufferSizeMax: 256 477 | switchTcpAutoReceiveBufferSizeMax: 256 478 | switchUdpSendBufferSize: 9 479 | switchUdpReceiveBufferSize: 42 480 | switchSocketBufferEfficiency: 4 481 | switchSocketInitializeEnabled: 1 482 | switchNetworkInterfaceManagerInitializeEnabled: 1 483 | switchPlayerConnectionEnabled: 1 484 | switchUseNewStyleFilepaths: 0 485 | ps4NPAgeRating: 12 486 | ps4NPTitleSecret: 487 | ps4NPTrophyPackPath: 488 | ps4ParentalLevel: 11 489 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 490 | ps4Category: 0 491 | ps4MasterVersion: 01.00 492 | ps4AppVersion: 01.00 493 | ps4AppType: 0 494 | ps4ParamSfxPath: 495 | ps4VideoOutPixelFormat: 0 496 | ps4VideoOutInitialWidth: 1920 497 | ps4VideoOutBaseModeInitialWidth: 1920 498 | ps4VideoOutReprojectionRate: 60 499 | ps4PronunciationXMLPath: 500 | ps4PronunciationSIGPath: 501 | ps4BackgroundImagePath: 502 | ps4StartupImagePath: 503 | ps4StartupImagesFolder: 504 | ps4IconImagesFolder: 505 | ps4SaveDataImagePath: 506 | ps4SdkOverride: 507 | ps4BGMPath: 508 | ps4ShareFilePath: 509 | ps4ShareOverlayImagePath: 510 | ps4PrivacyGuardImagePath: 511 | ps4ExtraSceSysFile: 512 | ps4NPtitleDatPath: 513 | ps4RemotePlayKeyAssignment: -1 514 | ps4RemotePlayKeyMappingDir: 515 | ps4PlayTogetherPlayerCount: 0 516 | ps4EnterButtonAssignment: 1 517 | ps4ApplicationParam1: 0 518 | ps4ApplicationParam2: 0 519 | ps4ApplicationParam3: 0 520 | ps4ApplicationParam4: 0 521 | ps4DownloadDataSize: 0 522 | ps4GarlicHeapSize: 2048 523 | ps4ProGarlicHeapSize: 2560 524 | playerPrefsMaxSize: 32768 525 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 526 | ps4pnSessions: 1 527 | ps4pnPresence: 1 528 | ps4pnFriends: 1 529 | ps4pnGameCustomData: 1 530 | playerPrefsSupport: 0 531 | enableApplicationExit: 0 532 | resetTempFolder: 1 533 | restrictedAudioUsageRights: 0 534 | ps4UseResolutionFallback: 0 535 | ps4ReprojectionSupport: 0 536 | ps4UseAudio3dBackend: 0 537 | ps4UseLowGarlicFragmentationMode: 1 538 | ps4SocialScreenEnabled: 0 539 | ps4ScriptOptimizationLevel: 0 540 | ps4Audio3dVirtualSpeakerCount: 14 541 | ps4attribCpuUsage: 0 542 | ps4PatchPkgPath: 543 | ps4PatchLatestPkgPath: 544 | ps4PatchChangeinfoPath: 545 | ps4PatchDayOne: 0 546 | ps4attribUserManagement: 0 547 | ps4attribMoveSupport: 0 548 | ps4attrib3DSupport: 0 549 | ps4attribShareSupport: 0 550 | ps4attribExclusiveVR: 0 551 | ps4disableAutoHideSplash: 0 552 | ps4videoRecordingFeaturesUsed: 0 553 | ps4contentSearchFeaturesUsed: 0 554 | ps4CompatibilityPS5: 0 555 | ps4GPU800MHz: 1 556 | ps4attribEyeToEyeDistanceSettingVR: 0 557 | ps4IncludedModules: [] 558 | ps4attribVROutputEnabled: 0 559 | monoEnv: 560 | splashScreenBackgroundSourceLandscape: {fileID: 0} 561 | splashScreenBackgroundSourcePortrait: {fileID: 0} 562 | blurSplashScreenBackground: 1 563 | spritePackerPolicy: 564 | webGLMemorySize: 16 565 | webGLExceptionSupport: 1 566 | webGLNameFilesAsHashes: 0 567 | webGLDataCaching: 1 568 | webGLDebugSymbols: 0 569 | webGLEmscriptenArgs: 570 | webGLModulesDirectory: 571 | webGLTemplate: APPLICATION:Default 572 | webGLAnalyzeBuildSize: 0 573 | webGLUseEmbeddedResources: 0 574 | webGLCompressionFormat: 1 575 | webGLWasmArithmeticExceptions: 0 576 | webGLLinkerTarget: 1 577 | webGLThreadsSupport: 0 578 | webGLDecompressionFallback: 0 579 | scriptingDefineSymbols: {} 580 | additionalCompilerArguments: {} 581 | platformArchitecture: {} 582 | scriptingBackend: {} 583 | il2cppCompilerConfiguration: {} 584 | managedStrippingLevel: {} 585 | incrementalIl2cppBuild: {} 586 | suppressCommonWarnings: 1 587 | allowUnsafeCode: 0 588 | useDeterministicCompilation: 1 589 | useReferenceAssemblies: 1 590 | enableRoslynAnalyzers: 1 591 | additionalIl2CppArgs: 592 | scriptingRuntimeVersion: 1 593 | gcIncremental: 1 594 | assemblyVersionValidation: 1 595 | gcWBarrierValidation: 0 596 | apiCompatibilityLevelPerPlatform: {} 597 | m_RenderingPath: 1 598 | m_MobileRenderingPath: 1 599 | metroPackageName: Template_3D 600 | metroPackageVersion: 601 | metroCertificatePath: 602 | metroCertificatePassword: 603 | metroCertificateSubject: 604 | metroCertificateIssuer: 605 | metroCertificateNotAfter: 0000000000000000 606 | metroApplicationDescription: Template_3D 607 | wsaImages: {} 608 | metroTileShortName: 609 | metroTileShowName: 0 610 | metroMediumTileShowName: 0 611 | metroLargeTileShowName: 0 612 | metroWideTileShowName: 0 613 | metroSupportStreamingInstall: 0 614 | metroLastRequiredScene: 0 615 | metroDefaultTileSize: 1 616 | metroTileForegroundText: 2 617 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 618 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} 619 | metroSplashScreenUseBackgroundColor: 0 620 | platformCapabilities: {} 621 | metroTargetDeviceFamilies: {} 622 | metroFTAName: 623 | metroFTAFileTypes: [] 624 | metroProtocolName: 625 | XboxOneProductId: 626 | XboxOneUpdateKey: 627 | XboxOneSandboxId: 628 | XboxOneContentId: 629 | XboxOneTitleId: 630 | XboxOneSCId: 631 | XboxOneGameOsOverridePath: 632 | XboxOnePackagingOverridePath: 633 | XboxOneAppManifestOverridePath: 634 | XboxOneVersion: 1.0.0.0 635 | XboxOnePackageEncryption: 0 636 | XboxOnePackageUpdateGranularity: 2 637 | XboxOneDescription: 638 | XboxOneLanguage: 639 | - enus 640 | XboxOneCapability: [] 641 | XboxOneGameRating: {} 642 | XboxOneIsContentPackage: 0 643 | XboxOneEnhancedXboxCompatibilityMode: 0 644 | XboxOneEnableGPUVariability: 1 645 | XboxOneSockets: {} 646 | XboxOneSplashScreen: {fileID: 0} 647 | XboxOneAllowedProductIds: [] 648 | XboxOnePersistentLocalStorageSize: 0 649 | XboxOneXTitleMemory: 8 650 | XboxOneOverrideIdentityName: 651 | XboxOneOverrideIdentityPublisher: 652 | vrEditorSettings: {} 653 | cloudServicesEnabled: 654 | UNet: 1 655 | luminIcon: 656 | m_Name: 657 | m_ModelFolderPath: 658 | m_PortalFolderPath: 659 | luminCert: 660 | m_CertPath: 661 | m_SignPackage: 1 662 | luminIsChannelApp: 0 663 | luminVersion: 664 | m_VersionCode: 1 665 | m_VersionName: 666 | apiCompatibilityLevel: 6 667 | activeInputHandler: 0 668 | cloudProjectId: 669 | framebufferDepthMemorylessMode: 0 670 | qualitySettingsNames: [] 671 | projectName: 672 | organizationId: 673 | cloudEnabled: 0 674 | legacyClampBlendShapeWeights: 0 675 | virtualTexturingSupportEnabled: 0 676 | --------------------------------------------------------------------------------