├── .gitignore ├── 1.png ├── Assets ├── Resources.meta ├── Resources │ ├── 2Dshuiwei.prefab │ ├── 2Dshuiwei.prefab.meta │ ├── 3DEffectPrefab.meta │ ├── 3DEffectPrefab │ │ ├── 3Dshuiwei.prefab │ │ └── 3Dshuiwei.prefab.meta │ ├── Mat.meta │ ├── Mat │ │ ├── WaterMaterials.meta │ │ └── WaterMaterials │ │ │ ├── m_glow_07.mat │ │ │ ├── m_glow_07.mat.meta │ │ │ ├── m_longwang_02.mat │ │ │ ├── m_longwang_02.mat.meta │ │ │ ├── m_longwang_02_01.mat │ │ │ ├── m_longwang_02_01.mat.meta │ │ │ ├── m_longwang_03.mat │ │ │ ├── m_longwang_03.mat.meta │ │ │ ├── m_longwang_04.mat │ │ │ ├── m_longwang_04.mat.meta │ │ │ ├── m_obj0d015_1_qipao.mat │ │ │ └── m_obj0d015_1_qipao.mat.meta │ ├── Model.meta │ ├── Model │ │ ├── m_plane_l_001.FBX │ │ └── m_plane_l_001.FBX.meta │ ├── Shader.meta │ ├── Shader │ │ ├── Mobile_UVAnim(Additive).shader │ │ ├── Mobile_UVAnim(Additive).shader.meta │ │ ├── Particle Add UGUI Clip.shader │ │ ├── Particle Add UGUI Clip.shader.meta │ │ ├── Particle Add.shader │ │ ├── Particle Add.shader.meta │ │ ├── effect_distort_UVanima(add).shader │ │ ├── effect_distort_UVanima(add).shader.meta │ │ ├── effect_distort_blend.shader │ │ └── effect_distort_blend.shader.meta │ ├── Texture.meta │ └── Texture │ │ ├── WaterTexture.meta │ │ └── WaterTexture │ │ ├── e_glow_07.tga │ │ ├── e_glow_07.tga.meta │ │ ├── t_longwang_02.png │ │ ├── t_longwang_02.png.meta │ │ ├── t_longwang_03.png │ │ ├── t_longwang_03.png.meta │ │ ├── t_longwang_04.png │ │ ├── t_longwang_04.png.meta │ │ ├── t_obj0d015_1_qipao.tga │ │ ├── t_obj0d015_1_qipao.tga.meta │ │ ├── t_wenli_28.png │ │ ├── t_wenli_28.png.meta │ │ ├── wenli_00041_1.png │ │ └── wenli_00041_1.png.meta ├── Scenes.meta ├── Scenes │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── Test.cs ├── Test.cs.meta ├── UIParticles.meta └── UIParticles │ ├── Editor.meta │ ├── Editor │ ├── MenuOption.cs │ ├── MenuOption.cs.meta │ ├── UiParticlesEditor.cs │ └── UiParticlesEditor.cs.meta │ ├── Examples.meta │ ├── Examples │ ├── Demo.unity │ ├── Demo.unity.meta │ ├── Documentation.pdf │ ├── Documentation.pdf.meta │ ├── Materials.meta │ ├── Materials │ │ ├── BlueSparks.mat │ │ ├── BlueSparks.mat.meta │ │ ├── ButtonSparks 1.mat │ │ ├── ButtonSparks 1.mat.meta │ │ ├── ButtonSparks.mat │ │ ├── ButtonSparks.mat.meta │ │ ├── DistortionBlue.mat │ │ ├── DistortionBlue.mat.meta │ │ ├── DistortionGreen.mat │ │ ├── DistortionGreen.mat.meta │ │ ├── DistortionRed.mat │ │ ├── DistortionRed.mat.meta │ │ ├── Fire.mat │ │ ├── Fire.mat.meta │ │ ├── StretchedSparks.mat │ │ └── StretchedSparks.mat.meta │ ├── Menu.prefab │ ├── Menu.prefab.meta │ ├── Panel.prefab │ ├── Panel.prefab.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── SwitchPanels.cs │ │ └── SwitchPanels.cs.meta │ ├── Sprites.meta │ ├── Sprites │ │ ├── button_blue.png │ │ ├── button_blue.png.meta │ │ ├── button_blue_pressed.png │ │ ├── button_blue_pressed.png.meta │ │ ├── button_green.png │ │ ├── button_green.png.meta │ │ ├── button_green_pressed.png │ │ ├── button_green_pressed.png.meta │ │ ├── button_yellow.png │ │ ├── button_yellow.png.meta │ │ ├── button_yellow_pressed.png │ │ ├── button_yellow_pressed.png.meta │ │ ├── shape_card.png │ │ └── shape_card.png.meta │ ├── Textures.meta │ └── Textures │ │ ├── FireGlowTwoColor.png │ │ ├── FireGlowTwoColor.png.meta │ │ ├── SmokeTile.png │ │ ├── SmokeTile.png.meta │ │ ├── Sparks.png │ │ └── Sparks.png.meta │ ├── Scripts.meta │ ├── Scripts │ ├── SetPropertyUtility.cs │ ├── SetPropertyUtility.cs.meta │ ├── UiParticles.cs │ └── UiParticles.cs.meta │ ├── Shaders.meta │ ├── Shaders │ ├── UI Particle Alpha Blend.shader │ ├── UI Particle Alpha Blend.shader.meta │ ├── Ui Glow Additive Simple.shader │ ├── Ui Glow Additive Simple.shader.meta │ ├── Ui Particle Add.shader │ ├── Ui Particle Add.shader.meta │ ├── Ui Particle Multiply.shader │ └── Ui Particle Multiply.shader.meta │ ├── version.txt │ └── version.txt.meta ├── Packages └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset └── XRSettings.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Mm]emoryCaptures/ 12 | 13 | # Asset meta data should only be ignored when the corresponding asset is also ignored 14 | !/[Aa]ssets/**/*.meta 15 | 16 | # Uncomment this line if you wish to ignore the asset store tools plugin 17 | # /[Aa]ssets/AssetStoreTools* 18 | 19 | # Autogenerated Jetbrains Rider plugin 20 | [Aa]ssets/Plugins/Editor/JetBrains* 21 | 22 | # Visual Studio cache directory 23 | .vs/ 24 | 25 | # Gradle cache directory 26 | .gradle/ 27 | 28 | # Autogenerated VS/MD/Consulo solution and project files 29 | ExportedObj/ 30 | .consulo/ 31 | *.csproj 32 | *.unityproj 33 | *.sln 34 | *.suo 35 | *.tmp 36 | *.user 37 | *.userprefs 38 | *.pidb 39 | *.booproj 40 | *.svd 41 | *.pdb 42 | *.mdb 43 | *.opendb 44 | *.VC.db 45 | 46 | # Unity3D generated meta files 47 | *.pidb.meta 48 | *.pdb.meta 49 | *.mdb.meta 50 | 51 | # Unity3D generated file on crash reports 52 | sysinfo.txt 53 | 54 | # Builds 55 | *.apk 56 | *.unitypackage 57 | 58 | # Crashlytics generated file 59 | crashlytics-build.properties 60 | 61 | -------------------------------------------------------------------------------- /1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/1.png -------------------------------------------------------------------------------- /Assets/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38c43f72010dba647b70655127fbcfb9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/2Dshuiwei.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6216b2993308b584bb5c73ff675f2dcc 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Resources/3DEffectPrefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46ec9d6ca79e27f44ace62fc2cc38723 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/3DEffectPrefab/3Dshuiwei.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5fb2c3a94766a474d99d6544eaad4308 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ec9be34f2882944992efe6889467951 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Mat/WaterMaterials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91d6b844a7a4a404388c6ca5383c4b97 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Mat/WaterMaterials/m_glow_07.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: m_glow_07 10 | m_Shader: {fileID: 4800000, guid: eb6e7ae85f985484b98acc477fed523f, type: 3} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _MainTex: 22 | m_Texture: {fileID: 2800000, guid: 61cc84c3bd59851408e4aaf96da0afd7, type: 3} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | m_Floats: 26 | - _InvFade: 1 27 | m_Colors: 28 | - _TintColor: {r: 1, g: 1, b: 1, a: 1} 29 | -------------------------------------------------------------------------------- /Assets/Resources/Mat/WaterMaterials/m_glow_07.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cab586025b1f8a343980d0394ec3eaa9 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Mat/WaterMaterials/m_longwang_02.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: m_longwang_02 10 | m_Shader: {fileID: 4800000, guid: 18c92240ec9c0cb48b81653b4e28cfe3, type: 3} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _MainTex: 22 | m_Texture: {fileID: 2800000, guid: b7f76449ac8496b4cb69f535f76bdced, type: 3} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _NoiseTex: 26 | m_Texture: {fileID: 2800000, guid: 16d66bd9bd215084d9d0c2a25a4360c4, type: 3} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | m_Floats: 30 | - _ForceX: 0.01 31 | - _ForceY: 0 32 | - _HeatTime: 0.1 33 | - _InvFade: 1 34 | - _ScrollX: 6 35 | - _ScrollY: 0 36 | m_Colors: 37 | - _Color: {r: 1, g: 1, b: 1, a: 1} 38 | - _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} 39 | -------------------------------------------------------------------------------- /Assets/Resources/Mat/WaterMaterials/m_longwang_02.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc4d0cc47c5cb8544b046b4491b50e5e 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Mat/WaterMaterials/m_longwang_02_01.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: m_longwang_02_01 10 | m_Shader: {fileID: 4800000, guid: 18c92240ec9c0cb48b81653b4e28cfe3, type: 3} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: 3001 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _MainTex: 22 | m_Texture: {fileID: 2800000, guid: b7f76449ac8496b4cb69f535f76bdced, type: 3} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _NoiseTex: 26 | m_Texture: {fileID: 2800000, guid: 16d66bd9bd215084d9d0c2a25a4360c4, type: 3} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | m_Floats: 30 | - _ForceX: 0.01 31 | - _ForceY: 0 32 | - _HeatTime: 0.1 33 | - _InvFade: 1 34 | - _ScrollX: 6 35 | - _ScrollY: 0 36 | m_Colors: 37 | - _Color: {r: 1, g: 1, b: 1, a: 1} 38 | - _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} 39 | -------------------------------------------------------------------------------- /Assets/Resources/Mat/WaterMaterials/m_longwang_02_01.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f64e3e69279580542b228eaec8c91515 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Mat/WaterMaterials/m_longwang_03.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: m_longwang_03 10 | m_Shader: {fileID: 4800000, guid: 69671ba0c6949a74b9916689f08052d7, type: 3} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: 3002 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _MainTex: 22 | m_Texture: {fileID: 2800000, guid: 275264598a8f95544a388a925a71a8e2, type: 3} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: -0.05} 25 | - _NoiseTex: 26 | m_Texture: {fileID: 2800000, guid: 71b19b578741d5d4da8d52c8593ba969, type: 3} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | m_Floats: 30 | - _ForceX: 0.4 31 | - _ForceY: 0 32 | - _HeatTime: 0 33 | - _SpeedX: 7 34 | - _SpeedY: 0 35 | m_Colors: 36 | - _TintColor: {r: 0.5514706, g: 0.5514706, b: 0.5514706, a: 0.5} 37 | -------------------------------------------------------------------------------- /Assets/Resources/Mat/WaterMaterials/m_longwang_03.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aedd9f26790e0f844b10365195e5f78c 3 | timeCreated: 1544448026 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Resources/Mat/WaterMaterials/m_longwang_04.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: m_longwang_04 10 | m_Shader: {fileID: 4800000, guid: 7f1d067463e6ddb4f8b8575162faf7f7, type: 3} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: 3000 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _MainTex: 22 | m_Texture: {fileID: 2800000, guid: 70765d7256df7bc48aad8b17ad553cbf, type: 3} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _NoiseTex: 26 | m_Texture: {fileID: 2800000, guid: 16d66bd9bd215084d9d0c2a25a4360c4, type: 3} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | m_Floats: 30 | - _ForceX: 0 31 | - _ForceY: 0 32 | - _HeatTime: 0 33 | - _InvFade: 1 34 | - _ScrollX: 6 35 | - _ScrollY: 0 36 | m_Colors: 37 | - _Color: {r: 1, g: 1, b: 1, a: 1} 38 | - _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} 39 | -------------------------------------------------------------------------------- /Assets/Resources/Mat/WaterMaterials/m_longwang_04.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 503f445a2b5ca2f4cba5d271859608e0 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Mat/WaterMaterials/m_obj0d015_1_qipao.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: m_obj0d015_1_qipao 10 | m_Shader: {fileID: 4800000, guid: c7a1c9b8c2f711c47b877e6f72c32798, type: 3} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _MainTex: 22 | m_Texture: {fileID: 2800000, guid: 810794e7c174a554b8228c3ed0db6d25, type: 3} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | m_Floats: 26 | - _InvFade: 1 27 | m_Colors: 28 | - _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} 29 | -------------------------------------------------------------------------------- /Assets/Resources/Mat/WaterMaterials/m_obj0d015_1_qipao.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e3abc115891ec14e969f430dd613cbc 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Model.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6392649138ca6744085c1af20973d07b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Model/m_plane_l_001.FBX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/Resources/Model/m_plane_l_001.FBX -------------------------------------------------------------------------------- /Assets/Resources/Model/m_plane_l_001.FBX.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b00cae0d73481147ad6a1fd59b79116 3 | ModelImporter: 4 | serializedVersion: 22 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2100000: No Name 9 | 2300000: //RootNode 10 | 3300000: //RootNode 11 | 4300000: Plane001 12 | 9500000: //RootNode 13 | 11400000: //RootNode 14 | externalObjects: 15 | - first: 16 | type: UnityEngine:Material 17 | assembly: UnityEngine.CoreModule 18 | name: No Name 19 | second: {fileID: 2100000, guid: c130f9334f7a4184484a425cecc7afce, type: 2} 20 | materials: 21 | importMaterials: 1 22 | materialName: 0 23 | materialSearch: 1 24 | materialLocation: 1 25 | animations: 26 | legacyGenerateAnimations: 4 27 | bakeSimulation: 0 28 | resampleCurves: 1 29 | optimizeGameObjects: 0 30 | motionNodeName: 31 | rigImportErrors: 32 | rigImportWarnings: 33 | animationImportErrors: 34 | animationImportWarnings: 35 | animationRetargetingWarnings: 36 | animationDoRetargetingWarnings: 0 37 | importAnimatedCustomProperties: 0 38 | animationCompression: 1 39 | animationRotationError: 0.5 40 | animationPositionError: 0.5 41 | animationScaleError: 0.5 42 | animationWrapMode: 0 43 | extraExposedTransformPaths: [] 44 | extraUserProperties: [] 45 | clipAnimations: [] 46 | isReadable: 1 47 | meshes: 48 | lODScreenPercentages: [] 49 | globalScale: 1 50 | meshCompression: 0 51 | addColliders: 0 52 | importVisibility: 0 53 | importBlendShapes: 0 54 | importCameras: 0 55 | importLights: 0 56 | swapUVChannels: 0 57 | generateSecondaryUV: 0 58 | useFileUnits: 1 59 | optimizeMeshForGPU: 1 60 | keepQuads: 0 61 | weldVertices: 1 62 | preserveHierarchy: 0 63 | indexFormat: 1 64 | secondaryUVAngleDistortion: 8 65 | secondaryUVAreaDistortion: 15.000001 66 | secondaryUVHardAngle: 88 67 | secondaryUVPackMargin: 4 68 | useFileScale: 1 69 | tangentSpace: 70 | normalSmoothAngle: 60 71 | normalImportMode: 0 72 | tangentImportMode: 3 73 | normalCalculationMode: 0 74 | importAnimation: 0 75 | copyAvatar: 0 76 | humanDescription: 77 | serializedVersion: 2 78 | human: [] 79 | skeleton: [] 80 | armTwist: 0.5 81 | foreArmTwist: 0.5 82 | upperLegTwist: 0.5 83 | legTwist: 0.5 84 | armStretch: 0.05 85 | legStretch: 0.05 86 | feetSpacing: 0 87 | rootMotionBoneName: 88 | rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} 89 | hasTranslationDoF: 0 90 | hasExtraRoot: 0 91 | skeletonHasParents: 0 92 | lastHumanDescriptionAvatarSource: {instanceID: 0} 93 | animationType: 0 94 | humanoidOversampling: 1 95 | additionalBone: 0 96 | userData: 97 | assetBundleName: 98 | assetBundleVariant: 99 | -------------------------------------------------------------------------------- /Assets/Resources/Shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42f330da167ac9a418fc46872948a98c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Shader/Mobile_UVAnim(Additive).shader: -------------------------------------------------------------------------------- 1 | // Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' 2 | 3 | Shader "CQ2/Effect/Mobile_UVAnim(ADD)" { 4 | Properties { 5 | _Color ("Main Color", Color) = (1,1,1,1) 6 | _MainTex ("MainTex", 2D) = "gray" {} 7 | _ScrollX ("Base layer Scroll speed X", Float) = 1.0 8 | _ScrollY ("Base layer Scroll speed Y", Float) = 0.0 9 | } 10 | 11 | SubShader { 12 | Tags { "Queue"="Transparent-110" "IgnoreProjector"="True"} 13 | 14 | ZWrite Off 15 | Cull Off 16 | Blend SrcAlpha one 17 | 18 | LOD 10 19 | 20 | 21 | CGINCLUDE 22 | #pragma multi_compile LIGHTMAP_OFF LIGHTMAP_ON 23 | #include "UnityUI.cginc" 24 | #include "UnityCG.cginc" 25 | sampler2D _MainTex; 26 | 27 | float4 _MainTex_ST; 28 | 29 | float _ScrollX; 30 | float _ScrollY; 31 | 32 | float4 _Color; 33 | 34 | struct appdata_t { 35 | float4 vertex : POSITION; 36 | fixed4 color : COLOR; 37 | float2 uv : TEXCOORD0; 38 | UNITY_VERTEX_INPUT_INSTANCE_ID 39 | }; 40 | 41 | struct v2f { 42 | float4 pos : SV_POSITION; 43 | float4 uv : TEXCOORD0; 44 | fixed4 color : TEXCOORD2; 45 | fixed4 color2:COLOR; 46 | }; 47 | 48 | 49 | 50 | v2f vert (appdata_t v) 51 | { 52 | v2f o; 53 | o.pos = UnityObjectToClipPos(v.vertex); 54 | //o.uv = TRANSFORM_TEX(v.texcoord.xy,_MainTex) + frac(float2(_ScrollX, _ScrollY) * _Time); 55 | o.color2=v.color; 56 | 57 | o.uv.xy = TRANSFORM_TEX(v.uv.xy, _MainTex).xy + frac(float2(_ScrollX, _ScrollY) * _Time); 58 | o.uv.zw = mul(unity_ObjectToWorld, v.vertex).xy; 59 | 60 | return o; 61 | } 62 | ENDCG 63 | 64 | 65 | Pass { 66 | CGPROGRAM 67 | #pragma vertex vert 68 | #pragma fragment frag 69 | #pragma fragmentoption ARB_precision_hint_fastest 70 | 71 | float4 _ClipRect; 72 | float _UseClipRect; 73 | 74 | fixed4 frag (v2f i) : COLOR 75 | { 76 | fixed4 o; 77 | fixed4 tex = tex2D (_MainTex, i.uv); 78 | o = tex * _Color *i.color2; 79 | 80 | float c = UnityGet2DClipping(i.uv.zw, _ClipRect); 81 | o.a = lerp(o.a, c * o.a, _UseClipRect); 82 | 83 | return o; 84 | } 85 | ENDCG 86 | } 87 | } 88 | } -------------------------------------------------------------------------------- /Assets/Resources/Shader/Mobile_UVAnim(Additive).shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f1d067463e6ddb4f8b8575162faf7f7 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Shader/Particle Add UGUI Clip.shader: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/Resources/Shader/Particle Add UGUI Clip.shader -------------------------------------------------------------------------------- /Assets/Resources/Shader/Particle Add UGUI Clip.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb6e7ae85f985484b98acc477fed523f 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Shader/Particle Add.shader: -------------------------------------------------------------------------------- 1 | // Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) 2 | 3 | Shader "Particles/Additive" { 4 | Properties { 5 | _TintColor ("Tint Color", Color) = (0.5,0.5,0.5,0.5) 6 | _MainTex ("Particle Texture", 2D) = "white" {} 7 | _InvFade ("Soft Particles Factor", Range(0.01,3.0)) = 1.0 8 | } 9 | 10 | Category { 11 | Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" } 12 | Blend SrcAlpha One 13 | ColorMask RGBA 14 | Cull Off Lighting Off ZWrite Off 15 | 16 | SubShader { 17 | Pass { 18 | 19 | CGPROGRAM 20 | #pragma vertex vert 21 | #pragma fragment frag 22 | #pragma target 2.0 23 | #pragma multi_compile_particles 24 | #pragma multi_compile_fog 25 | 26 | #include "UnityCG.cginc" 27 | 28 | sampler2D _MainTex; 29 | fixed4 _TintColor; 30 | 31 | struct appdata_t { 32 | float4 vertex : POSITION; 33 | fixed4 color : COLOR; 34 | float2 texcoord : TEXCOORD0; 35 | UNITY_VERTEX_INPUT_INSTANCE_ID 36 | }; 37 | 38 | struct v2f { 39 | float4 vertex : SV_POSITION; 40 | fixed4 color : COLOR; 41 | float2 texcoord : TEXCOORD0; 42 | UNITY_FOG_COORDS(1) 43 | #ifdef SOFTPARTICLES_ON 44 | float4 projPos : TEXCOORD2; 45 | #endif 46 | UNITY_VERTEX_OUTPUT_STEREO 47 | }; 48 | 49 | float4 _MainTex_ST; 50 | 51 | v2f vert (appdata_t v) 52 | { 53 | v2f o; 54 | UNITY_SETUP_INSTANCE_ID(v); 55 | UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o); 56 | o.vertex = UnityObjectToClipPos(v.vertex); 57 | #ifdef SOFTPARTICLES_ON 58 | o.projPos = ComputeScreenPos (o.vertex); 59 | COMPUTE_EYEDEPTH(o.projPos.z); 60 | #endif 61 | o.color = v.color; 62 | o.texcoord = TRANSFORM_TEX(v.texcoord,_MainTex); 63 | UNITY_TRANSFER_FOG(o,o.vertex); 64 | return o; 65 | } 66 | 67 | UNITY_DECLARE_DEPTH_TEXTURE(_CameraDepthTexture); 68 | float _InvFade; 69 | 70 | fixed4 frag (v2f i) : SV_Target 71 | { 72 | #ifdef SOFTPARTICLES_ON 73 | float sceneZ = LinearEyeDepth (SAMPLE_DEPTH_TEXTURE_PROJ(_CameraDepthTexture, UNITY_PROJ_COORD(i.projPos))); 74 | float partZ = i.projPos.z; 75 | float fade = saturate (_InvFade * (sceneZ-partZ)); 76 | i.color.a *= fade; 77 | #endif 78 | 79 | fixed4 col = 2.0f * i.color * _TintColor * tex2D(_MainTex, i.texcoord); 80 | col.a = saturate(col.a); // alpha should not have double-brightness applied to it, but we can't fix that legacy behaior without breaking everyone's effects, so instead clamp the output to get sensible HDR behavior (case 967476) 81 | 82 | UNITY_APPLY_FOG_COLOR(i.fogCoord, col, fixed4(0,0,0,0)); // fog towards black due to our blend mode 83 | return col; 84 | } 85 | ENDCG 86 | } 87 | } 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /Assets/Resources/Shader/Particle Add.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7a1c9b8c2f711c47b877e6f72c32798 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Shader/effect_distort_UVanima(add).shader: -------------------------------------------------------------------------------- 1 | // Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' 2 | 3 | Shader "CQ2/Effect/distort_UVanima(ADD)" { 4 | Properties { 5 | _TintColor ("Tint Color", Color) = (0.5,0.5,0.5,0.5) 6 | _NoiseTex ("Distort Texture (RG)", 2D) = "white" {} 7 | _MainTex ("Alpha (A)", 2D) = "white" {} 8 | _HeatTime ("Heat Time", range (-1,1)) = 0 9 | _ForceX ("Strength X", range (0,1)) = 0.1 10 | _ForceY ("Strength Y", range (0,1)) = 0.1 11 | _SpeedX("Base Layer Scroll Speed X", float) = 0.1 12 | _SpeedY("Base Layer Scroll Speed Y",float) = 0.1 13 | } 14 | 15 | Category { 16 | Tags { "Queue"="Transparent" "RenderType"="Transparent" } 17 | Blend SrcAlpha One 18 | Cull Off Lighting Off ZWrite Off Fog { Color (0,0,0,0) } 19 | BindChannels { 20 | Bind "Color", color 21 | Bind "Vertex", vertex 22 | Bind "TexCoord", texcoord 23 | } 24 | 25 | SubShader { 26 | Pass { 27 | CGPROGRAM 28 | #pragma vertex vert 29 | #pragma fragment frag 30 | #pragma fragmentoption ARB_precision_hint_fastest 31 | #pragma multi_compile_particles 32 | #include "UnityCG.cginc" 33 | #include "UnityUI.cginc" 34 | 35 | struct appdata_t { 36 | float4 vertex : POSITION; 37 | fixed4 color : COLOR; 38 | float2 texcoord: TEXCOORD0; 39 | }; 40 | 41 | struct v2f { 42 | float4 vertex : POSITION; 43 | fixed4 color : COLOR; 44 | float4 uvmain : TEXCOORD1; 45 | }; 46 | 47 | fixed4 _TintColor; 48 | fixed _ForceX, _SpeedX; 49 | fixed _ForceY, _SpeedY; 50 | fixed _HeatTime; 51 | float4 _MainTex_ST; 52 | float4 _NoiseTex_ST; 53 | sampler2D _NoiseTex; 54 | sampler2D _MainTex; 55 | 56 | float4 _ClipRect; 57 | float _UseClipRect; 58 | 59 | v2f vert (appdata_t v) 60 | { 61 | v2f o; 62 | o.vertex = UnityObjectToClipPos(v.vertex); 63 | o.color = v.color; 64 | o.uvmain.xy = TRANSFORM_TEX( v.texcoord, _MainTex ); 65 | o.uvmain.zw = mul(unity_ObjectToWorld, v.vertex).xy; 66 | return o; 67 | } 68 | 69 | fixed4 frag( v2f i ) : COLOR 70 | { 71 | //noise effect 72 | fixed4 offsetColor1 = tex2D(_NoiseTex, i.uvmain + _Time.xz*_HeatTime); 73 | fixed4 offsetColor2 = tex2D(_NoiseTex, i.uvmain + _Time.yx*_HeatTime); 74 | i.uvmain.x += ((offsetColor1.r + offsetColor2.r) - 1) * _ForceX; 75 | i.uvmain.y += ((offsetColor1.r + offsetColor2.r) - 1) * _ForceY; 76 | fixed4 col = 2.0f * i.color * _TintColor * tex2D(_MainTex, i.uvmain + float2(_SpeedX, _SpeedY)*_Time.x); 77 | float c = UnityGet2DClipping(i.uvmain.zw, _ClipRect); 78 | col.a = lerp(col.a, c * col.a, _UseClipRect); 79 | 80 | return col; 81 | } 82 | ENDCG 83 | } 84 | } 85 | // ------------------------------------------------------------------ 86 | // Fallback for older cards and Unity non-Pro 87 | 88 | SubShader { 89 | Blend DstColor Zero 90 | Pass { 91 | Name "BASE" 92 | SetTexture [_MainTex] { combine texture } 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Assets/Resources/Shader/effect_distort_UVanima(add).shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69671ba0c6949a74b9916689f08052d7 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Shader/effect_distort_blend.shader: -------------------------------------------------------------------------------- 1 | 2 | Shader "CQ2/Effect/distort(BLEND)" { 3 | Properties { 4 | _TintColor ("Tint Color", Color) = (0.5,0.5,0.5,0.5) 5 | _NoiseTex ("Distort Texture (RG)", 2D) = "white" {} 6 | _MainTex ("Alpha (A)", 2D) = "white" {} 7 | _HeatTime ("Heat Time", range (-1,1)) = 0 8 | _ForceX ("Strength X", range (0,1)) = 0.1 9 | _ForceY ("Strength Y", range (0,1)) = 0.1 10 | 11 | _ScrollX ("Base layer Scroll speed X", Float) = 0.0 12 | _ScrollY ("Base layer Scroll speed Y", Float) = 0.0 13 | } 14 | 15 | Category { 16 | Tags { "Queue"="Transparent" "RenderType"="Transparent" } 17 | Blend SrcAlpha OneMinusSrcAlpha 18 | Cull Off Lighting Off ZWrite Off Fog { Color (0,0,0,0) } 19 | BindChannels { 20 | Bind "Color", color 21 | Bind "Vertex", vertex 22 | Bind "TexCoord", texcoord 23 | } 24 | 25 | SubShader { 26 | Pass { 27 | CGPROGRAM 28 | #pragma vertex vert 29 | #pragma fragment frag 30 | #pragma fragmentoption ARB_precision_hint_fastest 31 | #pragma multi_compile_particles 32 | #include "UnityCG.cginc" 33 | 34 | struct appdata_t { 35 | float4 vertex : POSITION; 36 | fixed4 color : COLOR; 37 | float2 texcoord: TEXCOORD0; 38 | }; 39 | 40 | struct v2f { 41 | float4 vertex : POSITION; 42 | fixed4 color : COLOR; 43 | float2 uvmain1 : TEXCOORD1; 44 | float2 uvmain2 : TEXCOORD2; 45 | float2 uvmain:TEXCOORD3; 46 | }; 47 | 48 | fixed4 _TintColor; 49 | fixed _ForceX; 50 | fixed _ForceY; 51 | fixed _HeatTime; 52 | float4 _MainTex_ST; 53 | float4 _NoiseTex_ST; 54 | sampler2D _NoiseTex; 55 | sampler2D _MainTex; 56 | 57 | float _ScrollX; 58 | float _ScrollY; 59 | 60 | v2f vert (appdata_t v) 61 | { 62 | v2f o; 63 | o.vertex = UnityObjectToClipPos(v.vertex); 64 | o.color = v.color; 65 | o.uvmain = TRANSFORM_TEX( v.texcoord, _MainTex )+ frac(float2(_ScrollX, _ScrollY) * _Time.x); 66 | o.uvmain1 = o.uvmain+frac(_Time.xz*_HeatTime); 67 | o.uvmain2 = o.uvmain+frac(_Time.yx*_HeatTime); 68 | return o; 69 | } 70 | 71 | fixed4 frag( v2f i ) : COLOR 72 | { 73 | //noise effect 74 | fixed4 offsetColor1 = tex2D(_NoiseTex, i.uvmain1); 75 | fixed4 offsetColor2 = tex2D(_NoiseTex, i.uvmain2); 76 | i.uvmain.x += ((offsetColor1.r + offsetColor2.r) - 1) * _ForceX; 77 | i.uvmain.y += ((offsetColor1.r + offsetColor2.r) - 1) * _ForceY; 78 | return 2.0f * i.color * _TintColor * tex2D( _MainTex, i.uvmain); 79 | } 80 | ENDCG 81 | } 82 | } 83 | // ------------------------------------------------------------------ 84 | // Fallback for older cards and Unity non-Pro 85 | 86 | SubShader { 87 | Blend DstColor Zero 88 | Pass { 89 | Name "BASE" 90 | SetTexture [_MainTex] { combine texture } 91 | } 92 | } 93 | } 94 | } 95 | 96 | -------------------------------------------------------------------------------- /Assets/Resources/Shader/effect_distort_blend.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18c92240ec9c0cb48b81653b4e28cfe3 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Texture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb36f41634a5f914780495a8775ae38d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8f42fe581962a84bbc2ee004f41bac6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/e_glow_07.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/Resources/Texture/WaterTexture/e_glow_07.tga -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/e_glow_07.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61cc84c3bd59851408e4aaf96da0afd7 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 9 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -1 31 | maxTextureSize: 1024 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 1 35 | aniso: 1 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 0 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Android 74 | maxTextureSize: 1024 75 | resizeAlgorithm: 1 76 | textureFormat: 45 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 1 80 | allowsAlphaSplitting: 0 81 | overridden: 1 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 1024 86 | resizeAlgorithm: 1 87 | textureFormat: 50 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 1 93 | androidETC2FallbackOverride: 0 94 | spriteSheet: 95 | serializedVersion: 2 96 | sprites: [] 97 | outline: [] 98 | physicsShape: [] 99 | bones: [] 100 | spriteID: 101 | vertices: [] 102 | indices: 103 | edges: [] 104 | weights: [] 105 | spritePackingTag: 106 | pSDRemoveMatte: 0 107 | pSDShowRemoveMatteOption: 0 108 | userData: 109 | assetBundleName: 110 | assetBundleVariant: 111 | -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/t_longwang_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/Resources/Texture/WaterTexture/t_longwang_02.png -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/t_longwang_02.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7f76449ac8496b4cb69f535f76bdced 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 9 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 1 35 | aniso: 1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 0 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 1 87 | textureFormat: 56 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 1 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 1 98 | textureFormat: 47 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 1 102 | allowsAlphaSplitting: 0 103 | overridden: 1 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | vertices: [] 113 | indices: 114 | edges: [] 115 | weights: [] 116 | spritePackingTag: 117 | pSDRemoveMatte: 0 118 | pSDShowRemoveMatteOption: 0 119 | userData: 120 | assetBundleName: 121 | assetBundleVariant: 122 | -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/t_longwang_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/Resources/Texture/WaterTexture/t_longwang_03.png -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/t_longwang_03.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 275264598a8f95544a388a925a71a8e2 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 9 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 1 35 | aniso: 1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 0 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 1 87 | textureFormat: 56 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 1 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 1 98 | textureFormat: 47 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 1 102 | allowsAlphaSplitting: 0 103 | overridden: 1 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | vertices: [] 113 | indices: 114 | edges: [] 115 | weights: [] 116 | spritePackingTag: 117 | pSDRemoveMatte: 0 118 | pSDShowRemoveMatteOption: 0 119 | userData: 120 | assetBundleName: 121 | assetBundleVariant: 122 | -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/t_longwang_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/Resources/Texture/WaterTexture/t_longwang_04.png -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/t_longwang_04.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70765d7256df7bc48aad8b17ad553cbf 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 9 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 1 35 | aniso: 1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 0 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 2048 86 | resizeAlgorithm: 1 87 | textureFormat: 50 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 1 93 | androidETC2FallbackOverride: 0 94 | - serializedVersion: 2 95 | buildTarget: Android 96 | maxTextureSize: 2048 97 | resizeAlgorithm: 1 98 | textureFormat: 45 99 | textureCompression: 1 100 | compressionQuality: 50 101 | crunchedCompression: 1 102 | allowsAlphaSplitting: 0 103 | overridden: 1 104 | androidETC2FallbackOverride: 0 105 | spriteSheet: 106 | serializedVersion: 2 107 | sprites: [] 108 | outline: [] 109 | physicsShape: [] 110 | bones: [] 111 | spriteID: 112 | vertices: [] 113 | indices: 114 | edges: [] 115 | weights: [] 116 | spritePackingTag: 117 | pSDRemoveMatte: 0 118 | pSDShowRemoveMatteOption: 0 119 | userData: 120 | assetBundleName: 121 | assetBundleVariant: 122 | -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/t_obj0d015_1_qipao.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/Resources/Texture/WaterTexture/t_obj0d015_1_qipao.tga -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/t_obj0d015_1_qipao.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 810794e7c174a554b8228c3ed0db6d25 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 9 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -1 31 | maxTextureSize: 1024 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 1 35 | aniso: 1 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 0 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Android 74 | maxTextureSize: 1024 75 | resizeAlgorithm: 1 76 | textureFormat: 47 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 1 80 | allowsAlphaSplitting: 0 81 | overridden: 1 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 1024 86 | resizeAlgorithm: 1 87 | textureFormat: 56 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 1 93 | androidETC2FallbackOverride: 0 94 | spriteSheet: 95 | serializedVersion: 2 96 | sprites: [] 97 | outline: [] 98 | physicsShape: [] 99 | bones: [] 100 | spriteID: 101 | vertices: [] 102 | indices: 103 | edges: [] 104 | weights: [] 105 | spritePackingTag: 106 | pSDRemoveMatte: 0 107 | pSDShowRemoveMatteOption: 0 108 | userData: 109 | assetBundleName: 110 | assetBundleVariant: 111 | -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/t_wenli_28.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/Resources/Texture/WaterTexture/t_wenli_28.png -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/t_wenli_28.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16d66bd9bd215084d9d0c2a25a4360c4 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 9 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 1 35 | aniso: 1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 0 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Android 74 | maxTextureSize: 1024 75 | resizeAlgorithm: 1 76 | textureFormat: 47 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 1 80 | allowsAlphaSplitting: 0 81 | overridden: 1 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 1024 86 | resizeAlgorithm: 1 87 | textureFormat: 56 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 1 93 | androidETC2FallbackOverride: 0 94 | spriteSheet: 95 | serializedVersion: 2 96 | sprites: [] 97 | outline: [] 98 | physicsShape: [] 99 | bones: [] 100 | spriteID: 101 | vertices: [] 102 | indices: 103 | edges: [] 104 | weights: [] 105 | spritePackingTag: 106 | pSDRemoveMatte: 0 107 | pSDShowRemoveMatteOption: 0 108 | userData: 109 | assetBundleName: 110 | assetBundleVariant: 111 | -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/wenli_00041_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/Resources/Texture/WaterTexture/wenli_00041_1.png -------------------------------------------------------------------------------- /Assets/Resources/Texture/WaterTexture/wenli_00041_1.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71b19b578741d5d4da8d52c8593ba969 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 9 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -1 31 | maxTextureSize: 1024 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 1 35 | aniso: 1 36 | mipBias: -100 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 0 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Android 74 | maxTextureSize: 1024 75 | resizeAlgorithm: 1 76 | textureFormat: 47 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 1 80 | allowsAlphaSplitting: 0 81 | overridden: 1 82 | androidETC2FallbackOverride: 0 83 | - serializedVersion: 2 84 | buildTarget: iPhone 85 | maxTextureSize: 1024 86 | resizeAlgorithm: 1 87 | textureFormat: 56 88 | textureCompression: 1 89 | compressionQuality: 50 90 | crunchedCompression: 0 91 | allowsAlphaSplitting: 0 92 | overridden: 1 93 | androidETC2FallbackOverride: 0 94 | spriteSheet: 95 | serializedVersion: 2 96 | sprites: [] 97 | outline: [] 98 | physicsShape: [] 99 | bones: [] 100 | spriteID: 101 | vertices: [] 102 | indices: 103 | edges: [] 104 | weights: [] 105 | spritePackingTag: 106 | pSDRemoveMatte: 0 107 | pSDShowRemoveMatteOption: 0 108 | userData: 109 | assetBundleName: 110 | assetBundleVariant: 111 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0ff6ba0e1937bc4d8d070f53d29c1f2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 705507994} 41 | m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 0 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_TemporalCoherenceThreshold: 1 54 | m_EnvironmentLightingMode: 0 55 | m_EnableBakedLightmaps: 1 56 | m_EnableRealtimeLightmaps: 0 57 | m_LightmapEditorSettings: 58 | serializedVersion: 10 59 | m_Resolution: 2 60 | m_BakeResolution: 40 61 | m_AtlasSize: 1024 62 | m_AO: 0 63 | m_AOMaxDistance: 1 64 | m_CompAOExponent: 1 65 | m_CompAOExponentDirect: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVRFilterTypeDirect: 0 81 | m_PVRFilterTypeIndirect: 0 82 | m_PVRFilterTypeAO: 0 83 | m_PVRFilteringMode: 1 84 | m_PVRCulling: 1 85 | m_PVRFilteringGaussRadiusDirect: 1 86 | m_PVRFilteringGaussRadiusIndirect: 5 87 | m_PVRFilteringGaussRadiusAO: 2 88 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 89 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 90 | m_PVRFilteringAtrousPositionSigmaAO: 1 91 | m_ShowResolutionOverlay: 1 92 | m_LightingDataAsset: {fileID: 0} 93 | m_UseShadowmask: 1 94 | --- !u!196 &4 95 | NavMeshSettings: 96 | serializedVersion: 2 97 | m_ObjectHideFlags: 0 98 | m_BuildSettings: 99 | serializedVersion: 2 100 | agentTypeID: 0 101 | agentRadius: 0.5 102 | agentHeight: 2 103 | agentSlope: 45 104 | agentClimb: 0.4 105 | ledgeDropHeight: 0 106 | maxJumpAcrossDistance: 0 107 | minRegionArea: 2 108 | manualCellSize: 0 109 | cellSize: 0.16666667 110 | manualTileSize: 0 111 | tileSize: 256 112 | accuratePlacement: 0 113 | debug: 114 | m_Flags: 0 115 | m_NavMeshData: {fileID: 0} 116 | --- !u!1 &705507993 117 | GameObject: 118 | m_ObjectHideFlags: 0 119 | m_CorrespondingSourceObject: {fileID: 0} 120 | m_PrefabInternal: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 705507995} 124 | - component: {fileID: 705507994} 125 | m_Layer: 0 126 | m_Name: Directional Light 127 | m_TagString: Untagged 128 | m_Icon: {fileID: 0} 129 | m_NavMeshLayer: 0 130 | m_StaticEditorFlags: 0 131 | m_IsActive: 1 132 | --- !u!108 &705507994 133 | Light: 134 | m_ObjectHideFlags: 0 135 | m_CorrespondingSourceObject: {fileID: 0} 136 | m_PrefabInternal: {fileID: 0} 137 | m_GameObject: {fileID: 705507993} 138 | m_Enabled: 1 139 | serializedVersion: 8 140 | m_Type: 1 141 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 142 | m_Intensity: 1 143 | m_Range: 10 144 | m_SpotAngle: 30 145 | m_CookieSize: 10 146 | m_Shadows: 147 | m_Type: 2 148 | m_Resolution: -1 149 | m_CustomResolution: -1 150 | m_Strength: 1 151 | m_Bias: 0.05 152 | m_NormalBias: 0.4 153 | m_NearPlane: 0.2 154 | m_Cookie: {fileID: 0} 155 | m_DrawHalo: 0 156 | m_Flare: {fileID: 0} 157 | m_RenderMode: 0 158 | m_CullingMask: 159 | serializedVersion: 2 160 | m_Bits: 4294967295 161 | m_Lightmapping: 1 162 | m_LightShadowCasterMode: 0 163 | m_AreaSize: {x: 1, y: 1} 164 | m_BounceIntensity: 1 165 | m_ColorTemperature: 6570 166 | m_UseColorTemperature: 0 167 | m_ShadowRadius: 0 168 | m_ShadowAngle: 0 169 | --- !u!4 &705507995 170 | Transform: 171 | m_ObjectHideFlags: 0 172 | m_CorrespondingSourceObject: {fileID: 0} 173 | m_PrefabInternal: {fileID: 0} 174 | m_GameObject: {fileID: 705507993} 175 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 176 | m_LocalPosition: {x: 0, y: 3, z: 0} 177 | m_LocalScale: {x: 1, y: 1, z: 1} 178 | m_Children: [] 179 | m_Father: {fileID: 0} 180 | m_RootOrder: 1 181 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 182 | --- !u!1 &963194225 183 | GameObject: 184 | m_ObjectHideFlags: 0 185 | m_CorrespondingSourceObject: {fileID: 0} 186 | m_PrefabInternal: {fileID: 0} 187 | serializedVersion: 6 188 | m_Component: 189 | - component: {fileID: 963194228} 190 | - component: {fileID: 963194227} 191 | - component: {fileID: 963194226} 192 | m_Layer: 0 193 | m_Name: Main Camera 194 | m_TagString: MainCamera 195 | m_Icon: {fileID: 0} 196 | m_NavMeshLayer: 0 197 | m_StaticEditorFlags: 0 198 | m_IsActive: 1 199 | --- !u!81 &963194226 200 | AudioListener: 201 | m_ObjectHideFlags: 0 202 | m_CorrespondingSourceObject: {fileID: 0} 203 | m_PrefabInternal: {fileID: 0} 204 | m_GameObject: {fileID: 963194225} 205 | m_Enabled: 1 206 | --- !u!20 &963194227 207 | Camera: 208 | m_ObjectHideFlags: 0 209 | m_CorrespondingSourceObject: {fileID: 0} 210 | m_PrefabInternal: {fileID: 0} 211 | m_GameObject: {fileID: 963194225} 212 | m_Enabled: 1 213 | serializedVersion: 2 214 | m_ClearFlags: 1 215 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 216 | m_projectionMatrixMode: 1 217 | m_SensorSize: {x: 36, y: 24} 218 | m_LensShift: {x: 0, y: 0} 219 | m_GateFitMode: 2 220 | m_FocalLength: 50 221 | m_NormalizedViewPortRect: 222 | serializedVersion: 2 223 | x: 0 224 | y: 0 225 | width: 1 226 | height: 1 227 | near clip plane: 0.3 228 | far clip plane: 1000 229 | field of view: 60 230 | orthographic: 0 231 | orthographic size: 5 232 | m_Depth: -1 233 | m_CullingMask: 234 | serializedVersion: 2 235 | m_Bits: 4294967295 236 | m_RenderingPath: -1 237 | m_TargetTexture: {fileID: 0} 238 | m_TargetDisplay: 0 239 | m_TargetEye: 3 240 | m_HDR: 1 241 | m_AllowMSAA: 1 242 | m_AllowDynamicResolution: 0 243 | m_ForceIntoRT: 0 244 | m_OcclusionCulling: 1 245 | m_StereoConvergence: 10 246 | m_StereoSeparation: 0.022 247 | --- !u!4 &963194228 248 | Transform: 249 | m_ObjectHideFlags: 0 250 | m_CorrespondingSourceObject: {fileID: 0} 251 | m_PrefabInternal: {fileID: 0} 252 | m_GameObject: {fileID: 963194225} 253 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 254 | m_LocalPosition: {x: 0, y: 1, z: -10} 255 | m_LocalScale: {x: 1, y: 1, z: 1} 256 | m_Children: [] 257 | m_Father: {fileID: 0} 258 | m_RootOrder: 0 259 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 260 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fc0d4010bbf28b4594072e72b8655ab 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Test.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class Test : MonoBehaviour { 6 | 7 | // Use this for initialization 8 | void Start () { 9 | Debug.LogWarning("hello"); 10 | string content=""; 11 | SkinnedMeshRenderer[] smrs = this.GetComponentsInChildren(); 12 | for(int i=0;i 9 | /// Add Particle System to UI menu option to the Unity Editor 10 | /// 11 | public class MenuOption 12 | { 13 | 14 | [MenuItem("GameObject/UI/Particle System", false, 2101)] 15 | public static void AddScrollView(MenuCommand menuCommand) 16 | { 17 | GameObject gameObject = new GameObject("Particle System"); 18 | gameObject.AddComponent().sizeDelta = new Vector2(100f, 100f); 19 | gameObject.AddComponent(); 20 | PlaceUIElementRoot(gameObject, menuCommand); 21 | } 22 | 23 | // ReSharper disable once InconsistentNaming 24 | private static void PlaceUIElementRoot(GameObject element, MenuCommand menuCommand) 25 | { 26 | GameObject parent = menuCommand.context as GameObject; 27 | if (parent == null || parent.GetComponentInParent() == null) 28 | { 29 | parent = GetOrCreateCanvasGameObject(); 30 | } 31 | string uniqueName = GameObjectUtility.GetUniqueNameForSibling(parent.transform, element.name); 32 | element.name = uniqueName; 33 | Undo.RegisterCreatedObjectUndo(element, "Create " + element.name); 34 | Undo.SetTransformParent(element.transform, parent.transform, "Parent " + element.name); 35 | GameObjectUtility.SetParentAndAlign(element, parent); 36 | if (parent != menuCommand.context) // not a context click, so center in sceneview 37 | SetPositionVisibleinSceneView(parent.GetComponent(), element.GetComponent()); 38 | 39 | Selection.activeGameObject = element; 40 | } 41 | 42 | 43 | private static GameObject GetOrCreateCanvasGameObject() 44 | { 45 | GameObject selectedGo = Selection.activeGameObject; 46 | 47 | // Try to find a gameobject that is the selected GO or one if its parents. 48 | Canvas canvas = (selectedGo != null) ? selectedGo.GetComponentInParent() : null; 49 | if (canvas != null && canvas.gameObject.activeInHierarchy) 50 | return canvas.gameObject; 51 | 52 | // No canvas in selection or its parents? Then use just any canvas.. 53 | canvas = Object.FindObjectOfType(typeof(Canvas)) as Canvas; 54 | if (canvas != null && canvas.gameObject.activeInHierarchy) 55 | return canvas.gameObject; 56 | 57 | // No canvas in the scene at all? Then create a new one. 58 | return CreateNewUI(); 59 | } 60 | 61 | private static void SetPositionVisibleinSceneView(RectTransform canvasRTransform, RectTransform itemTransform) 62 | { 63 | // Find the best scene view 64 | SceneView sceneView = SceneView.lastActiveSceneView; 65 | if (sceneView == null && SceneView.sceneViews.Count > 0) 66 | sceneView = SceneView.sceneViews[0] as SceneView; 67 | 68 | // Couldn't find a SceneView. Don't set position. 69 | if (sceneView == null || sceneView.camera == null) 70 | return; 71 | 72 | // Create world space Plane from canvas position. 73 | Vector2 localPlanePosition; 74 | Camera camera = sceneView.camera; 75 | Vector3 position = Vector3.zero; 76 | if (RectTransformUtility.ScreenPointToLocalPointInRectangle(canvasRTransform, new Vector2(camera.pixelWidth / 2f, camera.pixelHeight / 2f), camera, out localPlanePosition)) 77 | { 78 | // Adjust for canvas pivot 79 | localPlanePosition.x = localPlanePosition.x + canvasRTransform.sizeDelta.x * canvasRTransform.pivot.x; 80 | localPlanePosition.y = localPlanePosition.y + canvasRTransform.sizeDelta.y * canvasRTransform.pivot.y; 81 | 82 | localPlanePosition.x = Mathf.Clamp(localPlanePosition.x, 0, canvasRTransform.sizeDelta.x); 83 | localPlanePosition.y = Mathf.Clamp(localPlanePosition.y, 0, canvasRTransform.sizeDelta.y); 84 | 85 | // Adjust for anchoring 86 | position.x = localPlanePosition.x - canvasRTransform.sizeDelta.x * itemTransform.anchorMin.x; 87 | position.y = localPlanePosition.y - canvasRTransform.sizeDelta.y * itemTransform.anchorMin.y; 88 | 89 | Vector3 minLocalPosition; 90 | minLocalPosition.x = canvasRTransform.sizeDelta.x * (0 - canvasRTransform.pivot.x) + itemTransform.sizeDelta.x * itemTransform.pivot.x; 91 | minLocalPosition.y = canvasRTransform.sizeDelta.y * (0 - canvasRTransform.pivot.y) + itemTransform.sizeDelta.y * itemTransform.pivot.y; 92 | 93 | Vector3 maxLocalPosition; 94 | maxLocalPosition.x = canvasRTransform.sizeDelta.x * (1 - canvasRTransform.pivot.x) - itemTransform.sizeDelta.x * itemTransform.pivot.x; 95 | maxLocalPosition.y = canvasRTransform.sizeDelta.y * (1 - canvasRTransform.pivot.y) - itemTransform.sizeDelta.y * itemTransform.pivot.y; 96 | 97 | position.x = Mathf.Clamp(position.x, minLocalPosition.x, maxLocalPosition.x); 98 | position.y = Mathf.Clamp(position.y, minLocalPosition.y, maxLocalPosition.y); 99 | } 100 | 101 | itemTransform.anchoredPosition = position; 102 | itemTransform.localRotation = Quaternion.identity; 103 | itemTransform.localScale = Vector3.one; 104 | } 105 | 106 | // ReSharper disable once InconsistentNaming 107 | private static GameObject CreateNewUI() 108 | { 109 | // Root for the UI 110 | var root = new GameObject("Canvas") 111 | { 112 | layer = LayerMask.NameToLayer("UI") 113 | }; 114 | Canvas canvas = root.AddComponent(); 115 | canvas.renderMode = RenderMode.ScreenSpaceOverlay; 116 | root.AddComponent(); 117 | root.AddComponent(); 118 | Undo.RegisterCreatedObjectUndo(root, "Create " + root.name); 119 | 120 | // if there is no event system add one... 121 | CreateEventSystem(false); 122 | return root; 123 | } 124 | 125 | private static void CreateEventSystem(bool select, GameObject parent = null) 126 | { 127 | var esys = Object.FindObjectOfType(); 128 | if (esys == null) 129 | { 130 | var eventSystem = new GameObject("EventSystem"); 131 | GameObjectUtility.SetParentAndAlign(eventSystem, parent); 132 | esys = eventSystem.AddComponent(); 133 | eventSystem.AddComponent(); 134 | Undo.RegisterCreatedObjectUndo(eventSystem, "Create " + eventSystem.name); 135 | } 136 | 137 | if (select && esys != null) 138 | { 139 | Selection.activeGameObject = esys.gameObject; 140 | } 141 | } 142 | } 143 | } 144 | -------------------------------------------------------------------------------- /Assets/UIParticles/Editor/MenuOption.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71d44e22bdad647fc832fa0ade6d6d1a 3 | timeCreated: 1499251476 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UIParticles/Editor/UiParticlesEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEditor.UI; 3 | using UnityEngine; 4 | 5 | namespace UiParticles.Editor 6 | { 7 | /// 8 | /// Custom editor for UI Particles component 9 | /// 10 | [CustomEditor(typeof(UiParticles))] 11 | public class UiParticlesEditor : GraphicEditor 12 | { 13 | 14 | private SerializedProperty m_RenderMode; 15 | private SerializedProperty m_StretchedSpeedScale; 16 | private SerializedProperty m_StretchedLenghScale; 17 | private SerializedProperty m_IgnoreTimescale; 18 | 19 | protected override void OnEnable() 20 | { 21 | base.OnEnable(); 22 | 23 | m_RenderMode = serializedObject.FindProperty("m_RenderMode"); 24 | m_StretchedSpeedScale = serializedObject.FindProperty("m_StretchedSpeedScale"); 25 | m_StretchedLenghScale = serializedObject.FindProperty("m_StretchedLenghScale"); 26 | m_IgnoreTimescale = serializedObject.FindProperty("m_IgnoreTimescale"); 27 | } 28 | 29 | 30 | public override void OnInspectorGUI() 31 | { 32 | base.OnInspectorGUI(); 33 | 34 | UiParticles uiParticleSystem = (UiParticles) target; 35 | 36 | if (GUILayout.Button("Apply to nested particle systems")) 37 | { 38 | var nested = uiParticleSystem.gameObject.GetComponentsInChildren(); 39 | foreach (var particleSystem in nested) 40 | { 41 | if (particleSystem.GetComponent() == null) 42 | particleSystem.gameObject.AddComponent(); 43 | } 44 | } 45 | 46 | EditorGUILayout.PropertyField(m_RenderMode); 47 | 48 | if (uiParticleSystem.RenderMode == UiParticleRenderMode.StreachedBillboard) 49 | { 50 | EditorGUILayout.PropertyField(m_StretchedSpeedScale); 51 | EditorGUILayout.PropertyField(m_StretchedLenghScale); 52 | } 53 | 54 | EditorGUILayout.PropertyField(m_IgnoreTimescale); 55 | 56 | serializedObject.ApplyModifiedProperties(); 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /Assets/UIParticles/Editor/UiParticlesEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b4cea0302a1694787a227bd9864d585a 3 | timeCreated: 1479639270 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb4db142936bc423386b5bc0b0a38f52 3 | folderAsset: yes 4 | timeCreated: 1473700886 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Demo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea73feaf854804f3285006ce07ade606 3 | timeCreated: 1473782927 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/UIParticles/Examples/Documentation.pdf -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Documentation.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 515df09225a174f83b9d18b29ccda088 3 | timeCreated: 1474793616 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f384fbdfe98694b5e910f4a0d2385cd8 3 | folderAsset: yes 4 | timeCreated: 1473783187 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/BlueSparks.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: BlueSparks 11 | m_Shader: {fileID: 4800000, guid: 29e4768bd844b40f2a451d44dd8e09d7, type: 3} 12 | m_ShaderKeywords: _EMISSION 13 | m_LightmapFlags: 1 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _ColorMask: 15 61 | - _CoreStrength: 1 62 | - _CutOutLightCore: 0.033 63 | - _Cutoff: 0.5 64 | - _DetailNormalMapScale: 1 65 | - _DstBlend: 0 66 | - _GlossMapScale: 1 67 | - _Glossiness: 0.5 68 | - _GlossyReflections: 1 69 | - _Metallic: 0 70 | - _Mode: 0 71 | - _OcclusionStrength: 1 72 | - _Parallax: 0.02 73 | - _SmoothnessTextureChannel: 0 74 | - _SpecularHighlights: 1 75 | - _SrcBlend: 1 76 | - _Stencil: 0 77 | - _StencilComp: 8 78 | - _StencilOp: 0 79 | - _StencilReadMask: 255 80 | - _StencilWriteMask: 255 81 | - _TintStrength: 1 82 | - _UVSec: 0 83 | - _UseUIAlphaClip: 0 84 | - _ZWrite: 1 85 | m_Colors: 86 | - _Color: {r: 1, g: 1, b: 1, a: 1} 87 | - _CoreColor: {r: 0, g: 1, b: 1, a: 0.5} 88 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 89 | - _TintColor: {r: 0, g: 0.17241383, b: 1, a: 0.5} 90 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/BlueSparks.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef828830d259d4da5b5c6575e3ba4313 3 | timeCreated: 1473786142 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/ButtonSparks 1.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: ButtonSparks 1 11 | m_Shader: {fileID: 4800000, guid: 2d1cdc9f7f07445d9a8161c284764c69, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: 27 | - _ColorMask: 15 28 | - _CoreStrength: 1.875 29 | - _CutOutLightCore: 0 30 | - _Stencil: 0 31 | - _StencilComp: 8 32 | - _StencilOp: 0 33 | - _StencilReadMask: 255 34 | - _StencilWriteMask: 255 35 | - _TintStrength: 2.5892859 36 | - _UseUIAlphaClip: 0 37 | m_Colors: 38 | - _Color: {r: 1, g: 1, b: 1, a: 1} 39 | - _CoreColor: {r: 1, g: 0.79056793, b: 0.5661765, a: 1} 40 | - _TintColor: {r: 0.36551726, g: 1, b: 0, a: 1} 41 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/ButtonSparks 1.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc09bcd40cf524cab848269b689050d1 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/ButtonSparks.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: ButtonSparks 11 | m_Shader: {fileID: 4800000, guid: 29e4768bd844b40f2a451d44dd8e09d7, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 2800000, guid: 49675dfa4f107483aada3e730abaea0d, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | m_Floats: 27 | - _ColorMask: 15 28 | - _CoreStrength: 1.875 29 | - _CutOutLightCore: 0 30 | - _Stencil: 0 31 | - _StencilComp: 8 32 | - _StencilOp: 0 33 | - _StencilReadMask: 255 34 | - _StencilWriteMask: 255 35 | - _TintStrength: 2.56 36 | - _UseUIAlphaClip: 0 37 | m_Colors: 38 | - _Color: {r: 1, g: 1, b: 1, a: 1} 39 | - _CoreColor: {r: 1, g: 0.79056793, b: 0.5661765, a: 1} 40 | - _TintColor: {r: 1, g: 0.43448275, b: 0, a: 1} 41 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/ButtonSparks.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1cf85de5912584585a7bd211629191d1 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/DistortionBlue.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: DistortionBlue 11 | m_Shader: {fileID: 4800000, guid: 29e4768bd844b40f2a451d44dd8e09d7, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 2800000, guid: d489f50c96d181a4eb34d09134a89584, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _CutOut: 27 | m_Texture: {fileID: 2800000, guid: aada87c8c29b256419ecd6c30203eb56, type: 3} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _MainTex: 31 | m_Texture: {fileID: 2800000, guid: d03413763f2e04bb48a1e8ec51e0d2a2, type: 3} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | m_Floats: 35 | - _BumpAmt: 14.11 36 | - _ColorMask: 15 37 | - _ColorStrength: 0.2 38 | - _CoreStrength: 1 39 | - _CutOutLightCore: 0.15 40 | - _InvFade: 1.8928572 41 | - _Stencil: 0 42 | - _StencilComp: 8 43 | - _StencilOp: 0 44 | - _StencilReadMask: 255 45 | - _StencilWriteMask: 255 46 | - _TintStrength: 1.2 47 | - _UseUIAlphaClip: 0 48 | m_Colors: 49 | - _Color: {r: 1, g: 1, b: 1, a: 1} 50 | - _CoreColor: {r: 0, g: 0.87586236, b: 1, a: 0.5} 51 | - _TintColor: {r: 0, g: 0.8758622, b: 1, a: 1} 52 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/DistortionBlue.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b05fe52e234514d54a2bc417680c29c0 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/DistortionGreen.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: DistortionGreen 11 | m_Shader: {fileID: 4800000, guid: 29e4768bd844b40f2a451d44dd8e09d7, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 2800000, guid: d489f50c96d181a4eb34d09134a89584, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _CutOut: 27 | m_Texture: {fileID: 2800000, guid: aada87c8c29b256419ecd6c30203eb56, type: 3} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _MainTex: 31 | m_Texture: {fileID: 2800000, guid: d03413763f2e04bb48a1e8ec51e0d2a2, type: 3} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | m_Floats: 35 | - _BumpAmt: 14.11 36 | - _ColorMask: 15 37 | - _ColorStrength: 0.2 38 | - _CoreStrength: 1 39 | - _CutOutLightCore: 0.15 40 | - _InvFade: 1.8928572 41 | - _Stencil: 0 42 | - _StencilComp: 8 43 | - _StencilOp: 0 44 | - _StencilReadMask: 255 45 | - _StencilWriteMask: 255 46 | - _TintStrength: 1.2 47 | - _UseUIAlphaClip: 0 48 | m_Colors: 49 | - _Color: {r: 1, g: 1, b: 1, a: 1} 50 | - _CoreColor: {r: 0, g: 0.6102941, b: 0.029462526, a: 0.5} 51 | - _TintColor: {r: 0, g: 1, b: 0.08965516, a: 1} 52 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/DistortionGreen.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ff85550e7c8849618dccfd7c644df56 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/DistortionRed.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: DistortionRed 11 | m_Shader: {fileID: 4800000, guid: 29e4768bd844b40f2a451d44dd8e09d7, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 2800000, guid: d489f50c96d181a4eb34d09134a89584, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _CutOut: 27 | m_Texture: {fileID: 2800000, guid: aada87c8c29b256419ecd6c30203eb56, type: 3} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _MainTex: 31 | m_Texture: {fileID: 2800000, guid: d03413763f2e04bb48a1e8ec51e0d2a2, type: 3} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | m_Floats: 35 | - _BumpAmt: 14.11 36 | - _ColorMask: 15 37 | - _ColorStrength: 0.2 38 | - _CoreStrength: 1 39 | - _CutOutLightCore: 0.15 40 | - _InvFade: 1.8928572 41 | - _Stencil: 0 42 | - _StencilComp: 8 43 | - _StencilOp: 0 44 | - _StencilReadMask: 255 45 | - _StencilWriteMask: 255 46 | - _TintStrength: 1.2 47 | - _UseUIAlphaClip: 0 48 | m_Colors: 49 | - _Color: {r: 1, g: 1, b: 1, a: 1} 50 | - _CoreColor: {r: 0, g: 0.87586236, b: 1, a: 0.5} 51 | - _TintColor: {r: 1, g: 0.8482759, b: 0, a: 1} 52 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/DistortionRed.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6901848f676b04b9db2055e9a893c6e7 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/Fire.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Fire 11 | m_Shader: {fileID: 4800000, guid: 29e4768bd844b40f2a451d44dd8e09d7, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: 3000 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _DecalTex: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _MainTex: 27 | m_Texture: {fileID: 2800000, guid: 5b885cf87c456d5478e2a44e8f4b8adc, type: 3} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | m_Floats: 31 | - _ColorMask: 15 32 | - _CoreStrength: 2.1428573 33 | - _CutOutLightCore: 0 34 | - _InvFade: 1.11 35 | - _Stencil: 0 36 | - _StencilComp: 8 37 | - _StencilOp: 0 38 | - _StencilReadMask: 255 39 | - _StencilWriteMask: 255 40 | - _TintStrength: 3.125 41 | - _UseUIAlphaClip: 0 42 | m_Colors: 43 | - _Color: {r: 1, g: 1, b: 1, a: 1} 44 | - _CoreColor: {r: 1, g: 0.90689653, b: 0.60294116, a: 1} 45 | - _TintColor: {r: 1, g: 0.4878893, b: 0.11764705, a: 1} 46 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/Fire.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d6a43a4d53024f09ba1ef4d1139fadd 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/StretchedSparks.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: StretchedSparks 11 | m_Shader: {fileID: 4800000, guid: 23794b75ed2194bc68866806484e9b7e, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _ColorMask: 15 61 | - _CoreStrength: 1 62 | - _CutOutLightCore: 0.5 63 | - _Cutoff: 0.5 64 | - _DetailNormalMapScale: 1 65 | - _DstBlend: 0 66 | - _Glossiness: 0.5 67 | - _InvFade: 1 68 | - _Metallic: 0 69 | - _Mode: 0 70 | - _OcclusionStrength: 1 71 | - _Parallax: 0.02 72 | - _SrcBlend: 1 73 | - _Stencil: 0 74 | - _StencilComp: 8 75 | - _StencilOp: 0 76 | - _StencilReadMask: 255 77 | - _StencilWriteMask: 255 78 | - _TintStrength: 1 79 | - _UVSec: 0 80 | - _UseUIAlphaClip: 0 81 | - _ZWrite: 1 82 | m_Colors: 83 | - _Color: {r: 1, g: 1, b: 1, a: 1} 84 | - _CoreColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} 85 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 86 | - _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} 87 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Materials/StretchedSparks.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19da0093607cf4503aecfbd616cd479f 3 | timeCreated: 1480244874 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Menu.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b8600dc6bf19436aac92efe4e89d948 3 | timeCreated: 1474798467 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Panel.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78f061e255c3f43e18794396d8cdf8db 3 | timeCreated: 1474798470 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41e00717ebe144cb6aec265fd2a14bb1 3 | folderAsset: yes 4 | timeCreated: 1474344908 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Scripts/SwitchPanels.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using UnityEngine.UI; 4 | 5 | public class SwitchPanels : MonoBehaviour 6 | { 7 | public GameObject Menu; 8 | public GameObject Panel; 9 | 10 | private void Awake() 11 | { 12 | var toggle = GetComponent (); 13 | toggle.onValueChanged.AddListener (OnToggleClick); 14 | } 15 | 16 | public void OnToggleClick(bool isActive) 17 | { 18 | Menu.SetActive (isActive); 19 | Panel.SetActive (!isActive); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Scripts/SwitchPanels.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ed522e45c36c457999197961f03665f 3 | timeCreated: 1474344915 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85a92a9c9a11d4fa08e5b139a965fb12 3 | folderAsset: yes 4 | timeCreated: 1473786739 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/button_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/UIParticles/Examples/Sprites/button_blue.png -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/button_blue.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af20e2658cd26468488c32ce861b172b 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -3 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 16 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 11, y: 35, z: 11, w: 35} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 0 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 5e97eb03825dee720800000000000000 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: UI 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/button_blue_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/UIParticles/Examples/Sprites/button_blue_pressed.png -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/button_blue_pressed.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed8ed97c2a42b429391c35141f816849 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -3 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 16 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 11, y: 35, z: 11, w: 35} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 0 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 5e97eb03825dee720800000000000000 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: UI 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/button_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/UIParticles/Examples/Sprites/button_green.png -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/button_green.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e99a71db2dfa649bf84fe89b89a3fd70 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -3 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 16 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 11, y: 35, z: 11, w: 35} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 0 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 5e97eb03825dee720800000000000000 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: UI 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/button_green_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/UIParticles/Examples/Sprites/button_green_pressed.png -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/button_green_pressed.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f52b15c82deb14ab6b9129fd7e424b53 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -3 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 16 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 11, y: 35, z: 11, w: 35} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 0 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 5e97eb03825dee720800000000000000 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: UI 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/button_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/UIParticles/Examples/Sprites/button_yellow.png -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/button_yellow.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 96dac679b2d1447cbbc699eb4e107853 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -3 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 16 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 11, y: 35, z: 11, w: 35} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 0 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 5e97eb03825dee720800000000000000 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: UI 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/button_yellow_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/UIParticles/Examples/Sprites/button_yellow_pressed.png -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/button_yellow_pressed.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 548ad079f906e48cbb3d19b2001a7ff1 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -3 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 16 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 11, y: 35, z: 11, w: 35} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 0 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 5e97eb03825dee720800000000000000 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: UI 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/shape_card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/UIParticles/Examples/Sprites/shape_card.png -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Sprites/shape_card.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2ff88242140f3445981f7c1291881930 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: -3 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 16 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 19, y: 37, z: 24, w: 28} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 0 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | spriteSheet: 74 | serializedVersion: 2 75 | sprites: [] 76 | outline: [] 77 | physicsShape: [] 78 | bones: [] 79 | spriteID: 5e97eb03825dee720800000000000000 80 | internalID: 0 81 | vertices: [] 82 | indices: 83 | edges: [] 84 | weights: [] 85 | secondaryTextures: [] 86 | spritePackingTag: UI 87 | pSDRemoveMatte: 0 88 | pSDShowRemoveMatteOption: 0 89 | userData: 90 | assetBundleName: 91 | assetBundleVariant: 92 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fbd13fa064869415ebb078d0d3e2d545 3 | folderAsset: yes 4 | timeCreated: 1473786760 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Textures/FireGlowTwoColor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/UIParticles/Examples/Textures/FireGlowTwoColor.png -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Textures/FireGlowTwoColor.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b885cf87c456d5478e2a44e8f4b8adc 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: 0.25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 7 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | allowsAlphaSplitting: 0 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: 0.5, y: 0.5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 0 47 | spriteTessellationDetail: -1 48 | textureType: -1 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | serializedVersion: 2 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Textures/SmokeTile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/UIParticles/Examples/Textures/SmokeTile.png -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Textures/SmokeTile.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d03413763f2e04bb48a1e8ec51e0d2a2 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: 0.25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 7 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | allowsAlphaSplitting: 0 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: 0.5, y: 0.5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 0 47 | spriteTessellationDetail: -1 48 | textureType: -1 49 | buildTargetSettings: 50 | - buildTarget: Android 51 | maxTextureSize: 512 52 | textureFormat: -1 53 | compressionQuality: 50 54 | allowsAlphaSplitting: 0 55 | spriteSheet: 56 | serializedVersion: 2 57 | sprites: [] 58 | outline: [] 59 | spritePackingTag: 60 | userData: 61 | assetBundleName: 62 | assetBundleVariant: 63 | -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Textures/Sparks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dingxiaowei/UIParticle/74afe0adef7e079cf04899513960fc9dc5fdd540/Assets/UIParticles/Examples/Textures/Sparks.png -------------------------------------------------------------------------------- /Assets/UIParticles/Examples/Textures/Sparks.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49675dfa4f107483aada3e730abaea0d 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 0 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: 0.25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 7 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -3 28 | maxTextureSize: 128 29 | textureSettings: 30 | filterMode: 1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | allowsAlphaSplitting: 0 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: 0.5, y: 0.5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 0 47 | spriteTessellationDetail: -1 48 | textureType: 5 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | serializedVersion: 2 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/UIParticles/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c261ae3487dbd4a979a9fd0494c6730e 3 | folderAsset: yes 4 | timeCreated: 1473700870 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UIParticles/Scripts/SetPropertyUtility.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace UiParticles 4 | { 5 | static class SetPropertyUtility 6 | { 7 | public static bool SetColor(ref Color currentValue, Color newValue) 8 | { 9 | if (currentValue.r == newValue.r && currentValue.g == newValue.g && currentValue.b == newValue.b && currentValue.a == newValue.a) 10 | return false; 11 | 12 | currentValue = newValue; 13 | return true; 14 | } 15 | 16 | public static bool SetStruct(ref T currentValue, T newValue) where T : struct 17 | { 18 | if (currentValue.Equals(newValue)) 19 | return false; 20 | 21 | currentValue = newValue; 22 | return true; 23 | } 24 | 25 | public static bool SetClass(ref T currentValue, T newValue) where T : class 26 | { 27 | if ((currentValue == null && newValue == null) || (currentValue != null && currentValue.Equals(newValue))) 28 | return false; 29 | 30 | currentValue = newValue; 31 | return true; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/UIParticles/Scripts/SetPropertyUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94d3d19f430e34ab3aa0897abeba5ae0 3 | timeCreated: 1477734499 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UIParticles/Scripts/UiParticles.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.Serialization; 3 | using UnityEngine.UI; 4 | 5 | namespace UiParticles 6 | { 7 | /// 8 | /// Ui Parcticles, requiere ParticleSystem component 9 | /// 10 | [RequireComponent (typeof(ParticleSystem))] 11 | public class UiParticles : MaskableGraphic 12 | { 13 | 14 | #region InspectorFields 15 | 16 | /// 17 | /// ParticleSystem used for generate particles 18 | /// 19 | [SerializeField] 20 | [FormerlySerializedAs ("m_ParticleSystem")] 21 | private ParticleSystem m_ParticleSystem; 22 | 23 | /// 24 | /// If true, particles renders in streched mode 25 | /// 26 | [FormerlySerializedAs ("m_RenderMode")] 27 | [SerializeField] 28 | [Tooltip("Render mode of particles")] 29 | private UiParticleRenderMode m_RenderMode = UiParticleRenderMode.Billboard; 30 | 31 | /// 32 | /// Scale particle size, depends on particle velocity 33 | /// 34 | [FormerlySerializedAs ("m_StretchedSpeedScale")] 35 | [SerializeField] 36 | [Tooltip("Speed Scale for streched billboards")] 37 | private float m_StretchedSpeedScale = 1f; 38 | 39 | /// 40 | /// Sclae particle length in streched mode 41 | /// 42 | [FormerlySerializedAs ("m_StretchedLenghScale")] 43 | [SerializeField] 44 | [Tooltip("Speed Scale for streched billboards")] 45 | private float m_StretchedLenghScale = 1f; 46 | 47 | 48 | [FormerlySerializedAs ("m_IgnoreTimescale")] 49 | [SerializeField] 50 | [Tooltip("If true, particles ignore timescale")] 51 | private bool m_IgnoreTimescale = false; 52 | 53 | #endregion 54 | 55 | 56 | 57 | 58 | 59 | #region Public properties 60 | /// 61 | /// ParticleSystem used for generate particles 62 | /// 63 | /// The particle system. 64 | public ParticleSystem ParticleSystem { 65 | get { return m_ParticleSystem; } 66 | set { 67 | if (SetPropertyUtility.SetClass (ref m_ParticleSystem, value)) 68 | SetAllDirty (); 69 | } 70 | } 71 | 72 | /// 73 | /// Texture used by the particles 74 | /// 75 | public override Texture mainTexture { 76 | get { 77 | if (material != null && material.mainTexture != null) { 78 | return material.mainTexture; 79 | } 80 | return s_WhiteTexture; 81 | } 82 | } 83 | 84 | /// 85 | /// Particle system render mode (billboard, strechedBillobard) 86 | /// 87 | public UiParticleRenderMode RenderMode 88 | { 89 | get { return m_RenderMode; } 90 | set 91 | { 92 | if(SetPropertyUtility.SetStruct(ref m_RenderMode, value)) 93 | SetAllDirty(); 94 | } 95 | } 96 | 97 | #endregion 98 | 99 | 100 | private ParticleSystemRenderer m_ParticleSystemRenderer; 101 | private ParticleSystem.Particle[] m_Particles; 102 | 103 | 104 | protected override void Awake () 105 | { 106 | var _particleSystem = GetComponent (); 107 | var _particleSystemRenderer = GetComponent (); 108 | if (m_Material == null) { 109 | m_Material = _particleSystemRenderer.sharedMaterial; 110 | } 111 | if(_particleSystemRenderer.renderMode == ParticleSystemRenderMode.Stretch) 112 | RenderMode = UiParticleRenderMode.StreachedBillboard; 113 | 114 | base.Awake (); 115 | ParticleSystem = _particleSystem; 116 | m_ParticleSystemRenderer = _particleSystemRenderer; 117 | } 118 | 119 | 120 | public override void SetMaterialDirty () 121 | { 122 | base.SetMaterialDirty (); 123 | if (m_ParticleSystemRenderer != null) 124 | m_ParticleSystemRenderer.sharedMaterial = m_Material; 125 | } 126 | 127 | protected override void OnPopulateMesh (VertexHelper toFill) 128 | { 129 | if (ParticleSystem == null) { 130 | base.OnPopulateMesh (toFill); 131 | return; 132 | } 133 | GenerateParticlesBillboards (toFill); 134 | } 135 | 136 | protected virtual void Update () 137 | { 138 | if (!m_IgnoreTimescale) 139 | { 140 | if (ParticleSystem != null && ParticleSystem.isPlaying) 141 | { 142 | SetVerticesDirty(); 143 | } 144 | } 145 | else 146 | { 147 | if (ParticleSystem != null) 148 | { 149 | ParticleSystem.Simulate(Time.unscaledDeltaTime, true, false); 150 | SetVerticesDirty(); 151 | } 152 | } 153 | 154 | // disable default particle renderer, we using our custom 155 | if (m_ParticleSystemRenderer != null && m_ParticleSystemRenderer.enabled) 156 | m_ParticleSystemRenderer.enabled = false; 157 | } 158 | 159 | 160 | private void InitParticlesBuffer () 161 | { 162 | if (m_Particles == null || m_Particles.Length < ParticleSystem.main.maxParticles) 163 | m_Particles = new ParticleSystem.Particle[ParticleSystem.main.maxParticles]; 164 | } 165 | 166 | private void GenerateParticlesBillboards (VertexHelper vh) 167 | { 168 | InitParticlesBuffer (); 169 | int numParticlesAlive = ParticleSystem.GetParticles (m_Particles); 170 | 171 | vh.Clear (); 172 | 173 | for (int i = 0; i < numParticlesAlive; i++) { 174 | DrawParticleBillboard (m_Particles [i], vh); 175 | } 176 | } 177 | 178 | private void DrawParticleBillboard (ParticleSystem.Particle particle, VertexHelper vh) 179 | { 180 | var center = particle.position; 181 | var rotation = Quaternion.Euler (particle.rotation3D); 182 | 183 | 184 | if (ParticleSystem.main.simulationSpace == ParticleSystemSimulationSpace.World) 185 | { 186 | center = rectTransform.InverseTransformPoint (center); 187 | } 188 | 189 | float timeAlive = particle.startLifetime - particle.remainingLifetime; 190 | float globalTimeAlive = timeAlive / particle.startLifetime; 191 | 192 | Vector3 size3D = particle.GetCurrentSize3D (ParticleSystem); 193 | 194 | if(m_RenderMode == UiParticleRenderMode.StreachedBillboard) 195 | { 196 | GetStrechedBillboardsSizeAndRotation(particle,globalTimeAlive,ref size3D, out rotation); 197 | } 198 | 199 | var leftTop = new Vector3 (-size3D.x * 0.5f, size3D.y * 0.5f); 200 | var rightTop = new Vector3 (size3D.x * 0.5f, size3D.y * 0.5f); 201 | var rightBottom = new Vector3 (size3D.x * 0.5f, -size3D.y * 0.5f); 202 | var leftBottom = new Vector3 (-size3D.x * 0.5f, -size3D.y * 0.5f); 203 | 204 | 205 | leftTop = rotation * leftTop + center; 206 | rightTop = rotation * rightTop + center; 207 | rightBottom = rotation * rightBottom + center; 208 | leftBottom = rotation * leftBottom + center; 209 | 210 | Color32 color32 = particle.GetCurrentColor (ParticleSystem); 211 | var i = vh.currentVertCount; 212 | 213 | Vector2[] uvs = new Vector2[4]; 214 | 215 | if (!ParticleSystem.textureSheetAnimation.enabled) 216 | { 217 | EvaluateQuadUVs(uvs); 218 | } 219 | else 220 | { 221 | EvaluateTexturesheetUVs(particle, timeAlive, uvs); 222 | } 223 | 224 | vh.AddVert (leftBottom, color32, uvs [0]); 225 | vh.AddVert (leftTop, color32, uvs [1]); 226 | vh.AddVert (rightTop, color32, uvs [2]); 227 | vh.AddVert (rightBottom, color32, uvs [3]); 228 | 229 | vh.AddTriangle (i, i + 1, i + 2); 230 | vh.AddTriangle (i + 2, i + 3, i); 231 | } 232 | 233 | 234 | /// 235 | /// Evaluate uvs for simple billboard without animations 236 | /// 237 | /// 238 | private void EvaluateQuadUVs(Vector2[] uvs) 239 | { 240 | uvs[0] = new Vector2(0f, 0f); 241 | uvs[1] = new Vector2(0f, 1f); 242 | uvs[2] = new Vector2(1f, 1f); 243 | uvs[3] = new Vector2(1f, 0f); 244 | } 245 | 246 | /// 247 | /// Evaluate uvs for billboard with texturesheet animation 248 | /// 249 | /// target particle 250 | /// 251 | /// 252 | private void EvaluateTexturesheetUVs(ParticleSystem.Particle particle, float timeAlive, Vector2[] uvs) 253 | { 254 | var textureAnimator = ParticleSystem.textureSheetAnimation; 255 | 256 | float lifeTimePerCycle = particle.startLifetime / textureAnimator.cycleCount; 257 | float timePerCycle = timeAlive % lifeTimePerCycle; 258 | float timeAliveAnim01 = timePerCycle / lifeTimePerCycle; // in percents 259 | 260 | 261 | var totalFramesCount = textureAnimator.numTilesY * textureAnimator.numTilesX; 262 | var frame01 = textureAnimator.frameOverTime.Evaluate(timeAliveAnim01); 263 | 264 | var frame = 0f; 265 | switch (textureAnimator.animation) 266 | { 267 | case ParticleSystemAnimationType.WholeSheet: 268 | { 269 | frame = Mathf.Clamp(Mathf.Floor(frame01 * totalFramesCount), 0, totalFramesCount - 1); 270 | break; 271 | } 272 | case ParticleSystemAnimationType.SingleRow: 273 | { 274 | frame = Mathf.Clamp(Mathf.Floor(frame01 * textureAnimator.numTilesX), 0, textureAnimator.numTilesX - 1); 275 | int row = textureAnimator.rowIndex; 276 | if (textureAnimator.useRandomRow) 277 | { 278 | Random.InitState((int) particle.randomSeed); 279 | row = Random.Range(0, textureAnimator.numTilesY); 280 | } 281 | frame += row * textureAnimator.numTilesX; 282 | break; 283 | } 284 | } 285 | 286 | int x = (int) frame % textureAnimator.numTilesX; 287 | int y = (int) frame / textureAnimator.numTilesX; 288 | 289 | 290 | var xDelta = 1f / textureAnimator.numTilesX; 291 | var yDelta = 1f / textureAnimator.numTilesY; 292 | y = textureAnimator.numTilesY - 1 - y; 293 | var sX = x * xDelta; 294 | var sY = y * yDelta; 295 | var eX = sX + xDelta; 296 | var eY = sY + yDelta; 297 | 298 | uvs[0] = new Vector2(sX, sY); 299 | uvs[1] = new Vector2(sX, eY); 300 | uvs[2] = new Vector2(eX, eY); 301 | uvs[3] = new Vector2(eX, sY); 302 | } 303 | 304 | 305 | /// 306 | /// Evaluate size and roatation of particle in streched billboard mode 307 | /// 308 | /// particle 309 | /// current life time percent [0,1] range 310 | /// particle size 311 | /// particle rotation 312 | private void GetStrechedBillboardsSizeAndRotation(ParticleSystem.Particle particle, float timeAlive01, 313 | ref Vector3 size3D, out Quaternion rotation) 314 | { 315 | var velocityOverLifeTime = Vector3.zero; 316 | 317 | if (ParticleSystem.velocityOverLifetime.enabled) 318 | { 319 | velocityOverLifeTime.x = ParticleSystem.velocityOverLifetime.x.Evaluate(timeAlive01); 320 | velocityOverLifeTime.y = ParticleSystem.velocityOverLifetime.y.Evaluate(timeAlive01); 321 | velocityOverLifeTime.z = ParticleSystem.velocityOverLifetime.z.Evaluate(timeAlive01); 322 | } 323 | 324 | var finalVelocity = particle.velocity + velocityOverLifeTime; 325 | var ang = Vector3.Angle(finalVelocity, Vector3.up); 326 | var horizontalDirection = finalVelocity.x < 0 ? 1 : -1; 327 | rotation = Quaternion.Euler(new Vector3(0,0, ang*horizontalDirection)); 328 | size3D.y *=m_StretchedLenghScale; 329 | size3D+= new Vector3(0, m_StretchedSpeedScale*finalVelocity.magnitude); 330 | } 331 | } 332 | 333 | 334 | /// 335 | /// Particles Render Modes 336 | /// 337 | public enum UiParticleRenderMode 338 | { 339 | Billboard, 340 | StreachedBillboard 341 | } 342 | } 343 | -------------------------------------------------------------------------------- /Assets/UIParticles/Scripts/UiParticles.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20e8969313b8e4614b498f042e99683a 3 | timeCreated: 1477734499 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UIParticles/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c83cdba28e7a84f1699e0854a279afbf 3 | folderAsset: yes 4 | timeCreated: 1473700878 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UIParticles/Shaders/UI Particle Alpha Blend.shader: -------------------------------------------------------------------------------- 1 | Shader "UI/Particles/Alpha Blended" { 2 | Properties { 3 | _TintColor ("Tint Color", Color) = (0.5,0.5,0.5,0.5) 4 | _MainTex ("Particle Texture", 2D) = "white" {} 5 | 6 | _StencilComp ("Stencil Comparison", Float) = 8 7 | _Stencil ("Stencil ID", Float) = 0 8 | _StencilOp ("Stencil Operation", Float) = 0 9 | _StencilWriteMask ("Stencil Write Mask", Float) = 255 10 | _StencilReadMask ("Stencil Read Mask", Float) = 255 11 | 12 | _ColorMask ("Color Mask", Float) = 15 13 | 14 | [Toggle(UNITY_UI_ALPHACLIP)] _UseUIAlphaClip ("Use Alpha Clip", Float) = 0 15 | } 16 | 17 | Category { 18 | Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" } 19 | 20 | Stencil 21 | { 22 | Ref [_Stencil] 23 | Comp [_StencilComp] 24 | Pass [_StencilOp] 25 | ReadMask [_StencilReadMask] 26 | WriteMask [_StencilWriteMask] 27 | } 28 | 29 | Blend SrcAlpha OneMinusSrcAlpha 30 | ColorMask [_ColorMask] 31 | Cull Off Lighting Off ZWrite Off 32 | ZTest [unity_GUIZTestMode] 33 | 34 | SubShader { 35 | Pass { 36 | 37 | CGPROGRAM 38 | #pragma vertex vert 39 | #pragma fragment frag 40 | #pragma target 2.0 41 | 42 | 43 | #include "UnityCG.cginc" 44 | #include "UnityUI.cginc" 45 | #pragma multi_compile __ UNITY_UI_ALPHACLIP 46 | 47 | sampler2D _MainTex; 48 | fixed4 _TintColor; 49 | float4 _ClipRect; 50 | 51 | struct appdata_t { 52 | float4 vertex : POSITION; 53 | fixed4 color : COLOR; 54 | float2 texcoord : TEXCOORD0; 55 | }; 56 | 57 | struct v2f { 58 | float4 vertex : SV_POSITION; 59 | fixed4 color : COLOR; 60 | float2 texcoord : TEXCOORD0; 61 | float4 worldPosition : TEXCOORD1; 62 | #ifdef SOFTPARTICLES_ON 63 | float4 projPos : TEXCOORD2; 64 | #endif 65 | }; 66 | 67 | float4 _MainTex_ST; 68 | 69 | v2f vert (appdata_t v) 70 | { 71 | v2f o; 72 | o.worldPosition = v.vertex; 73 | o.vertex = UnityObjectToClipPos(float4(v.vertex)); 74 | o.color = v.color; 75 | o.texcoord = TRANSFORM_TEX(v.texcoord,_MainTex); 76 | 77 | return o; 78 | } 79 | 80 | sampler2D_float _CameraDepthTexture; 81 | float _InvFade; 82 | 83 | fixed4 frag (v2f i) : SV_Target 84 | { 85 | fixed4 col = 2.0f * i.color * _TintColor * tex2D(_MainTex, i.texcoord); 86 | col.a *= UnityGet2DClipping(i.worldPosition.xy, _ClipRect); 87 | return col; 88 | } 89 | ENDCG 90 | } 91 | } 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /Assets/UIParticles/Shaders/UI Particle Alpha Blend.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d1cdc9f7f07445d9a8161c284764c69 3 | timeCreated: 1473701017 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UIParticles/Shaders/Ui Glow Additive Simple.shader: -------------------------------------------------------------------------------- 1 | Shader "UI/Particles/GlowAdditiveSimple" { 2 | Properties { 3 | _TintColor ("Tint Color", Color) = (0.5,0.5,0.5,0.5) 4 | _CoreColor ("Core Color", Color) = (0.5,0.5,0.5,0.5) 5 | _MainTex ("Particle Texture", 2D) = "white" {} 6 | _TintStrength ("Tint Color Strength", Float) = 1 7 | _CoreStrength ("Core Color Strength", Float) = 1 8 | _CutOutLightCore ("CutOut Light Core", Range(0, 1)) = 0.5 9 | 10 | _StencilComp ("Stencil Comparison", Float) = 8 11 | _Stencil ("Stencil ID", Float) = 0 12 | _StencilOp ("Stencil Operation", Float) = 0 13 | _StencilWriteMask ("Stencil Write Mask", Float) = 255 14 | _StencilReadMask ("Stencil Read Mask", Float) = 255 15 | 16 | _ColorMask ("Color Mask", Float) = 15 17 | 18 | [Toggle(UNITY_UI_ALPHACLIP)] _UseUIAlphaClip ("Use Alpha Clip", Float) = 0 19 | 20 | } 21 | 22 | Category { 23 | Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" } 24 | 25 | Stencil 26 | { 27 | Ref [_Stencil] 28 | Comp [_StencilComp] 29 | Pass [_StencilOp] 30 | ReadMask [_StencilReadMask] 31 | WriteMask [_StencilWriteMask] 32 | } 33 | 34 | ColorMask [_ColorMask] 35 | Blend SrcAlpha One 36 | Cull Off 37 | Lighting Off 38 | ZWrite Off 39 | Fog { Color (0,0,0,0) } 40 | ZTest [unity_GUIZTestMode] 41 | 42 | SubShader { 43 | Pass { 44 | 45 | CGPROGRAM 46 | #pragma vertex vert 47 | #pragma fragment frag 48 | 49 | 50 | #include "UnityCG.cginc" 51 | #include "UnityUI.cginc" 52 | #pragma multi_compile __ UNITY_UI_ALPHACLIP 53 | 54 | sampler2D _MainTex; 55 | fixed4 _TintColor; 56 | fixed4 _CoreColor; 57 | float _CutOutLightCore; 58 | float _TintStrength; 59 | float _CoreStrength; 60 | float4 _ClipRect; 61 | 62 | struct appdata_t { 63 | float4 vertex : POSITION; 64 | fixed4 color : COLOR; 65 | float2 texcoord : TEXCOORD0; 66 | }; 67 | 68 | struct v2f { 69 | float4 vertex : POSITION; 70 | float2 texcoord : TEXCOORD0; 71 | float4 worldPosition : TEXCOORD1; 72 | float4 color : COLOR; 73 | }; 74 | 75 | float4 _MainTex_ST; 76 | 77 | v2f vert (appdata_t v) 78 | { 79 | v2f o; 80 | o.worldPosition = v.vertex; 81 | o.vertex = UnityObjectToClipPos(v.vertex); 82 | o.texcoord = TRANSFORM_TEX(v.texcoord,_MainTex); 83 | o.color = v.color; 84 | return o; 85 | } 86 | 87 | fixed4 frag (v2f i) : COLOR 88 | { 89 | fixed4 tex = tex2D(_MainTex, i.texcoord); 90 | fixed4 col = (_TintColor * tex.g * _TintStrength + tex.r * _CoreColor * _CoreStrength - _CutOutLightCore); 91 | col.a *= UnityGet2DClipping(i.worldPosition.xy, _ClipRect); 92 | return i.color *clamp(col, 0, 255); 93 | 94 | } 95 | ENDCG 96 | } 97 | } 98 | } 99 | } 100 | -------------------------------------------------------------------------------- /Assets/UIParticles/Shaders/Ui Glow Additive Simple.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29e4768bd844b40f2a451d44dd8e09d7 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/UIParticles/Shaders/Ui Particle Add.shader: -------------------------------------------------------------------------------- 1 | Shader "UI/Particles/Additive" { 2 | Properties { 3 | _TintColor ("Tint Color", Color) = (0.5,0.5,0.5,0.5) 4 | _MainTex ("Particle Texture", 2D) = "white" {} 5 | 6 | _StencilComp ("Stencil Comparison", Float) = 8 7 | _Stencil ("Stencil ID", Float) = 0 8 | _StencilOp ("Stencil Operation", Float) = 0 9 | _StencilWriteMask ("Stencil Write Mask", Float) = 255 10 | _StencilReadMask ("Stencil Read Mask", Float) = 255 11 | 12 | _ColorMask ("Color Mask", Float) = 15 13 | 14 | [Toggle(UNITY_UI_ALPHACLIP)] _UseUIAlphaClip ("Use Alpha Clip", Float) = 0 15 | } 16 | 17 | Category { 18 | Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" } 19 | 20 | Stencil 21 | { 22 | Ref [_Stencil] 23 | Comp [_StencilComp] 24 | Pass [_StencilOp] 25 | ReadMask [_StencilReadMask] 26 | WriteMask [_StencilWriteMask] 27 | } 28 | 29 | Blend SrcAlpha One 30 | ColorMask [_ColorMask] 31 | Cull Off Lighting Off 32 | ZWrite Off 33 | ZTest [unity_GUIZTestMode] 34 | 35 | SubShader { 36 | Pass { 37 | 38 | CGPROGRAM 39 | #pragma vertex vert 40 | #pragma fragment frag 41 | #pragma target 2.0 42 | 43 | 44 | #include "UnityCG.cginc" 45 | #include "UnityUI.cginc" 46 | #pragma multi_compile __ UNITY_UI_ALPHACLIP 47 | 48 | sampler2D _MainTex; 49 | fixed4 _TintColor; 50 | float4 _ClipRect; 51 | struct appdata_t { 52 | float4 vertex : POSITION; 53 | fixed4 color : COLOR; 54 | float2 texcoord : TEXCOORD0; 55 | }; 56 | 57 | struct v2f { 58 | float4 vertex : SV_POSITION; 59 | fixed4 color : COLOR; 60 | float2 texcoord : TEXCOORD0; 61 | float4 worldPosition : TEXCOORD1; 62 | }; 63 | 64 | float4 _MainTex_ST; 65 | 66 | v2f vert (appdata_t v) 67 | { 68 | v2f o; 69 | o.worldPosition = v.vertex; 70 | o.vertex = UnityObjectToClipPos(float4(v.vertex)); 71 | o.color = v.color; 72 | o.texcoord = TRANSFORM_TEX(v.texcoord,_MainTex); 73 | return o; 74 | } 75 | 76 | 77 | fixed4 frag (v2f i) : SV_Target 78 | { 79 | fixed4 col = 2.0f * i.color * _TintColor * tex2D(_MainTex, i.texcoord); 80 | col.a *= UnityGet2DClipping(i.worldPosition.xy, _ClipRect); 81 | return col; 82 | } 83 | ENDCG 84 | } 85 | } 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /Assets/UIParticles/Shaders/Ui Particle Add.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23794b75ed2194bc68866806484e9b7e 3 | timeCreated: 1473701017 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UIParticles/Shaders/Ui Particle Multiply.shader: -------------------------------------------------------------------------------- 1 | Shader "UI/Particles/Multiply" 2 | { 3 | Properties 4 | { 5 | _MainTex ("Particle Texture", 2D) = "white" {} 6 | 7 | _StencilComp ("Stencil Comparison", Float) = 8 8 | _Stencil ("Stencil ID", Float) = 0 9 | _StencilOp ("Stencil Operation", Float) = 0 10 | _StencilWriteMask ("Stencil Write Mask", Float) = 255 11 | _StencilReadMask ("Stencil Read Mask", Float) = 255 12 | 13 | _ColorMask ("Color Mask", Float) = 15 14 | 15 | [Toggle(UNITY_UI_ALPHACLIP)] _UseUIAlphaClip ("Use Alpha Clip", Float) = 0 16 | } 17 | 18 | Category 19 | { 20 | Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" } 21 | Stencil 22 | { 23 | Ref [_Stencil] 24 | Comp [_StencilComp] 25 | Pass [_StencilOp] 26 | ReadMask [_StencilReadMask] 27 | WriteMask [_StencilWriteMask] 28 | } 29 | 30 | ColorMask [_ColorMask] 31 | Blend Zero SrcColor 32 | Cull Off Lighting Off ZWrite Off 33 | ZTest [unity_GUIZTestMode] 34 | 35 | SubShader { 36 | Pass { 37 | 38 | CGPROGRAM 39 | #pragma vertex vert 40 | #pragma fragment frag 41 | #pragma target 2.0 42 | #include "UnityCG.cginc" 43 | #include "UnityUI.cginc" 44 | #pragma multi_compile __ UNITY_UI_ALPHACLIP 45 | 46 | sampler2D _MainTex; 47 | fixed4 _TintColor; 48 | float4 _ClipRect; 49 | 50 | struct appdata_t { 51 | float4 vertex : POSITION; 52 | fixed4 color : COLOR; 53 | float2 texcoord : TEXCOORD0; 54 | }; 55 | 56 | struct v2f { 57 | float4 vertex : SV_POSITION; 58 | fixed4 color : COLOR; 59 | float2 texcoord : TEXCOORD0; 60 | float4 worldPosition : TEXCOORD1; 61 | }; 62 | 63 | float4 _MainTex_ST; 64 | 65 | v2f vert (appdata_t v) 66 | { 67 | v2f o; 68 | o.worldPosition = v.vertex; 69 | o.vertex = UnityObjectToClipPos(v.vertex); 70 | o.color = v.color; 71 | o.texcoord = TRANSFORM_TEX(v.texcoord,_MainTex); 72 | 73 | return o; 74 | } 75 | 76 | fixed4 frag (v2f i) : SV_Target 77 | { 78 | half4 prev = i.color * tex2D(_MainTex, i.texcoord); 79 | fixed4 col = lerp(half4(1,1,1,1), prev, prev.a); 80 | 81 | col.a *= UnityGet2DClipping(i.worldPosition.xy, _ClipRect); 82 | return col; 83 | } 84 | ENDCG 85 | } 86 | } 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /Assets/UIParticles/Shaders/Ui Particle Multiply.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 60a1b1fc440a24020b6aeb957a6ed521 3 | timeCreated: 1473701017 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UIParticles/version.txt: -------------------------------------------------------------------------------- 1 | 1.0.3 -------------------------------------------------------------------------------- /Assets/UIParticles/version.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33aa680f76a954dbbb345b5fd184cdbd 3 | timeCreated: 1473700980 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": "1.2.16", 4 | "com.unity.ide.rider": "1.1.4", 5 | "com.unity.ide.vscode": "1.1.4", 6 | "com.unity.test-framework": "1.1.9", 7 | "com.unity.textmeshpro": "2.0.1", 8 | "com.unity.timeline": "1.2.10", 9 | "com.unity.ugui": "1.0.0", 10 | "com.unity.modules.ai": "1.0.0", 11 | "com.unity.modules.androidjni": "1.0.0", 12 | "com.unity.modules.animation": "1.0.0", 13 | "com.unity.modules.assetbundle": "1.0.0", 14 | "com.unity.modules.audio": "1.0.0", 15 | "com.unity.modules.cloth": "1.0.0", 16 | "com.unity.modules.director": "1.0.0", 17 | "com.unity.modules.imageconversion": "1.0.0", 18 | "com.unity.modules.imgui": "1.0.0", 19 | "com.unity.modules.jsonserialize": "1.0.0", 20 | "com.unity.modules.particlesystem": "1.0.0", 21 | "com.unity.modules.physics": "1.0.0", 22 | "com.unity.modules.physics2d": "1.0.0", 23 | "com.unity.modules.screencapture": "1.0.0", 24 | "com.unity.modules.terrain": "1.0.0", 25 | "com.unity.modules.terrainphysics": "1.0.0", 26 | "com.unity.modules.tilemap": "1.0.0", 27 | "com.unity.modules.ui": "1.0.0", 28 | "com.unity.modules.uielements": "1.0.0", 29 | "com.unity.modules.umbra": "1.0.0", 30 | "com.unity.modules.unityanalytics": "1.0.0", 31 | "com.unity.modules.unitywebrequest": "1.0.0", 32 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 33 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 34 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 35 | "com.unity.modules.unitywebrequestwww": "1.0.0", 36 | "com.unity.modules.vehicles": "1.0.0", 37 | "com.unity.modules.video": "1.0.0", 38 | "com.unity.modules.vr": "1.0.0", 39 | "com.unity.modules.wind": "1.0.0", 40 | "com.unity.modules.xr": "1.0.0" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 9 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;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: 1 30 | m_AssetPipelineMode: 1 31 | m_CacheServerMode: 0 32 | m_CacheServerEndpoint: 33 | m_CacheServerNamespacePrefix: default 34 | m_CacheServerEnableDownload: 1 35 | m_CacheServerEnableUpload: 1 36 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | m_LogWhenShaderIsCompiled: 0 63 | m_AllowEnlightenSupportForUpgradedProject: 0 64 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 20 7 | productGUID: 3b05e4ec3e60ed942802d263e850a3da 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: New Unity Project 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | iosUseCustomAppBackgroundBehavior: 0 56 | iosAllowHTTPDownload: 1 57 | allowedAutorotateToPortrait: 1 58 | allowedAutorotateToPortraitUpsideDown: 1 59 | allowedAutorotateToLandscapeRight: 1 60 | allowedAutorotateToLandscapeLeft: 1 61 | useOSAutorotation: 1 62 | use32BitDisplayBuffer: 1 63 | preserveFramebufferAlpha: 0 64 | disableDepthAndStencilBuffers: 0 65 | androidStartInFullscreen: 1 66 | androidRenderOutsideSafeArea: 1 67 | androidUseSwappy: 0 68 | androidBlitType: 0 69 | defaultIsNativeResolution: 1 70 | macRetinaSupport: 1 71 | runInBackground: 1 72 | captureSingleScreen: 0 73 | muteOtherAudioSources: 0 74 | Prepare IOS For Recording: 0 75 | Force IOS Speakers When Recording: 0 76 | deferSystemGesturesMode: 0 77 | hideHomeButton: 0 78 | submitAnalytics: 1 79 | usePlayerLog: 1 80 | bakeCollisionMeshes: 0 81 | forceSingleInstance: 0 82 | useFlipModelSwapchain: 1 83 | resizableWindow: 0 84 | useMacAppStoreValidation: 0 85 | macAppStoreCategory: public.app-category.games 86 | gpuSkinning: 1 87 | xboxPIXTextureCapture: 0 88 | xboxEnableAvatar: 0 89 | xboxEnableKinect: 0 90 | xboxEnableKinectAutoTracking: 0 91 | xboxEnableFitness: 0 92 | visibleInBackground: 1 93 | allowFullscreenSwitch: 1 94 | fullscreenMode: 1 95 | xboxSpeechDB: 0 96 | xboxEnableHeadOrientation: 0 97 | xboxEnableGuest: 0 98 | xboxEnablePIXSampling: 0 99 | metalFramebufferOnly: 0 100 | xboxOneResolution: 0 101 | xboxOneSResolution: 0 102 | xboxOneXResolution: 3 103 | xboxOneMonoLoggingLevel: 0 104 | xboxOneLoggingLevel: 1 105 | xboxOneDisableEsram: 0 106 | xboxOnePresentImmediateThreshold: 0 107 | switchQueueCommandMemory: 0 108 | switchQueueControlMemory: 16384 109 | switchQueueComputeMemory: 262144 110 | switchNVNShaderPoolsGranularity: 33554432 111 | switchNVNDefaultPoolsGranularity: 16777216 112 | switchNVNOtherPoolsGranularity: 16777216 113 | vulkanNumSwapchainBuffers: 3 114 | vulkanEnableSetSRGBWrite: 0 115 | m_SupportedAspectRatios: 116 | 4:3: 1 117 | 5:4: 1 118 | 16:10: 1 119 | 16:9: 1 120 | Others: 1 121 | bundleVersion: 0.1 122 | preloadedAssets: [] 123 | metroInputSource: 0 124 | wsaTransparentSwapchain: 0 125 | m_HolographicPauseOnTrackingLoss: 1 126 | xboxOneDisableKinectGpuReservation: 1 127 | xboxOneEnable7thCore: 1 128 | vrSettings: 129 | cardboard: 130 | depthFormat: 0 131 | enableTransitionView: 0 132 | daydream: 133 | depthFormat: 0 134 | useSustainedPerformanceMode: 0 135 | enableVideoLayer: 0 136 | useProtectedVideoMemory: 0 137 | minimumSupportedHeadTracking: 0 138 | maximumSupportedHeadTracking: 1 139 | hololens: 140 | depthFormat: 1 141 | depthBufferSharingEnabled: 1 142 | lumin: 143 | depthFormat: 0 144 | frameTiming: 2 145 | enableGLCache: 0 146 | glCacheMaxBlobSize: 524288 147 | glCacheMaxFileSize: 8388608 148 | oculus: 149 | sharedDepthBuffer: 1 150 | dashSupport: 1 151 | lowOverheadMode: 0 152 | protectedContext: 0 153 | v2Signing: 1 154 | enable360StereoCapture: 0 155 | isWsaHolographicRemotingEnabled: 0 156 | enableFrameTimingStats: 0 157 | useHDRDisplay: 0 158 | D3DHDRBitDepth: 0 159 | m_ColorGamuts: 00000000 160 | targetPixelDensity: 30 161 | resolutionScalingMode: 0 162 | androidSupportedAspectRatio: 1 163 | androidMaxAspectRatio: 2.1 164 | applicationIdentifier: {} 165 | buildNumber: {} 166 | AndroidBundleVersionCode: 1 167 | AndroidMinSdkVersion: 19 168 | AndroidTargetSdkVersion: 0 169 | AndroidPreferredInstallLocation: 1 170 | aotOptions: 171 | stripEngineCode: 1 172 | iPhoneStrippingLevel: 0 173 | iPhoneScriptCallOptimization: 0 174 | ForceInternetPermission: 0 175 | ForceSDCardPermission: 0 176 | CreateWallpaper: 0 177 | APKExpansionFiles: 0 178 | keepLoadedShadersAlive: 0 179 | StripUnusedMeshComponents: 1 180 | VertexChannelCompressionMask: 4054 181 | iPhoneSdkVersion: 988 182 | iOSTargetOSVersionString: 10.0 183 | tvOSSdkVersion: 0 184 | tvOSRequireExtendedGameController: 0 185 | tvOSTargetOSVersionString: 10.0 186 | uIPrerenderedIcon: 0 187 | uIRequiresPersistentWiFi: 0 188 | uIRequiresFullScreen: 1 189 | uIStatusBarHidden: 1 190 | uIExitOnSuspend: 0 191 | uIStatusBarStyle: 0 192 | iPhoneSplashScreen: {fileID: 0} 193 | iPhoneHighResSplashScreen: {fileID: 0} 194 | iPhoneTallHighResSplashScreen: {fileID: 0} 195 | iPhone47inSplashScreen: {fileID: 0} 196 | iPhone55inPortraitSplashScreen: {fileID: 0} 197 | iPhone55inLandscapeSplashScreen: {fileID: 0} 198 | iPhone58inPortraitSplashScreen: {fileID: 0} 199 | iPhone58inLandscapeSplashScreen: {fileID: 0} 200 | iPadPortraitSplashScreen: {fileID: 0} 201 | iPadHighResPortraitSplashScreen: {fileID: 0} 202 | iPadLandscapeSplashScreen: {fileID: 0} 203 | iPadHighResLandscapeSplashScreen: {fileID: 0} 204 | iPhone65inPortraitSplashScreen: {fileID: 0} 205 | iPhone65inLandscapeSplashScreen: {fileID: 0} 206 | iPhone61inPortraitSplashScreen: {fileID: 0} 207 | iPhone61inLandscapeSplashScreen: {fileID: 0} 208 | appleTVSplashScreen: {fileID: 0} 209 | appleTVSplashScreen2x: {fileID: 0} 210 | tvOSSmallIconLayers: [] 211 | tvOSSmallIconLayers2x: [] 212 | tvOSLargeIconLayers: [] 213 | tvOSLargeIconLayers2x: [] 214 | tvOSTopShelfImageLayers: [] 215 | tvOSTopShelfImageLayers2x: [] 216 | tvOSTopShelfImageWideLayers: [] 217 | tvOSTopShelfImageWideLayers2x: [] 218 | iOSLaunchScreenType: 0 219 | iOSLaunchScreenPortrait: {fileID: 0} 220 | iOSLaunchScreenLandscape: {fileID: 0} 221 | iOSLaunchScreenBackgroundColor: 222 | serializedVersion: 2 223 | rgba: 0 224 | iOSLaunchScreenFillPct: 100 225 | iOSLaunchScreenSize: 100 226 | iOSLaunchScreenCustomXibPath: 227 | iOSLaunchScreeniPadType: 0 228 | iOSLaunchScreeniPadImage: {fileID: 0} 229 | iOSLaunchScreeniPadBackgroundColor: 230 | serializedVersion: 2 231 | rgba: 0 232 | iOSLaunchScreeniPadFillPct: 100 233 | iOSLaunchScreeniPadSize: 100 234 | iOSLaunchScreeniPadCustomXibPath: 235 | iOSUseLaunchScreenStoryboard: 0 236 | iOSLaunchScreenCustomStoryboardPath: 237 | iOSDeviceRequirements: [] 238 | iOSURLSchemes: [] 239 | iOSBackgroundModes: 0 240 | iOSMetalForceHardShadows: 0 241 | metalEditorSupport: 1 242 | metalAPIValidation: 1 243 | iOSRenderExtraFrameOnPause: 0 244 | appleDeveloperTeamID: 245 | iOSManualSigningProvisioningProfileID: 246 | tvOSManualSigningProvisioningProfileID: 247 | iOSManualSigningProvisioningProfileType: 0 248 | tvOSManualSigningProvisioningProfileType: 0 249 | appleEnableAutomaticSigning: 0 250 | iOSRequireARKit: 0 251 | iOSAutomaticallyDetectAndAddCapabilities: 1 252 | appleEnableProMotion: 0 253 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 254 | templatePackageId: com.unity.template.3d@4.2.5 255 | templateDefaultScene: Assets/Scenes/SampleScene.unity 256 | AndroidTargetArchitectures: 1 257 | AndroidSplashScreenScale: 0 258 | androidSplashScreen: {fileID: 0} 259 | AndroidKeystoreName: 260 | AndroidKeyaliasName: 261 | AndroidBuildApkPerCpuArchitecture: 0 262 | AndroidTVCompatibility: 0 263 | AndroidIsGame: 1 264 | AndroidEnableTango: 0 265 | androidEnableBanner: 1 266 | androidUseLowAccuracyLocation: 0 267 | androidUseCustomKeystore: 0 268 | m_AndroidBanners: 269 | - width: 320 270 | height: 180 271 | banner: {fileID: 0} 272 | androidGamepadSupportLevel: 0 273 | AndroidValidateAppBundleSize: 1 274 | AndroidAppBundleSizeToValidate: 150 275 | m_BuildTargetIcons: [] 276 | m_BuildTargetPlatformIcons: [] 277 | m_BuildTargetBatching: 278 | - m_BuildTarget: Standalone 279 | m_StaticBatching: 1 280 | m_DynamicBatching: 0 281 | - m_BuildTarget: tvOS 282 | m_StaticBatching: 1 283 | m_DynamicBatching: 0 284 | - m_BuildTarget: Android 285 | m_StaticBatching: 1 286 | m_DynamicBatching: 0 287 | - m_BuildTarget: iPhone 288 | m_StaticBatching: 1 289 | m_DynamicBatching: 0 290 | - m_BuildTarget: WebGL 291 | m_StaticBatching: 0 292 | m_DynamicBatching: 0 293 | m_BuildTargetGraphicsJobs: 294 | - m_BuildTarget: MacStandaloneSupport 295 | m_GraphicsJobs: 0 296 | - m_BuildTarget: Switch 297 | m_GraphicsJobs: 1 298 | - m_BuildTarget: MetroSupport 299 | m_GraphicsJobs: 1 300 | - m_BuildTarget: AppleTVSupport 301 | m_GraphicsJobs: 0 302 | - m_BuildTarget: BJMSupport 303 | m_GraphicsJobs: 1 304 | - m_BuildTarget: LinuxStandaloneSupport 305 | m_GraphicsJobs: 1 306 | - m_BuildTarget: PS4Player 307 | m_GraphicsJobs: 1 308 | - m_BuildTarget: iOSSupport 309 | m_GraphicsJobs: 0 310 | - m_BuildTarget: WindowsStandaloneSupport 311 | m_GraphicsJobs: 1 312 | - m_BuildTarget: XboxOnePlayer 313 | m_GraphicsJobs: 1 314 | - m_BuildTarget: LuminSupport 315 | m_GraphicsJobs: 0 316 | - m_BuildTarget: AndroidPlayer 317 | m_GraphicsJobs: 0 318 | - m_BuildTarget: WebGLSupport 319 | m_GraphicsJobs: 0 320 | m_BuildTargetGraphicsJobMode: 321 | - m_BuildTarget: PS4Player 322 | m_GraphicsJobMode: 0 323 | - m_BuildTarget: XboxOnePlayer 324 | m_GraphicsJobMode: 0 325 | m_BuildTargetGraphicsAPIs: 326 | - m_BuildTarget: AndroidPlayer 327 | m_APIs: 150000000b000000 328 | m_Automatic: 0 329 | - m_BuildTarget: iOSSupport 330 | m_APIs: 10000000 331 | m_Automatic: 1 332 | - m_BuildTarget: AppleTVSupport 333 | m_APIs: 10000000 334 | m_Automatic: 0 335 | - m_BuildTarget: WebGLSupport 336 | m_APIs: 0b000000 337 | m_Automatic: 1 338 | m_BuildTargetVRSettings: 339 | - m_BuildTarget: Standalone 340 | m_Enabled: 0 341 | m_Devices: 342 | - Oculus 343 | - OpenVR 344 | openGLRequireES31: 0 345 | openGLRequireES31AEP: 0 346 | openGLRequireES32: 0 347 | m_TemplateCustomTags: {} 348 | mobileMTRendering: 349 | Android: 1 350 | iPhone: 1 351 | tvOS: 1 352 | m_BuildTargetGroupLightmapEncodingQuality: [] 353 | m_BuildTargetGroupLightmapSettings: [] 354 | playModeTestRunnerEnabled: 0 355 | runPlayModeTestAsEditModeTest: 0 356 | actionOnDotNetUnhandledException: 1 357 | enableInternalProfiler: 0 358 | logObjCUncaughtExceptions: 1 359 | enableCrashReportAPI: 0 360 | cameraUsageDescription: 361 | locationUsageDescription: 362 | microphoneUsageDescription: 363 | switchNetLibKey: 364 | switchSocketMemoryPoolSize: 6144 365 | switchSocketAllocatorPoolSize: 128 366 | switchSocketConcurrencyLimit: 14 367 | switchScreenResolutionBehavior: 2 368 | switchUseCPUProfiler: 0 369 | switchApplicationID: 0x01004b9000490000 370 | switchNSODependencies: 371 | switchTitleNames_0: 372 | switchTitleNames_1: 373 | switchTitleNames_2: 374 | switchTitleNames_3: 375 | switchTitleNames_4: 376 | switchTitleNames_5: 377 | switchTitleNames_6: 378 | switchTitleNames_7: 379 | switchTitleNames_8: 380 | switchTitleNames_9: 381 | switchTitleNames_10: 382 | switchTitleNames_11: 383 | switchTitleNames_12: 384 | switchTitleNames_13: 385 | switchTitleNames_14: 386 | switchPublisherNames_0: 387 | switchPublisherNames_1: 388 | switchPublisherNames_2: 389 | switchPublisherNames_3: 390 | switchPublisherNames_4: 391 | switchPublisherNames_5: 392 | switchPublisherNames_6: 393 | switchPublisherNames_7: 394 | switchPublisherNames_8: 395 | switchPublisherNames_9: 396 | switchPublisherNames_10: 397 | switchPublisherNames_11: 398 | switchPublisherNames_12: 399 | switchPublisherNames_13: 400 | switchPublisherNames_14: 401 | switchIcons_0: {fileID: 0} 402 | switchIcons_1: {fileID: 0} 403 | switchIcons_2: {fileID: 0} 404 | switchIcons_3: {fileID: 0} 405 | switchIcons_4: {fileID: 0} 406 | switchIcons_5: {fileID: 0} 407 | switchIcons_6: {fileID: 0} 408 | switchIcons_7: {fileID: 0} 409 | switchIcons_8: {fileID: 0} 410 | switchIcons_9: {fileID: 0} 411 | switchIcons_10: {fileID: 0} 412 | switchIcons_11: {fileID: 0} 413 | switchIcons_12: {fileID: 0} 414 | switchIcons_13: {fileID: 0} 415 | switchIcons_14: {fileID: 0} 416 | switchSmallIcons_0: {fileID: 0} 417 | switchSmallIcons_1: {fileID: 0} 418 | switchSmallIcons_2: {fileID: 0} 419 | switchSmallIcons_3: {fileID: 0} 420 | switchSmallIcons_4: {fileID: 0} 421 | switchSmallIcons_5: {fileID: 0} 422 | switchSmallIcons_6: {fileID: 0} 423 | switchSmallIcons_7: {fileID: 0} 424 | switchSmallIcons_8: {fileID: 0} 425 | switchSmallIcons_9: {fileID: 0} 426 | switchSmallIcons_10: {fileID: 0} 427 | switchSmallIcons_11: {fileID: 0} 428 | switchSmallIcons_12: {fileID: 0} 429 | switchSmallIcons_13: {fileID: 0} 430 | switchSmallIcons_14: {fileID: 0} 431 | switchManualHTML: 432 | switchAccessibleURLs: 433 | switchLegalInformation: 434 | switchMainThreadStackSize: 1048576 435 | switchPresenceGroupId: 436 | switchLogoHandling: 0 437 | switchReleaseVersion: 0 438 | switchDisplayVersion: 1.0.0 439 | switchStartupUserAccount: 0 440 | switchTouchScreenUsage: 0 441 | switchSupportedLanguagesMask: 0 442 | switchLogoType: 0 443 | switchApplicationErrorCodeCategory: 444 | switchUserAccountSaveDataSize: 0 445 | switchUserAccountSaveDataJournalSize: 0 446 | switchApplicationAttribute: 0 447 | switchCardSpecSize: -1 448 | switchCardSpecClock: -1 449 | switchRatingsMask: 0 450 | switchRatingsInt_0: 0 451 | switchRatingsInt_1: 0 452 | switchRatingsInt_2: 0 453 | switchRatingsInt_3: 0 454 | switchRatingsInt_4: 0 455 | switchRatingsInt_5: 0 456 | switchRatingsInt_6: 0 457 | switchRatingsInt_7: 0 458 | switchRatingsInt_8: 0 459 | switchRatingsInt_9: 0 460 | switchRatingsInt_10: 0 461 | switchRatingsInt_11: 0 462 | switchRatingsInt_12: 0 463 | switchLocalCommunicationIds_0: 464 | switchLocalCommunicationIds_1: 465 | switchLocalCommunicationIds_2: 466 | switchLocalCommunicationIds_3: 467 | switchLocalCommunicationIds_4: 468 | switchLocalCommunicationIds_5: 469 | switchLocalCommunicationIds_6: 470 | switchLocalCommunicationIds_7: 471 | switchParentalControl: 0 472 | switchAllowsScreenshot: 1 473 | switchAllowsVideoCapturing: 1 474 | switchAllowsRuntimeAddOnContentInstall: 0 475 | switchDataLossConfirmation: 0 476 | switchUserAccountLockEnabled: 0 477 | switchSystemResourceMemory: 16777216 478 | switchSupportedNpadStyles: 22 479 | switchNativeFsCacheSize: 32 480 | switchIsHoldTypeHorizontal: 0 481 | switchSupportedNpadCount: 8 482 | switchSocketConfigEnabled: 0 483 | switchTcpInitialSendBufferSize: 32 484 | switchTcpInitialReceiveBufferSize: 64 485 | switchTcpAutoSendBufferSizeMax: 256 486 | switchTcpAutoReceiveBufferSizeMax: 256 487 | switchUdpSendBufferSize: 9 488 | switchUdpReceiveBufferSize: 42 489 | switchSocketBufferEfficiency: 4 490 | switchSocketInitializeEnabled: 1 491 | switchNetworkInterfaceManagerInitializeEnabled: 1 492 | switchPlayerConnectionEnabled: 1 493 | ps4NPAgeRating: 12 494 | ps4NPTitleSecret: 495 | ps4NPTrophyPackPath: 496 | ps4ParentalLevel: 11 497 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 498 | ps4Category: 0 499 | ps4MasterVersion: 01.00 500 | ps4AppVersion: 01.00 501 | ps4AppType: 0 502 | ps4ParamSfxPath: 503 | ps4VideoOutPixelFormat: 0 504 | ps4VideoOutInitialWidth: 1920 505 | ps4VideoOutBaseModeInitialWidth: 1920 506 | ps4VideoOutReprojectionRate: 60 507 | ps4PronunciationXMLPath: 508 | ps4PronunciationSIGPath: 509 | ps4BackgroundImagePath: 510 | ps4StartupImagePath: 511 | ps4StartupImagesFolder: 512 | ps4IconImagesFolder: 513 | ps4SaveDataImagePath: 514 | ps4SdkOverride: 515 | ps4BGMPath: 516 | ps4ShareFilePath: 517 | ps4ShareOverlayImagePath: 518 | ps4PrivacyGuardImagePath: 519 | ps4NPtitleDatPath: 520 | ps4RemotePlayKeyAssignment: -1 521 | ps4RemotePlayKeyMappingDir: 522 | ps4PlayTogetherPlayerCount: 0 523 | ps4EnterButtonAssignment: 1 524 | ps4ApplicationParam1: 0 525 | ps4ApplicationParam2: 0 526 | ps4ApplicationParam3: 0 527 | ps4ApplicationParam4: 0 528 | ps4DownloadDataSize: 0 529 | ps4GarlicHeapSize: 2048 530 | ps4ProGarlicHeapSize: 2560 531 | playerPrefsMaxSize: 32768 532 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 533 | ps4pnSessions: 1 534 | ps4pnPresence: 1 535 | ps4pnFriends: 1 536 | ps4pnGameCustomData: 1 537 | playerPrefsSupport: 0 538 | enableApplicationExit: 0 539 | resetTempFolder: 1 540 | restrictedAudioUsageRights: 0 541 | ps4UseResolutionFallback: 0 542 | ps4ReprojectionSupport: 0 543 | ps4UseAudio3dBackend: 0 544 | ps4SocialScreenEnabled: 0 545 | ps4ScriptOptimizationLevel: 0 546 | ps4Audio3dVirtualSpeakerCount: 14 547 | ps4attribCpuUsage: 0 548 | ps4PatchPkgPath: 549 | ps4PatchLatestPkgPath: 550 | ps4PatchChangeinfoPath: 551 | ps4PatchDayOne: 0 552 | ps4attribUserManagement: 0 553 | ps4attribMoveSupport: 0 554 | ps4attrib3DSupport: 0 555 | ps4attribShareSupport: 0 556 | ps4attribExclusiveVR: 0 557 | ps4disableAutoHideSplash: 0 558 | ps4videoRecordingFeaturesUsed: 0 559 | ps4contentSearchFeaturesUsed: 0 560 | ps4attribEyeToEyeDistanceSettingVR: 0 561 | ps4IncludedModules: [] 562 | ps4attribVROutputEnabled: 0 563 | monoEnv: 564 | splashScreenBackgroundSourceLandscape: {fileID: 0} 565 | splashScreenBackgroundSourcePortrait: {fileID: 0} 566 | blurSplashScreenBackground: 1 567 | spritePackerPolicy: 568 | webGLMemorySize: 16 569 | webGLExceptionSupport: 1 570 | webGLNameFilesAsHashes: 0 571 | webGLDataCaching: 1 572 | webGLDebugSymbols: 0 573 | webGLEmscriptenArgs: 574 | webGLModulesDirectory: 575 | webGLTemplate: APPLICATION:Default 576 | webGLAnalyzeBuildSize: 0 577 | webGLUseEmbeddedResources: 0 578 | webGLCompressionFormat: 1 579 | webGLLinkerTarget: 1 580 | webGLThreadsSupport: 0 581 | webGLWasmStreaming: 0 582 | scriptingDefineSymbols: {} 583 | platformArchitecture: {} 584 | scriptingBackend: {} 585 | il2cppCompilerConfiguration: {} 586 | managedStrippingLevel: {} 587 | incrementalIl2cppBuild: {} 588 | allowUnsafeCode: 0 589 | additionalIl2CppArgs: 590 | scriptingRuntimeVersion: 1 591 | gcIncremental: 0 592 | gcWBarrierValidation: 0 593 | apiCompatibilityLevelPerPlatform: {} 594 | m_RenderingPath: 1 595 | m_MobileRenderingPath: 1 596 | metroPackageName: Template_3D 597 | metroPackageVersion: 598 | metroCertificatePath: 599 | metroCertificatePassword: 600 | metroCertificateSubject: 601 | metroCertificateIssuer: 602 | metroCertificateNotAfter: 0000000000000000 603 | metroApplicationDescription: Template_3D 604 | wsaImages: {} 605 | metroTileShortName: 606 | metroTileShowName: 0 607 | metroMediumTileShowName: 0 608 | metroLargeTileShowName: 0 609 | metroWideTileShowName: 0 610 | metroSupportStreamingInstall: 0 611 | metroLastRequiredScene: 0 612 | metroDefaultTileSize: 1 613 | metroTileForegroundText: 2 614 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 615 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 616 | a: 1} 617 | metroSplashScreenUseBackgroundColor: 0 618 | platformCapabilities: {} 619 | metroTargetDeviceFamilies: {} 620 | metroFTAName: 621 | metroFTAFileTypes: [] 622 | metroProtocolName: 623 | XboxOneProductId: 624 | XboxOneUpdateKey: 625 | XboxOneSandboxId: 626 | XboxOneContentId: 627 | XboxOneTitleId: 628 | XboxOneSCId: 629 | XboxOneGameOsOverridePath: 630 | XboxOnePackagingOverridePath: 631 | XboxOneAppManifestOverridePath: 632 | XboxOneVersion: 1.0.0.0 633 | XboxOnePackageEncryption: 0 634 | XboxOnePackageUpdateGranularity: 2 635 | XboxOneDescription: 636 | XboxOneLanguage: 637 | - enus 638 | XboxOneCapability: [] 639 | XboxOneGameRating: {} 640 | XboxOneIsContentPackage: 0 641 | XboxOneEnableGPUVariability: 1 642 | XboxOneSockets: {} 643 | XboxOneSplashScreen: {fileID: 0} 644 | XboxOneAllowedProductIds: [] 645 | XboxOnePersistentLocalStorageSize: 0 646 | XboxOneXTitleMemory: 8 647 | XboxOneOverrideIdentityName: 648 | vrEditorSettings: 649 | daydream: 650 | daydreamIconForeground: {fileID: 0} 651 | daydreamIconBackground: {fileID: 0} 652 | cloudServicesEnabled: 653 | UNet: 1 654 | luminIcon: 655 | m_Name: 656 | m_ModelFolderPath: 657 | m_PortalFolderPath: 658 | luminCert: 659 | m_CertPath: 660 | m_SignPackage: 1 661 | luminIsChannelApp: 0 662 | luminVersion: 663 | m_VersionCode: 1 664 | m_VersionName: 665 | apiCompatibilityLevel: 6 666 | cloudProjectId: 667 | framebufferDepthMemorylessMode: 0 668 | projectName: 669 | organizationId: 670 | cloudEnabled: 0 671 | enableNativePlatformBackendsForNewInputSystem: 0 672 | disableOldInputManagerSupport: 0 673 | legacyClampBlendShapeWeights: 0 674 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2019.3.0f6 2 | m_EditorVersionWithRevision: 2019.3.0f6 (27ab2135bccf) 3 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 0 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | blendWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 1 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | blendWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | blendWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 0 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 70 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | blendWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 2 199 | antiAliasing: 2 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: 220 | Android: 2 221 | Lumin: 5 222 | Nintendo 3DS: 5 223 | Nintendo Switch: 5 224 | PS4: 5 225 | PSP2: 2 226 | Stadia: 5 227 | Standalone: 5 228 | WebGL: 3 229 | Windows Store Apps: 5 230 | XboxOne: 5 231 | iPhone: 2 232 | tvOS: 2 233 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # UIParticle 2 | Unity 2019.3 UGUI UI上显示特效 3 | ![](1.png) 4 | https://assetstore.unity.com/packages/tools/gui/ui-particles-72330 5 | 6 | http://dingxiaowei.cn 7 | --------------------------------------------------------------------------------