added animation package and made small changes
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0640cf8a703469946920050f727e6300
|
||||
folderAsset: yes
|
||||
timeCreated: 1469056182
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9c7f2ee3ca8db3e41a490fd925eb93ff
|
||||
folderAsset: yes
|
||||
timeCreated: 1469056182
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,76 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: mat_cmn_demo_black
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _EMISSION
|
||||
m_LightmapFlags: 1
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.138
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0.382
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.08
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d8670de407e4e304aaf35072cc2a9fdf
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
@@ -0,0 +1,76 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: mat_cmn_demo_black2
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _EMISSION
|
||||
m_LightmapFlags: 1
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.852
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0.518
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.08
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a05d85e25f6c7d348b3a11a00201cee4
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
@@ -0,0 +1,76 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: mat_cmn_demo_cube
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _EMISSION
|
||||
m_LightmapFlags: 1
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.125
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0.25
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.08
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 0.09558821, g: 0.09558821, b: 0.09558821, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4dae8dacc4b397f48ba64b922d99f58d
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
@@ -0,0 +1,76 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: mat_cmn_demo_plane
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _EMISSION
|
||||
m_LightmapFlags: 1
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 32, y: 32}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: 9622a8e20fa09de4ea7635bcb303645e, type: 3}
|
||||
m_Scale: {x: 32, y: 32}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.125
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0.25
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.08
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 64a9f627478db874e9558f816d1a6ec2
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
@@ -0,0 +1,76 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: mat_cmn_demo_white
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _EMISSION
|
||||
m_LightmapFlags: 1
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.125
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0.5
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.08
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 0.7941176, g: 0.7941176, b: 0.7941176, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 30773d9443003074b971b66a52318b69
|
||||
timeCreated: 1475146307
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f03accf0cae8931459489c58d7c25064
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,78 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: mat_cmn_particle_default-add
|
||||
m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.5
|
||||
- _GlossyReflections: 1
|
||||
- _InvFade: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _TintColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 94298b3310b609644996cb9a430b8168
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c6141564564d61c49ae08c4c63a05750
|
||||
folderAsset: yes
|
||||
timeCreated: 1497320398
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b281a623300957945b6feb67f2ecc7cb
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,344 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8a3bdb2cd68f901469e7cc149151eb49, type: 3}
|
||||
m_Name: Ultimate VFX - Galaxy
|
||||
m_EditorClassIdentifier:
|
||||
debugViews:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
depth:
|
||||
scale: 1
|
||||
motionVectors:
|
||||
sourceOpacity: 1
|
||||
motionImageOpacity: 0
|
||||
motionImageAmplitude: 16
|
||||
motionVectorsOpacity: 1
|
||||
motionVectorsResolution: 24
|
||||
motionVectorsAmplitude: 64
|
||||
fog:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
excludeSkybox: 0
|
||||
antialiasing:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
method: 0
|
||||
fxaaSettings:
|
||||
preset: 2
|
||||
taaSettings:
|
||||
jitterSpread: 0.75
|
||||
sharpen: 0.3
|
||||
stationaryBlending: 0.95
|
||||
motionBlending: 0.85
|
||||
ambientOcclusion:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
intensity: 1
|
||||
radius: 0.3
|
||||
sampleCount: 10
|
||||
downsampling: 1
|
||||
forceForwardCompatibility: 0
|
||||
ambientOnly: 0
|
||||
highPrecision: 0
|
||||
screenSpaceReflection:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
reflection:
|
||||
blendType: 0
|
||||
reflectionQuality: 2
|
||||
maxDistance: 100
|
||||
iterationCount: 256
|
||||
stepSize: 3
|
||||
widthModifier: 0.5
|
||||
reflectionBlur: 1
|
||||
reflectBackfaces: 0
|
||||
intensity:
|
||||
reflectionMultiplier: 1
|
||||
fadeDistance: 100
|
||||
fresnelFade: 1
|
||||
fresnelFadePower: 1
|
||||
screenEdgeMask:
|
||||
intensity: 0.03
|
||||
depthOfField:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
focusDistance: 10
|
||||
aperture: 5.6
|
||||
focalLength: 50
|
||||
useCameraFov: 0
|
||||
kernelSize: 1
|
||||
motionBlur:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
shutterAngle: 270
|
||||
sampleCount: 10
|
||||
frameBlending: 0
|
||||
eyeAdaptation:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lowPercent: 45
|
||||
highPercent: 95
|
||||
minLuminance: -5
|
||||
maxLuminance: 1
|
||||
keyValue: 0.25
|
||||
dynamicKeyValue: 1
|
||||
adaptationType: 0
|
||||
speedUp: 2
|
||||
speedDown: 1
|
||||
logMin: -8
|
||||
logMax: 4
|
||||
bloom:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
bloom:
|
||||
intensity: 0.25
|
||||
threshold: 1.25
|
||||
softKnee: 1
|
||||
radius: 7
|
||||
antiFlicker: 1
|
||||
lensDirt:
|
||||
texture: {fileID: 0}
|
||||
intensity: 3
|
||||
colorGrading:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
tonemapping:
|
||||
tonemapper: 1
|
||||
neutralBlackIn: 0.02
|
||||
neutralWhiteIn: 10
|
||||
neutralBlackOut: 0
|
||||
neutralWhiteOut: 10
|
||||
neutralWhiteLevel: 5.3
|
||||
neutralWhiteClip: 10
|
||||
basic:
|
||||
postExposure: 0.125
|
||||
temperature: -17.5
|
||||
tint: 28.3
|
||||
hueShift: 0
|
||||
saturation: 1.094
|
||||
contrast: 1.252
|
||||
channelMixer:
|
||||
red: {x: 1, y: 0, z: 0}
|
||||
green: {x: 0, y: 1, z: 0}
|
||||
blue: {x: 0, y: 0, z: 1}
|
||||
currentEditingChannel: 0
|
||||
colorWheels:
|
||||
mode: 1
|
||||
log:
|
||||
slope: {r: 1, g: 1, b: 1, a: 0}
|
||||
power: {r: 0.63815534, g: 0.7424303, b: 1, a: 0}
|
||||
offset: {r: 1, g: 0.85775965, b: 0.7499707, a: 0}
|
||||
linear:
|
||||
lift: {r: 0, g: 0, b: 0, a: 0}
|
||||
gamma: {r: 0, g: 0, b: 0, a: 0}
|
||||
gain: {r: 0, g: 0, b: 0, a: 0}
|
||||
curves:
|
||||
master:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 0
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
red:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
green:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
blue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
hueVShue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
hueVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
satVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
lumVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
e_CurrentEditingCurve: 0
|
||||
e_CurveY: 1
|
||||
e_CurveR: 0
|
||||
e_CurveG: 0
|
||||
e_CurveB: 0
|
||||
userLut:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lut: {fileID: 0}
|
||||
contribution: 1
|
||||
chromaticAberration:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
spectralTexture: {fileID: 0}
|
||||
intensity: 0.2
|
||||
grain:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
colored: 1
|
||||
intensity: 0.5
|
||||
size: 1
|
||||
luminanceContribution: 0.8
|
||||
vignette:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
color: {r: 0, g: 0, b: 0, a: 1}
|
||||
center: {x: 0.5, y: 0.5}
|
||||
intensity: 0.45
|
||||
smoothness: 0.2
|
||||
roundness: 1
|
||||
mask: {fileID: 0}
|
||||
opacity: 1
|
||||
rounded: 0
|
||||
dithering:
|
||||
m_Enabled: 1
|
||||
monitors:
|
||||
currentMonitorID: 0
|
||||
refreshOnPlay: 0
|
||||
histogramMode: 3
|
||||
waveformExposure: 0.12
|
||||
waveformY: 0
|
||||
waveformR: 1
|
||||
waveformG: 1
|
||||
waveformB: 1
|
||||
paradeExposure: 0.12
|
||||
vectorscopeExposure: 0.12
|
||||
vectorscopeShowBackground: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e46338ebe16bca84baf1578ecdade0a9
|
||||
timeCreated: 1497320414
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,344 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8a3bdb2cd68f901469e7cc149151eb49, type: 3}
|
||||
m_Name: Ultimate VFX - Terrain Rain
|
||||
m_EditorClassIdentifier:
|
||||
debugViews:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
depth:
|
||||
scale: 1
|
||||
motionVectors:
|
||||
sourceOpacity: 1
|
||||
motionImageOpacity: 0
|
||||
motionImageAmplitude: 16
|
||||
motionVectorsOpacity: 1
|
||||
motionVectorsResolution: 24
|
||||
motionVectorsAmplitude: 64
|
||||
fog:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
excludeSkybox: 0
|
||||
antialiasing:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
method: 0
|
||||
fxaaSettings:
|
||||
preset: 2
|
||||
taaSettings:
|
||||
jitterSpread: 0.75
|
||||
sharpen: 0.3
|
||||
stationaryBlending: 0.95
|
||||
motionBlending: 0.85
|
||||
ambientOcclusion:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
intensity: 1
|
||||
radius: 0.3
|
||||
sampleCount: 10
|
||||
downsampling: 1
|
||||
forceForwardCompatibility: 0
|
||||
ambientOnly: 0
|
||||
highPrecision: 0
|
||||
screenSpaceReflection:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
reflection:
|
||||
blendType: 0
|
||||
reflectionQuality: 2
|
||||
maxDistance: 100
|
||||
iterationCount: 256
|
||||
stepSize: 3
|
||||
widthModifier: 0.5
|
||||
reflectionBlur: 1
|
||||
reflectBackfaces: 0
|
||||
intensity:
|
||||
reflectionMultiplier: 1
|
||||
fadeDistance: 100
|
||||
fresnelFade: 1
|
||||
fresnelFadePower: 1
|
||||
screenEdgeMask:
|
||||
intensity: 0.03
|
||||
depthOfField:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
focusDistance: 10
|
||||
aperture: 5.6
|
||||
focalLength: 50
|
||||
useCameraFov: 0
|
||||
kernelSize: 1
|
||||
motionBlur:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
shutterAngle: 270
|
||||
sampleCount: 10
|
||||
frameBlending: 0
|
||||
eyeAdaptation:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lowPercent: 45
|
||||
highPercent: 95
|
||||
minLuminance: -5
|
||||
maxLuminance: 1
|
||||
keyValue: 0.25
|
||||
dynamicKeyValue: 1
|
||||
adaptationType: 0
|
||||
speedUp: 2
|
||||
speedDown: 1
|
||||
logMin: -8
|
||||
logMax: 4
|
||||
bloom:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
bloom:
|
||||
intensity: 0.125
|
||||
threshold: 1
|
||||
softKnee: 0.5
|
||||
radius: 7
|
||||
antiFlicker: 1
|
||||
lensDirt:
|
||||
texture: {fileID: 0}
|
||||
intensity: 3
|
||||
colorGrading:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
tonemapping:
|
||||
tonemapper: 2
|
||||
neutralBlackIn: 0.02
|
||||
neutralWhiteIn: 10
|
||||
neutralBlackOut: 0
|
||||
neutralWhiteOut: 10
|
||||
neutralWhiteLevel: 5.3
|
||||
neutralWhiteClip: 10
|
||||
basic:
|
||||
postExposure: 0
|
||||
temperature: -10
|
||||
tint: 15
|
||||
hueShift: 0
|
||||
saturation: 0.8
|
||||
contrast: 1.15
|
||||
channelMixer:
|
||||
red: {x: 1, y: 0, z: 0}
|
||||
green: {x: 0, y: 1, z: 0}
|
||||
blue: {x: 0, y: 0, z: 1}
|
||||
currentEditingChannel: 0
|
||||
colorWheels:
|
||||
mode: 1
|
||||
log:
|
||||
slope: {r: 1, g: 1, b: 1, a: 0}
|
||||
power: {r: 0.63815534, g: 0.7424303, b: 1, a: 0}
|
||||
offset: {r: 1, g: 0.85775965, b: 0.7499707, a: 0}
|
||||
linear:
|
||||
lift: {r: 0, g: 0, b: 0, a: 0}
|
||||
gamma: {r: 0, g: 0, b: 0, a: 0}
|
||||
gain: {r: 0, g: 0, b: 0, a: 0}
|
||||
curves:
|
||||
master:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 0
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
red:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
green:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
blue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
hueVShue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
hueVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
satVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
lumVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
e_CurrentEditingCurve: 0
|
||||
e_CurveY: 1
|
||||
e_CurveR: 0
|
||||
e_CurveG: 0
|
||||
e_CurveB: 0
|
||||
userLut:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lut: {fileID: 0}
|
||||
contribution: 1
|
||||
chromaticAberration:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
spectralTexture: {fileID: 0}
|
||||
intensity: 0.1
|
||||
grain:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
colored: 1
|
||||
intensity: 0.5
|
||||
size: 1
|
||||
luminanceContribution: 0.8
|
||||
vignette:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
color: {r: 0, g: 0, b: 0, a: 1}
|
||||
center: {x: 0.5, y: 0.5}
|
||||
intensity: 0.45
|
||||
smoothness: 0.2
|
||||
roundness: 1
|
||||
mask: {fileID: 0}
|
||||
opacity: 1
|
||||
rounded: 0
|
||||
dithering:
|
||||
m_Enabled: 1
|
||||
monitors:
|
||||
currentMonitorID: 0
|
||||
refreshOnPlay: 0
|
||||
histogramMode: 3
|
||||
waveformExposure: 0.12
|
||||
waveformY: 0
|
||||
waveformR: 1
|
||||
waveformG: 1
|
||||
waveformB: 1
|
||||
paradeExposure: 0.12
|
||||
vectorscopeExposure: 0.12
|
||||
vectorscopeShowBackground: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4a8330de1d688414f97259bc698c9fdc
|
||||
timeCreated: 1497320414
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b812e16104a4268479067ea45bcfc3c4
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,344 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8a3bdb2cd68f901469e7cc149151eb49, type: 3}
|
||||
m_Name: 'Ultimate VFX - MAIN (PROMO - SAVED PROFILE #1)'
|
||||
m_EditorClassIdentifier:
|
||||
debugViews:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
depth:
|
||||
scale: 1
|
||||
motionVectors:
|
||||
sourceOpacity: 1
|
||||
motionImageOpacity: 0
|
||||
motionImageAmplitude: 16
|
||||
motionVectorsOpacity: 1
|
||||
motionVectorsResolution: 24
|
||||
motionVectorsAmplitude: 64
|
||||
fog:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
excludeSkybox: 0
|
||||
antialiasing:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
method: 0
|
||||
fxaaSettings:
|
||||
preset: 4
|
||||
taaSettings:
|
||||
jitterSpread: 0.75
|
||||
sharpen: 0.3
|
||||
stationaryBlending: 0.95
|
||||
motionBlending: 0.85
|
||||
ambientOcclusion:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
intensity: 1
|
||||
radius: 0.3
|
||||
sampleCount: 10
|
||||
downsampling: 1
|
||||
forceForwardCompatibility: 0
|
||||
ambientOnly: 0
|
||||
highPrecision: 0
|
||||
screenSpaceReflection:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
reflection:
|
||||
blendType: 0
|
||||
reflectionQuality: 0
|
||||
maxDistance: 100
|
||||
iterationCount: 256
|
||||
stepSize: 3
|
||||
widthModifier: 0.5
|
||||
reflectionBlur: 1
|
||||
reflectBackfaces: 0
|
||||
intensity:
|
||||
reflectionMultiplier: 1
|
||||
fadeDistance: 100
|
||||
fresnelFade: 1
|
||||
fresnelFadePower: 1
|
||||
screenEdgeMask:
|
||||
intensity: 0.03
|
||||
depthOfField:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
focusDistance: 10
|
||||
aperture: 5.6
|
||||
focalLength: 50
|
||||
useCameraFov: 0
|
||||
kernelSize: 1
|
||||
motionBlur:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
shutterAngle: 360
|
||||
sampleCount: 32
|
||||
frameBlending: 0
|
||||
eyeAdaptation:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lowPercent: 45
|
||||
highPercent: 95
|
||||
minLuminance: -5
|
||||
maxLuminance: 1
|
||||
keyValue: 0.25
|
||||
dynamicKeyValue: 1
|
||||
adaptationType: 0
|
||||
speedUp: 2
|
||||
speedDown: 1
|
||||
logMin: -8
|
||||
logMax: 4
|
||||
bloom:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
bloom:
|
||||
intensity: 0.34
|
||||
threshold: 1.06
|
||||
softKnee: 0.808
|
||||
radius: 6.56
|
||||
antiFlicker: 1
|
||||
lensDirt:
|
||||
texture: {fileID: 0}
|
||||
intensity: 3
|
||||
colorGrading:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
tonemapping:
|
||||
tonemapper: 1
|
||||
neutralBlackIn: 0.02
|
||||
neutralWhiteIn: 10
|
||||
neutralBlackOut: 0
|
||||
neutralWhiteOut: 10
|
||||
neutralWhiteLevel: 5.3
|
||||
neutralWhiteClip: 10
|
||||
basic:
|
||||
postExposure: 0
|
||||
temperature: -25.2
|
||||
tint: 40.8
|
||||
hueShift: 0
|
||||
saturation: 0.906
|
||||
contrast: 1.15
|
||||
channelMixer:
|
||||
red: {x: 1, y: 0, z: 0}
|
||||
green: {x: 0, y: 1, z: 0}
|
||||
blue: {x: 0, y: 0, z: 1}
|
||||
currentEditingChannel: 0
|
||||
colorWheels:
|
||||
mode: 1
|
||||
log:
|
||||
slope: {r: 1, g: 1, b: 1, a: 0}
|
||||
power: {r: 0.63815534, g: 0.7424303, b: 1, a: 0}
|
||||
offset: {r: 1, g: 0.85775965, b: 0.7499707, a: 0}
|
||||
linear:
|
||||
lift: {r: 0, g: 0, b: 0, a: 0}
|
||||
gamma: {r: 0, g: 0, b: 0, a: 0}
|
||||
gain: {r: 0, g: 0, b: 0, a: 0}
|
||||
curves:
|
||||
master:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 0
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
red:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
green:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
blue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
hueVShue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
hueVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
satVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
lumVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
e_CurrentEditingCurve: 0
|
||||
e_CurveY: 1
|
||||
e_CurveR: 0
|
||||
e_CurveG: 0
|
||||
e_CurveB: 0
|
||||
userLut:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lut: {fileID: 0}
|
||||
contribution: 1
|
||||
chromaticAberration:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
spectralTexture: {fileID: 0}
|
||||
intensity: 0.131
|
||||
grain:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
colored: 1
|
||||
intensity: 0.5
|
||||
size: 1
|
||||
luminanceContribution: 0.8
|
||||
vignette:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
color: {r: 0, g: 0, b: 0, a: 1}
|
||||
center: {x: 0.5, y: 0.5}
|
||||
intensity: 0.45
|
||||
smoothness: 0.2
|
||||
roundness: 1
|
||||
mask: {fileID: 0}
|
||||
opacity: 1
|
||||
rounded: 0
|
||||
dithering:
|
||||
m_Enabled: 1
|
||||
monitors:
|
||||
currentMonitorID: 0
|
||||
refreshOnPlay: 0
|
||||
histogramMode: 3
|
||||
waveformExposure: 0.12
|
||||
waveformY: 0
|
||||
waveformR: 1
|
||||
waveformG: 1
|
||||
waveformB: 1
|
||||
paradeExposure: 0.12
|
||||
vectorscopeExposure: 0.12
|
||||
vectorscopeShowBackground: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f359cfa05f0aeea4e90a234985f346c1
|
||||
timeCreated: 1497320414
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,344 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8a3bdb2cd68f901469e7cc149151eb49, type: 3}
|
||||
m_Name: 'Ultimate VFX - MAIN (PROMO - SAVED PROFILE #2)'
|
||||
m_EditorClassIdentifier:
|
||||
debugViews:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
depth:
|
||||
scale: 1
|
||||
motionVectors:
|
||||
sourceOpacity: 1
|
||||
motionImageOpacity: 0
|
||||
motionImageAmplitude: 16
|
||||
motionVectorsOpacity: 1
|
||||
motionVectorsResolution: 24
|
||||
motionVectorsAmplitude: 64
|
||||
fog:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
excludeSkybox: 0
|
||||
antialiasing:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
method: 0
|
||||
fxaaSettings:
|
||||
preset: 2
|
||||
taaSettings:
|
||||
jitterSpread: 0.75
|
||||
sharpen: 0.3
|
||||
stationaryBlending: 0.95
|
||||
motionBlending: 0.85
|
||||
ambientOcclusion:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
intensity: 1
|
||||
radius: 0.3
|
||||
sampleCount: 10
|
||||
downsampling: 1
|
||||
forceForwardCompatibility: 0
|
||||
ambientOnly: 0
|
||||
highPrecision: 0
|
||||
screenSpaceReflection:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
reflection:
|
||||
blendType: 0
|
||||
reflectionQuality: 2
|
||||
maxDistance: 100
|
||||
iterationCount: 256
|
||||
stepSize: 3
|
||||
widthModifier: 0.5
|
||||
reflectionBlur: 1
|
||||
reflectBackfaces: 0
|
||||
intensity:
|
||||
reflectionMultiplier: 1
|
||||
fadeDistance: 100
|
||||
fresnelFade: 1
|
||||
fresnelFadePower: 1
|
||||
screenEdgeMask:
|
||||
intensity: 0.03
|
||||
depthOfField:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
focusDistance: 10
|
||||
aperture: 5.6
|
||||
focalLength: 50
|
||||
useCameraFov: 0
|
||||
kernelSize: 1
|
||||
motionBlur:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
shutterAngle: 270
|
||||
sampleCount: 10
|
||||
frameBlending: 0
|
||||
eyeAdaptation:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lowPercent: 45
|
||||
highPercent: 95
|
||||
minLuminance: -5
|
||||
maxLuminance: 1
|
||||
keyValue: 0.25
|
||||
dynamicKeyValue: 1
|
||||
adaptationType: 0
|
||||
speedUp: 2
|
||||
speedDown: 1
|
||||
logMin: -8
|
||||
logMax: 4
|
||||
bloom:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
bloom:
|
||||
intensity: 0.2
|
||||
threshold: 0.85
|
||||
softKnee: 1
|
||||
radius: 7
|
||||
antiFlicker: 1
|
||||
lensDirt:
|
||||
texture: {fileID: 0}
|
||||
intensity: 3
|
||||
colorGrading:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
tonemapping:
|
||||
tonemapper: 1
|
||||
neutralBlackIn: 0.02
|
||||
neutralWhiteIn: 10
|
||||
neutralBlackOut: 0
|
||||
neutralWhiteOut: 10
|
||||
neutralWhiteLevel: 5.3
|
||||
neutralWhiteClip: 10
|
||||
basic:
|
||||
postExposure: 0.5
|
||||
temperature: -10
|
||||
tint: 15
|
||||
hueShift: 0
|
||||
saturation: 1
|
||||
contrast: 1.15
|
||||
channelMixer:
|
||||
red: {x: 1, y: 0, z: 0}
|
||||
green: {x: 0, y: 1, z: 0}
|
||||
blue: {x: 0, y: 0, z: 1}
|
||||
currentEditingChannel: 0
|
||||
colorWheels:
|
||||
mode: 1
|
||||
log:
|
||||
slope: {r: 1, g: 1, b: 1, a: 0}
|
||||
power: {r: 0.63815534, g: 0.7424303, b: 1, a: 0}
|
||||
offset: {r: 1, g: 0.85775965, b: 0.7499707, a: 0}
|
||||
linear:
|
||||
lift: {r: 0, g: 0, b: 0, a: 0}
|
||||
gamma: {r: 0, g: 0, b: 0, a: 0}
|
||||
gain: {r: 0, g: 0, b: 0, a: 0}
|
||||
curves:
|
||||
master:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 0
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
red:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
green:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
blue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
hueVShue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
hueVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
satVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
lumVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
e_CurrentEditingCurve: 0
|
||||
e_CurveY: 1
|
||||
e_CurveR: 0
|
||||
e_CurveG: 0
|
||||
e_CurveB: 0
|
||||
userLut:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lut: {fileID: 0}
|
||||
contribution: 1
|
||||
chromaticAberration:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
spectralTexture: {fileID: 0}
|
||||
intensity: 0.1
|
||||
grain:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
colored: 1
|
||||
intensity: 0.5
|
||||
size: 1
|
||||
luminanceContribution: 0.8
|
||||
vignette:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
color: {r: 0, g: 0, b: 0, a: 1}
|
||||
center: {x: 0.5, y: 0.5}
|
||||
intensity: 0.45
|
||||
smoothness: 0.2
|
||||
roundness: 1
|
||||
mask: {fileID: 0}
|
||||
opacity: 1
|
||||
rounded: 0
|
||||
dithering:
|
||||
m_Enabled: 1
|
||||
monitors:
|
||||
currentMonitorID: 0
|
||||
refreshOnPlay: 0
|
||||
histogramMode: 3
|
||||
waveformExposure: 0.12
|
||||
waveformY: 0
|
||||
waveformR: 1
|
||||
waveformG: 1
|
||||
waveformB: 1
|
||||
paradeExposure: 0.12
|
||||
vectorscopeExposure: 0.12
|
||||
vectorscopeShowBackground: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1cfa00462e0cdff44a8e1710af117e5c
|
||||
timeCreated: 1497320414
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,344 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8a3bdb2cd68f901469e7cc149151eb49, type: 3}
|
||||
m_Name: 'Ultimate VFX - MAIN (PROMO - SAVED PROFILE #3)'
|
||||
m_EditorClassIdentifier:
|
||||
debugViews:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
depth:
|
||||
scale: 1
|
||||
motionVectors:
|
||||
sourceOpacity: 1
|
||||
motionImageOpacity: 0
|
||||
motionImageAmplitude: 16
|
||||
motionVectorsOpacity: 1
|
||||
motionVectorsResolution: 24
|
||||
motionVectorsAmplitude: 64
|
||||
fog:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
excludeSkybox: 0
|
||||
antialiasing:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
method: 0
|
||||
fxaaSettings:
|
||||
preset: 4
|
||||
taaSettings:
|
||||
jitterSpread: 0.75
|
||||
sharpen: 0.3
|
||||
stationaryBlending: 0.95
|
||||
motionBlending: 0.85
|
||||
ambientOcclusion:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
intensity: 1
|
||||
radius: 0.3
|
||||
sampleCount: 10
|
||||
downsampling: 1
|
||||
forceForwardCompatibility: 0
|
||||
ambientOnly: 0
|
||||
highPrecision: 0
|
||||
screenSpaceReflection:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
reflection:
|
||||
blendType: 0
|
||||
reflectionQuality: 0
|
||||
maxDistance: 100
|
||||
iterationCount: 256
|
||||
stepSize: 3
|
||||
widthModifier: 0.5
|
||||
reflectionBlur: 1
|
||||
reflectBackfaces: 0
|
||||
intensity:
|
||||
reflectionMultiplier: 1
|
||||
fadeDistance: 100
|
||||
fresnelFade: 1
|
||||
fresnelFadePower: 1
|
||||
screenEdgeMask:
|
||||
intensity: 0.03
|
||||
depthOfField:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
focusDistance: 10
|
||||
aperture: 5.6
|
||||
focalLength: 50
|
||||
useCameraFov: 0
|
||||
kernelSize: 1
|
||||
motionBlur:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
shutterAngle: 10
|
||||
sampleCount: 32
|
||||
frameBlending: 0
|
||||
eyeAdaptation:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lowPercent: 45
|
||||
highPercent: 95
|
||||
minLuminance: -5
|
||||
maxLuminance: 1
|
||||
keyValue: 0.25
|
||||
dynamicKeyValue: 1
|
||||
adaptationType: 0
|
||||
speedUp: 2
|
||||
speedDown: 1
|
||||
logMin: -8
|
||||
logMax: 4
|
||||
bloom:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
bloom:
|
||||
intensity: 0.125
|
||||
threshold: 4
|
||||
softKnee: 1
|
||||
radius: 5
|
||||
antiFlicker: 1
|
||||
lensDirt:
|
||||
texture: {fileID: 0}
|
||||
intensity: 3
|
||||
colorGrading:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
tonemapping:
|
||||
tonemapper: 1
|
||||
neutralBlackIn: 0.02
|
||||
neutralWhiteIn: 10
|
||||
neutralBlackOut: 0
|
||||
neutralWhiteOut: 10
|
||||
neutralWhiteLevel: 5.3
|
||||
neutralWhiteClip: 10
|
||||
basic:
|
||||
postExposure: 0
|
||||
temperature: -23.3
|
||||
tint: 28.9
|
||||
hueShift: 0
|
||||
saturation: 1.201
|
||||
contrast: 1.117
|
||||
channelMixer:
|
||||
red: {x: 1, y: 0, z: 0}
|
||||
green: {x: 0, y: 1, z: 0}
|
||||
blue: {x: 0, y: 0, z: 1}
|
||||
currentEditingChannel: 0
|
||||
colorWheels:
|
||||
mode: 1
|
||||
log:
|
||||
slope: {r: 1, g: 1, b: 1, a: 0}
|
||||
power: {r: 0.63815534, g: 0.7424303, b: 1, a: 0}
|
||||
offset: {r: 1, g: 0.85775965, b: 0.7499707, a: 0}
|
||||
linear:
|
||||
lift: {r: 0, g: 0, b: 0, a: 0}
|
||||
gamma: {r: 0, g: 0, b: 0, a: 0}
|
||||
gain: {r: 0, g: 0, b: 0, a: 0}
|
||||
curves:
|
||||
master:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 0
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
red:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
green:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
blue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
hueVShue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
hueVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
satVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
lumVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
e_CurrentEditingCurve: 0
|
||||
e_CurveY: 1
|
||||
e_CurveR: 0
|
||||
e_CurveG: 0
|
||||
e_CurveB: 0
|
||||
userLut:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lut: {fileID: 0}
|
||||
contribution: 1
|
||||
chromaticAberration:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
spectralTexture: {fileID: 0}
|
||||
intensity: 0.131
|
||||
grain:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
colored: 1
|
||||
intensity: 0.5
|
||||
size: 1
|
||||
luminanceContribution: 0.8
|
||||
vignette:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
color: {r: 0, g: 0, b: 0, a: 1}
|
||||
center: {x: 0.5, y: 0.5}
|
||||
intensity: 0.45
|
||||
smoothness: 0.2
|
||||
roundness: 1
|
||||
mask: {fileID: 0}
|
||||
opacity: 1
|
||||
rounded: 0
|
||||
dithering:
|
||||
m_Enabled: 1
|
||||
monitors:
|
||||
currentMonitorID: 0
|
||||
refreshOnPlay: 0
|
||||
histogramMode: 3
|
||||
waveformExposure: 0.12
|
||||
waveformY: 0
|
||||
waveformR: 1
|
||||
waveformG: 1
|
||||
waveformB: 1
|
||||
paradeExposure: 0.12
|
||||
vectorscopeExposure: 0.12
|
||||
vectorscopeShowBackground: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fee83793d49f5824681efe646fa8f9da
|
||||
timeCreated: 1497320414
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,344 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8a3bdb2cd68f901469e7cc149151eb49, type: 3}
|
||||
m_Name: 'Ultimate VFX - MAIN (PROMO - SAVED PROFILE #4)'
|
||||
m_EditorClassIdentifier:
|
||||
debugViews:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
depth:
|
||||
scale: 1
|
||||
motionVectors:
|
||||
sourceOpacity: 1
|
||||
motionImageOpacity: 0
|
||||
motionImageAmplitude: 16
|
||||
motionVectorsOpacity: 1
|
||||
motionVectorsResolution: 24
|
||||
motionVectorsAmplitude: 64
|
||||
fog:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
excludeSkybox: 0
|
||||
antialiasing:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
method: 0
|
||||
fxaaSettings:
|
||||
preset: 4
|
||||
taaSettings:
|
||||
jitterSpread: 0.75
|
||||
sharpen: 0.3
|
||||
stationaryBlending: 0.95
|
||||
motionBlending: 0.85
|
||||
ambientOcclusion:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
intensity: 1
|
||||
radius: 0.3
|
||||
sampleCount: 10
|
||||
downsampling: 1
|
||||
forceForwardCompatibility: 0
|
||||
ambientOnly: 0
|
||||
highPrecision: 0
|
||||
screenSpaceReflection:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
reflection:
|
||||
blendType: 0
|
||||
reflectionQuality: 0
|
||||
maxDistance: 100
|
||||
iterationCount: 256
|
||||
stepSize: 3
|
||||
widthModifier: 0.5
|
||||
reflectionBlur: 1
|
||||
reflectBackfaces: 0
|
||||
intensity:
|
||||
reflectionMultiplier: 1
|
||||
fadeDistance: 100
|
||||
fresnelFade: 1
|
||||
fresnelFadePower: 1
|
||||
screenEdgeMask:
|
||||
intensity: 0.03
|
||||
depthOfField:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
focusDistance: 10
|
||||
aperture: 5.6
|
||||
focalLength: 50
|
||||
useCameraFov: 0
|
||||
kernelSize: 1
|
||||
motionBlur:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
shutterAngle: 360
|
||||
sampleCount: 32
|
||||
frameBlending: 1
|
||||
eyeAdaptation:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lowPercent: 45
|
||||
highPercent: 95
|
||||
minLuminance: -5
|
||||
maxLuminance: 1
|
||||
keyValue: 0.25
|
||||
dynamicKeyValue: 1
|
||||
adaptationType: 0
|
||||
speedUp: 2
|
||||
speedDown: 1
|
||||
logMin: -8
|
||||
logMax: 4
|
||||
bloom:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
bloom:
|
||||
intensity: 2
|
||||
threshold: 0.8
|
||||
softKnee: 0.525
|
||||
radius: 7
|
||||
antiFlicker: 1
|
||||
lensDirt:
|
||||
texture: {fileID: 0}
|
||||
intensity: 3
|
||||
colorGrading:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
tonemapping:
|
||||
tonemapper: 1
|
||||
neutralBlackIn: 0.02
|
||||
neutralWhiteIn: 10
|
||||
neutralBlackOut: 0
|
||||
neutralWhiteOut: 10
|
||||
neutralWhiteLevel: 5.3
|
||||
neutralWhiteClip: 10
|
||||
basic:
|
||||
postExposure: 0
|
||||
temperature: -12.2
|
||||
tint: 22.6
|
||||
hueShift: 0
|
||||
saturation: 0.906
|
||||
contrast: 1.15
|
||||
channelMixer:
|
||||
red: {x: 1, y: 0, z: 0}
|
||||
green: {x: 0, y: 1, z: 0}
|
||||
blue: {x: 0, y: 0, z: 1}
|
||||
currentEditingChannel: 0
|
||||
colorWheels:
|
||||
mode: 1
|
||||
log:
|
||||
slope: {r: 1, g: 1, b: 1, a: 0}
|
||||
power: {r: 0.63815534, g: 0.7424303, b: 1, a: 0}
|
||||
offset: {r: 1, g: 0.85775965, b: 0.7499707, a: 0}
|
||||
linear:
|
||||
lift: {r: 0, g: 0, b: 0, a: 0}
|
||||
gamma: {r: 0, g: 0, b: 0, a: 0}
|
||||
gain: {r: 0, g: 0, b: 0, a: 0}
|
||||
curves:
|
||||
master:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 0
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
red:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
green:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
blue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
hueVShue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
hueVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
satVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
lumVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
e_CurrentEditingCurve: 0
|
||||
e_CurveY: 1
|
||||
e_CurveR: 0
|
||||
e_CurveG: 0
|
||||
e_CurveB: 0
|
||||
userLut:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lut: {fileID: 0}
|
||||
contribution: 1
|
||||
chromaticAberration:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
spectralTexture: {fileID: 0}
|
||||
intensity: 1
|
||||
grain:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
colored: 1
|
||||
intensity: 0.326
|
||||
size: 0.416
|
||||
luminanceContribution: 0.8
|
||||
vignette:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
color: {r: 0, g: 0, b: 0, a: 1}
|
||||
center: {x: 0.5, y: 0.5}
|
||||
intensity: 0.45
|
||||
smoothness: 0.2
|
||||
roundness: 1
|
||||
mask: {fileID: 0}
|
||||
opacity: 1
|
||||
rounded: 0
|
||||
dithering:
|
||||
m_Enabled: 0
|
||||
monitors:
|
||||
currentMonitorID: 0
|
||||
refreshOnPlay: 0
|
||||
histogramMode: 3
|
||||
waveformExposure: 0.12
|
||||
waveformY: 0
|
||||
waveformR: 1
|
||||
waveformG: 1
|
||||
waveformB: 1
|
||||
paradeExposure: 0.12
|
||||
vectorscopeExposure: 0.12
|
||||
vectorscopeShowBackground: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1fa9ad7036192c44fb7fb24b8218c750
|
||||
timeCreated: 1497320414
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,344 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8a3bdb2cd68f901469e7cc149151eb49, type: 3}
|
||||
m_Name: 'Ultimate VFX - MAIN (PROMO - SAVED PROFILE #5)'
|
||||
m_EditorClassIdentifier:
|
||||
debugViews:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
depth:
|
||||
scale: 1
|
||||
motionVectors:
|
||||
sourceOpacity: 1
|
||||
motionImageOpacity: 0
|
||||
motionImageAmplitude: 16
|
||||
motionVectorsOpacity: 1
|
||||
motionVectorsResolution: 24
|
||||
motionVectorsAmplitude: 64
|
||||
fog:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
excludeSkybox: 0
|
||||
antialiasing:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
method: 0
|
||||
fxaaSettings:
|
||||
preset: 2
|
||||
taaSettings:
|
||||
jitterSpread: 0.75
|
||||
sharpen: 0.3
|
||||
stationaryBlending: 0.95
|
||||
motionBlending: 0.85
|
||||
ambientOcclusion:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
intensity: 1
|
||||
radius: 0.3
|
||||
sampleCount: 10
|
||||
downsampling: 1
|
||||
forceForwardCompatibility: 0
|
||||
ambientOnly: 0
|
||||
highPrecision: 0
|
||||
screenSpaceReflection:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
reflection:
|
||||
blendType: 0
|
||||
reflectionQuality: 2
|
||||
maxDistance: 100
|
||||
iterationCount: 256
|
||||
stepSize: 3
|
||||
widthModifier: 0.5
|
||||
reflectionBlur: 1
|
||||
reflectBackfaces: 0
|
||||
intensity:
|
||||
reflectionMultiplier: 1
|
||||
fadeDistance: 100
|
||||
fresnelFade: 1
|
||||
fresnelFadePower: 1
|
||||
screenEdgeMask:
|
||||
intensity: 0.03
|
||||
depthOfField:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
focusDistance: 10
|
||||
aperture: 5.6
|
||||
focalLength: 50
|
||||
useCameraFov: 0
|
||||
kernelSize: 1
|
||||
motionBlur:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
shutterAngle: 270
|
||||
sampleCount: 10
|
||||
frameBlending: 0
|
||||
eyeAdaptation:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lowPercent: 45
|
||||
highPercent: 95
|
||||
minLuminance: -5
|
||||
maxLuminance: 1
|
||||
keyValue: 0.25
|
||||
dynamicKeyValue: 1
|
||||
adaptationType: 0
|
||||
speedUp: 2
|
||||
speedDown: 1
|
||||
logMin: -8
|
||||
logMax: 4
|
||||
bloom:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
bloom:
|
||||
intensity: 0.25
|
||||
threshold: 1.25
|
||||
softKnee: 0.5
|
||||
radius: 7
|
||||
antiFlicker: 1
|
||||
lensDirt:
|
||||
texture: {fileID: 0}
|
||||
intensity: 3
|
||||
colorGrading:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
tonemapping:
|
||||
tonemapper: 1
|
||||
neutralBlackIn: 0.02
|
||||
neutralWhiteIn: 10
|
||||
neutralBlackOut: 0
|
||||
neutralWhiteOut: 10
|
||||
neutralWhiteLevel: 5.3
|
||||
neutralWhiteClip: 10
|
||||
basic:
|
||||
postExposure: 0.125
|
||||
temperature: -10
|
||||
tint: 15
|
||||
hueShift: 0
|
||||
saturation: 0.8
|
||||
contrast: 1.15
|
||||
channelMixer:
|
||||
red: {x: 1, y: 0, z: 0}
|
||||
green: {x: 0, y: 1, z: 0}
|
||||
blue: {x: 0, y: 0, z: 1}
|
||||
currentEditingChannel: 0
|
||||
colorWheels:
|
||||
mode: 1
|
||||
log:
|
||||
slope: {r: 1, g: 1, b: 1, a: 0}
|
||||
power: {r: 0.63815534, g: 0.7424303, b: 1, a: 0}
|
||||
offset: {r: 1, g: 0.85775965, b: 0.7499707, a: 0}
|
||||
linear:
|
||||
lift: {r: 0, g: 0, b: 0, a: 0}
|
||||
gamma: {r: 0, g: 0, b: 0, a: 0}
|
||||
gain: {r: 0, g: 0, b: 0, a: 0}
|
||||
curves:
|
||||
master:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 0
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
red:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
green:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
blue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
hueVShue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
hueVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
satVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
lumVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
e_CurrentEditingCurve: 0
|
||||
e_CurveY: 1
|
||||
e_CurveR: 0
|
||||
e_CurveG: 0
|
||||
e_CurveB: 0
|
||||
userLut:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lut: {fileID: 0}
|
||||
contribution: 1
|
||||
chromaticAberration:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
spectralTexture: {fileID: 0}
|
||||
intensity: 0.1
|
||||
grain:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
colored: 1
|
||||
intensity: 0.5
|
||||
size: 1
|
||||
luminanceContribution: 0.8
|
||||
vignette:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
color: {r: 0, g: 0, b: 0, a: 1}
|
||||
center: {x: 0.5, y: 0.5}
|
||||
intensity: 0.45
|
||||
smoothness: 0.2
|
||||
roundness: 1
|
||||
mask: {fileID: 0}
|
||||
opacity: 1
|
||||
rounded: 0
|
||||
dithering:
|
||||
m_Enabled: 1
|
||||
monitors:
|
||||
currentMonitorID: 0
|
||||
refreshOnPlay: 0
|
||||
histogramMode: 3
|
||||
waveformExposure: 0.12
|
||||
waveformY: 0
|
||||
waveformR: 1
|
||||
waveformG: 1
|
||||
waveformB: 1
|
||||
paradeExposure: 0.12
|
||||
vectorscopeExposure: 0.12
|
||||
vectorscopeShowBackground: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2aa9b82f8ba805347bba55baf3060b2f
|
||||
timeCreated: 1497320414
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,344 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8a3bdb2cd68f901469e7cc149151eb49, type: 3}
|
||||
m_Name: Ultimate VFX - MAIN
|
||||
m_EditorClassIdentifier:
|
||||
debugViews:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
depth:
|
||||
scale: 1
|
||||
motionVectors:
|
||||
sourceOpacity: 1
|
||||
motionImageOpacity: 0
|
||||
motionImageAmplitude: 16
|
||||
motionVectorsOpacity: 1
|
||||
motionVectorsResolution: 24
|
||||
motionVectorsAmplitude: 64
|
||||
fog:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
excludeSkybox: 0
|
||||
antialiasing:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
method: 0
|
||||
fxaaSettings:
|
||||
preset: 2
|
||||
taaSettings:
|
||||
jitterSpread: 0.75
|
||||
sharpen: 0.3
|
||||
stationaryBlending: 0.95
|
||||
motionBlending: 0.85
|
||||
ambientOcclusion:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
intensity: 1
|
||||
radius: 0.3
|
||||
sampleCount: 10
|
||||
downsampling: 1
|
||||
forceForwardCompatibility: 0
|
||||
ambientOnly: 0
|
||||
highPrecision: 0
|
||||
screenSpaceReflection:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
reflection:
|
||||
blendType: 0
|
||||
reflectionQuality: 2
|
||||
maxDistance: 100
|
||||
iterationCount: 256
|
||||
stepSize: 3
|
||||
widthModifier: 0.5
|
||||
reflectionBlur: 1
|
||||
reflectBackfaces: 0
|
||||
intensity:
|
||||
reflectionMultiplier: 1
|
||||
fadeDistance: 100
|
||||
fresnelFade: 1
|
||||
fresnelFadePower: 1
|
||||
screenEdgeMask:
|
||||
intensity: 0.03
|
||||
depthOfField:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
focusDistance: 10
|
||||
aperture: 5.6
|
||||
focalLength: 50
|
||||
useCameraFov: 0
|
||||
kernelSize: 1
|
||||
motionBlur:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
shutterAngle: 270
|
||||
sampleCount: 10
|
||||
frameBlending: 0
|
||||
eyeAdaptation:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lowPercent: 45
|
||||
highPercent: 95
|
||||
minLuminance: -5
|
||||
maxLuminance: 1
|
||||
keyValue: 0.25
|
||||
dynamicKeyValue: 1
|
||||
adaptationType: 0
|
||||
speedUp: 2
|
||||
speedDown: 1
|
||||
logMin: -8
|
||||
logMax: 4
|
||||
bloom:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
bloom:
|
||||
intensity: 0.125
|
||||
threshold: 1
|
||||
softKnee: 0.5
|
||||
radius: 7
|
||||
antiFlicker: 1
|
||||
lensDirt:
|
||||
texture: {fileID: 0}
|
||||
intensity: 3
|
||||
colorGrading:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
tonemapping:
|
||||
tonemapper: 2
|
||||
neutralBlackIn: 0.02
|
||||
neutralWhiteIn: 10
|
||||
neutralBlackOut: 0
|
||||
neutralWhiteOut: 10
|
||||
neutralWhiteLevel: 5.3
|
||||
neutralWhiteClip: 10
|
||||
basic:
|
||||
postExposure: 0
|
||||
temperature: -10
|
||||
tint: 15
|
||||
hueShift: 0
|
||||
saturation: 0.8
|
||||
contrast: 1.15
|
||||
channelMixer:
|
||||
red: {x: 1, y: 0, z: 0}
|
||||
green: {x: 0, y: 1, z: 0}
|
||||
blue: {x: 0, y: 0, z: 1}
|
||||
currentEditingChannel: 0
|
||||
colorWheels:
|
||||
mode: 1
|
||||
log:
|
||||
slope: {r: 1, g: 1, b: 1, a: 0}
|
||||
power: {r: 0.63815534, g: 0.7424303, b: 1, a: 0}
|
||||
offset: {r: 1, g: 0.85775965, b: 0.7499707, a: 0}
|
||||
linear:
|
||||
lift: {r: 0, g: 0, b: 0, a: 0}
|
||||
gamma: {r: 0, g: 0, b: 0, a: 0}
|
||||
gain: {r: 0, g: 0, b: 0, a: 0}
|
||||
curves:
|
||||
master:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 0
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
red:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
green:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
blue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 1
|
||||
outSlope: 1
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0
|
||||
m_Range: 1
|
||||
hueVShue:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
hueVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 1
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
satVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
lumVSsat:
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve: []
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
m_Loop: 0
|
||||
m_ZeroValue: 0.5
|
||||
m_Range: 1
|
||||
e_CurrentEditingCurve: 0
|
||||
e_CurveY: 1
|
||||
e_CurveR: 0
|
||||
e_CurveG: 0
|
||||
e_CurveB: 0
|
||||
userLut:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
lut: {fileID: 0}
|
||||
contribution: 1
|
||||
chromaticAberration:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
spectralTexture: {fileID: 0}
|
||||
intensity: 0.1
|
||||
grain:
|
||||
m_Enabled: 0
|
||||
m_Settings:
|
||||
colored: 1
|
||||
intensity: 0.5
|
||||
size: 1
|
||||
luminanceContribution: 0.8
|
||||
vignette:
|
||||
m_Enabled: 1
|
||||
m_Settings:
|
||||
mode: 0
|
||||
color: {r: 0, g: 0, b: 0, a: 1}
|
||||
center: {x: 0.5, y: 0.5}
|
||||
intensity: 0.45
|
||||
smoothness: 0.2
|
||||
roundness: 1
|
||||
mask: {fileID: 0}
|
||||
opacity: 1
|
||||
rounded: 0
|
||||
dithering:
|
||||
m_Enabled: 1
|
||||
monitors:
|
||||
currentMonitorID: 0
|
||||
refreshOnPlay: 0
|
||||
histogramMode: 3
|
||||
waveformExposure: 0.12
|
||||
waveformY: 0
|
||||
waveformR: 1
|
||||
waveformG: 1
|
||||
waveformB: 1
|
||||
paradeExposure: 0.12
|
||||
vectorscopeExposure: 0.12
|
||||
vectorscopeShowBackground: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ef87d85647253a447ab3e746f0a08ad5
|
||||
timeCreated: 1497320414
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9a6c53404952d2c43b6d1aea555f9a86
|
||||
folderAsset: yes
|
||||
timeCreated: 1469056182
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 280007ac8e7a7a94685328c847310ff0
|
||||
folderAsset: yes
|
||||
timeCreated: 1469056182
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 21c28d75d9c24ee4a87a410f4fa50811
|
||||
timeCreated: 1450060490
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b1cceeb54c40317418cb706cb6ce3572
|
||||
timeCreated: 1489994514
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7d1976485d8612b49ab86c07bd888b0f
|
||||
folderAsset: yes
|
||||
timeCreated: 1485555110
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,78 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &100100000
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 1
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications: []
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 0}
|
||||
m_RootGameObject: {fileID: 1049424409730448}
|
||||
m_IsPrefabParent: 1
|
||||
--- !u!1 &1049424409730448
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 4483276927831946}
|
||||
- component: {fileID: 108246006885834966}
|
||||
m_Layer: 0
|
||||
m_Name: pf_template-cmn_light_point_st[hs]
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!4 &4483276927831946
|
||||
Transform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1049424409730448}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!108 &108246006885834966
|
||||
Light:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1049424409730448}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 8
|
||||
m_Type: 2
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_Intensity: 1
|
||||
m_Range: 10
|
||||
m_SpotAngle: 30
|
||||
m_CookieSize: 10
|
||||
m_Shadows:
|
||||
m_Type: 1
|
||||
m_Resolution: -1
|
||||
m_CustomResolution: -1
|
||||
m_Strength: 1
|
||||
m_Bias: 0.05
|
||||
m_NormalBias: 0.4
|
||||
m_NearPlane: 0.2
|
||||
m_Cookie: {fileID: 0}
|
||||
m_DrawHalo: 0
|
||||
m_Flare: {fileID: 0}
|
||||
m_RenderMode: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_Lightmapping: 4
|
||||
m_AreaSize: {x: 1, y: 1}
|
||||
m_BounceIntensity: 1
|
||||
m_ColorTemperature: 6570
|
||||
m_UseColorTemperature: 0
|
||||
m_ShadowRadius: 0
|
||||
m_ShadowAngle: 0
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 825c31cf0f6d8fd4c97ee2e41fcb8a4c
|
||||
timeCreated: 1483952351
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,78 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &100100000
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 1
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications: []
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 0}
|
||||
m_RootGameObject: {fileID: 1049424409730448}
|
||||
m_IsPrefabParent: 1
|
||||
--- !u!1 &1049424409730448
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 4483276927831946}
|
||||
- component: {fileID: 108246006885834966}
|
||||
m_Layer: 0
|
||||
m_Name: pf_template-cmn_light_point_st[ns]
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!4 &4483276927831946
|
||||
Transform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1049424409730448}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 0.99999994}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!108 &108246006885834966
|
||||
Light:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1049424409730448}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 8
|
||||
m_Type: 2
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_Intensity: 1
|
||||
m_Range: 10
|
||||
m_SpotAngle: 30
|
||||
m_CookieSize: 10
|
||||
m_Shadows:
|
||||
m_Type: 0
|
||||
m_Resolution: -1
|
||||
m_CustomResolution: -1
|
||||
m_Strength: 1
|
||||
m_Bias: 0.05
|
||||
m_NormalBias: 0.4
|
||||
m_NearPlane: 0.2
|
||||
m_Cookie: {fileID: 0}
|
||||
m_DrawHalo: 0
|
||||
m_Flare: {fileID: 0}
|
||||
m_RenderMode: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_Lightmapping: 4
|
||||
m_AreaSize: {x: 1, y: 1}
|
||||
m_BounceIntensity: 1
|
||||
m_ColorTemperature: 6570
|
||||
m_UseColorTemperature: 0
|
||||
m_ShadowRadius: 0
|
||||
m_ShadowAngle: 0
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9d3900a299993c5478fe493791f599f8
|
||||
timeCreated: 1483952351
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,78 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &100100000
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 1
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications: []
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 0}
|
||||
m_RootGameObject: {fileID: 1049424409730448}
|
||||
m_IsPrefabParent: 1
|
||||
--- !u!1 &1049424409730448
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 4483276927831946}
|
||||
- component: {fileID: 108246006885834966}
|
||||
m_Layer: 0
|
||||
m_Name: pf_template-cmn_light_point_st[ss]
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!4 &4483276927831946
|
||||
Transform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1049424409730448}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!108 &108246006885834966
|
||||
Light:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1049424409730448}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 8
|
||||
m_Type: 2
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_Intensity: 1
|
||||
m_Range: 10
|
||||
m_SpotAngle: 30
|
||||
m_CookieSize: 10
|
||||
m_Shadows:
|
||||
m_Type: 2
|
||||
m_Resolution: -1
|
||||
m_CustomResolution: -1
|
||||
m_Strength: 1
|
||||
m_Bias: 0.05
|
||||
m_NormalBias: 0.4
|
||||
m_NearPlane: 0.2
|
||||
m_Cookie: {fileID: 0}
|
||||
m_DrawHalo: 0
|
||||
m_Flare: {fileID: 0}
|
||||
m_RenderMode: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_Lightmapping: 4
|
||||
m_AreaSize: {x: 1, y: 1}
|
||||
m_BounceIntensity: 1
|
||||
m_ColorTemperature: 6570
|
||||
m_UseColorTemperature: 0
|
||||
m_ShadowRadius: 0
|
||||
m_ShadowAngle: 0
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ccd658529a596844eb12755589a74397
|
||||
timeCreated: 1483952351
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b1df3fa51902d0c4e9eebe20ead2a893
|
||||
folderAsset: yes
|
||||
timeCreated: 1485554944
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,134 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &100100000
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 1
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications: []
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 0}
|
||||
m_RootGameObject: {fileID: 1731631951010610}
|
||||
m_IsPrefabParent: 1
|
||||
--- !u!1 &1731631951010610
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 4160233819505078}
|
||||
- component: {fileID: 120033039200711244}
|
||||
m_Layer: 0
|
||||
m_Name: pf_template-cmn_line_haze-add-[1.0]
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4160233819505078
|
||||
Transform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1731631951010610}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!120 &120033039200711244
|
||||
LineRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1731631951010610}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_MotionVectors: 2
|
||||
m_LightProbeUsage: 0
|
||||
m_ReflectionProbeUsage: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: 6769bfc0b19bd55459402bb49c9a2340, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_SelectedEditorRenderState: 3
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Positions:
|
||||
- {x: 0, y: 0, z: 0}
|
||||
- {x: 0, y: 0, z: 0}
|
||||
m_Parameters:
|
||||
serializedVersion: 2
|
||||
widthMultiplier: 0.001
|
||||
widthCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 2
|
||||
time: 0
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
- serializedVersion: 2
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 0
|
||||
colorGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 1, g: 1, b: 1, a: 0.1254902}
|
||||
key1: {r: 1, g: 1, b: 1, a: 0.1254902}
|
||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||
ctime0: 0
|
||||
ctime1: 65535
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
ctime5: 0
|
||||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 65535
|
||||
atime2: 0
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
atime5: 0
|
||||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
numCornerVertices: 0
|
||||
numCapVertices: 0
|
||||
alignment: 0
|
||||
textureMode: 0
|
||||
generateLightingData: 0
|
||||
m_UseWorldSpace: 1
|
||||
m_Loop: 0
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 77d061d1cf45c3f409a8b9b369a6ae18
|
||||
timeCreated: 1483915467
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,134 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &100100000
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 1
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications: []
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 0}
|
||||
m_RootGameObject: {fileID: 1731631951010610}
|
||||
m_IsPrefabParent: 1
|
||||
--- !u!1 &1731631951010610
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 4160233819505078}
|
||||
- component: {fileID: 120033039200711244}
|
||||
m_Layer: 0
|
||||
m_Name: pf_template-cmn_line_haze-alpha-[1.0]
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4160233819505078
|
||||
Transform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1731631951010610}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!120 &120033039200711244
|
||||
LineRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1731631951010610}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_MotionVectors: 2
|
||||
m_LightProbeUsage: 0
|
||||
m_ReflectionProbeUsage: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: c2069848c3c44b948ad5fe7d863d9ce0, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_SelectedEditorRenderState: 3
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Positions:
|
||||
- {x: 0, y: 0, z: 0}
|
||||
- {x: 0, y: 0, z: 0}
|
||||
m_Parameters:
|
||||
serializedVersion: 2
|
||||
widthMultiplier: 0.001
|
||||
widthCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 2
|
||||
time: 0
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
- serializedVersion: 2
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 0
|
||||
colorGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 1, g: 1, b: 1, a: 0.1254902}
|
||||
key1: {r: 1, g: 1, b: 1, a: 0.1254902}
|
||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||
ctime0: 0
|
||||
ctime1: 65535
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
ctime5: 0
|
||||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 65535
|
||||
atime2: 0
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
atime5: 0
|
||||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
numCornerVertices: 0
|
||||
numCapVertices: 0
|
||||
alignment: 0
|
||||
textureMode: 0
|
||||
generateLightingData: 0
|
||||
m_UseWorldSpace: 1
|
||||
m_Loop: 0
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 229fc90e02f70194fa7e70242b7589a8
|
||||
timeCreated: 1483915467
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,134 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &100100000
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 1
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications: []
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 0}
|
||||
m_RootGameObject: {fileID: 1731631951010610}
|
||||
m_IsPrefabParent: 1
|
||||
--- !u!1 &1731631951010610
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 4160233819505078}
|
||||
- component: {fileID: 120033039200711244}
|
||||
m_Layer: 0
|
||||
m_Name: pf_template-cmn_line_solidGlow-add-[1.0]
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4160233819505078
|
||||
Transform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1731631951010610}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!120 &120033039200711244
|
||||
LineRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1731631951010610}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_MotionVectors: 2
|
||||
m_LightProbeUsage: 0
|
||||
m_ReflectionProbeUsage: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: 543b90bafbb345d43abb7edcfecd8b38, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_SelectedEditorRenderState: 3
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Positions:
|
||||
- {x: 0, y: 0, z: 0}
|
||||
- {x: 0, y: 0, z: 0}
|
||||
m_Parameters:
|
||||
serializedVersion: 2
|
||||
widthMultiplier: 0.001
|
||||
widthCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 2
|
||||
time: 0
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
- serializedVersion: 2
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 0
|
||||
colorGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 1, g: 1, b: 1, a: 0.1254902}
|
||||
key1: {r: 1, g: 1, b: 1, a: 0.1254902}
|
||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||
ctime0: 0
|
||||
ctime1: 65535
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
ctime5: 0
|
||||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 65535
|
||||
atime2: 0
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
atime5: 0
|
||||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
numCornerVertices: 0
|
||||
numCapVertices: 0
|
||||
alignment: 0
|
||||
textureMode: 0
|
||||
generateLightingData: 0
|
||||
m_UseWorldSpace: 1
|
||||
m_Loop: 0
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aa89adfca6f07f24da1fff146ae5b297
|
||||
timeCreated: 1483915467
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,134 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &100100000
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 1
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications: []
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 0}
|
||||
m_RootGameObject: {fileID: 1731631951010610}
|
||||
m_IsPrefabParent: 1
|
||||
--- !u!1 &1731631951010610
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 5
|
||||
m_Component:
|
||||
- component: {fileID: 4160233819505078}
|
||||
- component: {fileID: 120033039200711244}
|
||||
m_Layer: 0
|
||||
m_Name: pf_template-cmn_line_solidGlow-alpha-[1.0]
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4160233819505078
|
||||
Transform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1731631951010610}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!120 &120033039200711244
|
||||
LineRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1731631951010610}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_MotionVectors: 2
|
||||
m_LightProbeUsage: 0
|
||||
m_ReflectionProbeUsage: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: 3f93006062f5aac4881ff9e25c739569, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_SelectedEditorRenderState: 3
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Positions:
|
||||
- {x: 0, y: 0, z: 0}
|
||||
- {x: 0, y: 0, z: 0}
|
||||
m_Parameters:
|
||||
serializedVersion: 2
|
||||
widthMultiplier: 0.001
|
||||
widthCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 2
|
||||
time: 0
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
- serializedVersion: 2
|
||||
time: 1
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 0
|
||||
colorGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 1, g: 1, b: 1, a: 0.1254902}
|
||||
key1: {r: 1, g: 1, b: 1, a: 0.1254902}
|
||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||
ctime0: 0
|
||||
ctime1: 65535
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
ctime5: 0
|
||||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 65535
|
||||
atime2: 0
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
atime5: 0
|
||||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
numCornerVertices: 0
|
||||
numCapVertices: 0
|
||||
alignment: 0
|
||||
textureMode: 0
|
||||
generateLightingData: 0
|
||||
m_UseWorldSpace: 1
|
||||
m_Loop: 0
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ee6c5482244af4f4d8cd09b4954c66e7
|
||||
timeCreated: 1483915467
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4b7b75fee5eff164a979b1116ce19a21
|
||||
folderAsset: yes
|
||||
timeCreated: 1469056182
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,161 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
[RequireComponent(typeof(Light))]
|
||||
|
||||
public class AnimatedLight : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
new Light light;
|
||||
|
||||
public float time { get; set; }
|
||||
public float duration = 1.0f;
|
||||
|
||||
bool evaluating = true;
|
||||
|
||||
public Gradient colourOverLifetime;
|
||||
|
||||
public AnimationCurve intensityOverLifetime = new AnimationCurve(
|
||||
|
||||
new Keyframe(0.0f, 0.0f),
|
||||
new Keyframe(0.5f, 1.0f),
|
||||
new Keyframe(1.0f, 0.0f));
|
||||
|
||||
// ...
|
||||
|
||||
public bool loop = true;
|
||||
public bool autoDestruct = false;
|
||||
|
||||
// ...
|
||||
|
||||
Color startColour;
|
||||
float startIntensity;
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
void Awake()
|
||||
{
|
||||
light = GetComponent<Light>();
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Start()
|
||||
{
|
||||
startColour = light.color;
|
||||
startIntensity = light.intensity;
|
||||
|
||||
light.color = startColour * colourOverLifetime.Evaluate(0.0f);
|
||||
light.intensity = startIntensity * intensityOverLifetime.Evaluate(0.0f);
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
|
||||
}
|
||||
void OnDisable()
|
||||
{
|
||||
// Reset for next OnEnable if required.
|
||||
|
||||
light.color = startColour;
|
||||
light.intensity = startIntensity;
|
||||
|
||||
time = 0.0f;
|
||||
evaluating = true;
|
||||
|
||||
light.color = startColour * colourOverLifetime.Evaluate(0.0f);
|
||||
light.intensity = startIntensity * intensityOverLifetime.Evaluate(0.0f);
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (evaluating)
|
||||
{
|
||||
if (time < duration)
|
||||
{
|
||||
time += Time.deltaTime;
|
||||
|
||||
if (time > duration)
|
||||
{
|
||||
if (autoDestruct)
|
||||
{
|
||||
Destroy(gameObject);
|
||||
}
|
||||
else if (loop)
|
||||
{
|
||||
time = 0.0f;
|
||||
}
|
||||
else
|
||||
{
|
||||
time = duration;
|
||||
evaluating = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
if (time <= duration)
|
||||
{
|
||||
float normalizedTime = time / duration;
|
||||
|
||||
light.color = startColour * colourOverLifetime.Evaluate(normalizedTime);
|
||||
light.intensity = startIntensity * intensityOverLifetime.Evaluate(normalizedTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 244de3f32e1c0b1439bb7ff73ac59484
|
||||
timeCreated: 1436042081
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,63 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class Billboard : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
void LateUpdate()
|
||||
{
|
||||
transform.LookAt(Camera.main.transform.position);
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2eb8dd8b78862644282595779b5ba819
|
||||
timeCreated: 1458196122
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,244 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
namespace Demos
|
||||
{
|
||||
|
||||
public enum CameraShakeTarget
|
||||
{
|
||||
Position,
|
||||
Rotation
|
||||
}
|
||||
public enum CameraShakeAmplitudeCurve
|
||||
{
|
||||
Constant,
|
||||
|
||||
// Fade in fully at 25%, 50%, and 75% of lifetime.
|
||||
|
||||
FadeInOut25,
|
||||
FadeInOut50,
|
||||
FadeInOut75,
|
||||
}
|
||||
public enum CameraShakeAmplitudeOverDistanceCurve
|
||||
{
|
||||
Constant,
|
||||
|
||||
LinearFadeIn,
|
||||
LinearFadeOut
|
||||
}
|
||||
|
||||
public class CameraShake : MonoBehaviour
|
||||
{
|
||||
[System.Serializable]
|
||||
public class Shake
|
||||
{
|
||||
public float amplitude = 1.0f;
|
||||
public float frequency = 1.0f;
|
||||
|
||||
public float duration;
|
||||
|
||||
[HideInInspector]
|
||||
public CameraShakeTarget target;
|
||||
|
||||
float timeRemaining;
|
||||
|
||||
Vector2 perlinNoiseX;
|
||||
Vector2 perlinNoiseY;
|
||||
Vector2 perlinNoiseZ;
|
||||
|
||||
[HideInInspector]
|
||||
public Vector3 noise;
|
||||
|
||||
public AnimationCurve amplitudeOverLifetimeCurve = new AnimationCurve(new Keyframe(0.0f, 1.0f), new Keyframe(1.0f, 0.0f));
|
||||
|
||||
public void Init()
|
||||
{
|
||||
timeRemaining = duration;
|
||||
ApplyRandomSeed();
|
||||
}
|
||||
void Init(float amplitude, float frequency, float duration, CameraShakeTarget target)
|
||||
{
|
||||
this.amplitude = amplitude;
|
||||
this.frequency = frequency;
|
||||
|
||||
this.duration = duration;
|
||||
timeRemaining = duration;
|
||||
|
||||
this.target = target;
|
||||
|
||||
ApplyRandomSeed();
|
||||
}
|
||||
|
||||
public void ApplyRandomSeed()
|
||||
{
|
||||
float randomRange = 32.0f;
|
||||
|
||||
perlinNoiseX.x = Random.Range(-randomRange, randomRange);
|
||||
perlinNoiseX.y = Random.Range(-randomRange, randomRange);
|
||||
|
||||
perlinNoiseY.x = Random.Range(-randomRange, randomRange);
|
||||
perlinNoiseY.y = Random.Range(-randomRange, randomRange);
|
||||
|
||||
perlinNoiseZ.x = Random.Range(-randomRange, randomRange);
|
||||
perlinNoiseZ.y = Random.Range(-randomRange, randomRange);
|
||||
}
|
||||
|
||||
public Shake(float amplitude, float frequency, float duration, CameraShakeTarget target, AnimationCurve amplitudeOverLifetimeCurve)
|
||||
{
|
||||
Init(amplitude, frequency, duration, target);
|
||||
this.amplitudeOverLifetimeCurve = amplitudeOverLifetimeCurve;
|
||||
}
|
||||
|
||||
public Shake(float amplitude, float frequency, float duration, CameraShakeTarget target, CameraShakeAmplitudeCurve amplitudeOverLifetimeCurve)
|
||||
{
|
||||
Init(amplitude, frequency, duration, target);
|
||||
|
||||
switch (amplitudeOverLifetimeCurve)
|
||||
{
|
||||
case CameraShakeAmplitudeCurve.Constant:
|
||||
{
|
||||
this.amplitudeOverLifetimeCurve = AnimationCurve.Linear(0.0f, 1.0f, 1.0f, 1.0f);
|
||||
break;
|
||||
}
|
||||
case CameraShakeAmplitudeCurve.FadeInOut25:
|
||||
{
|
||||
this.amplitudeOverLifetimeCurve = new AnimationCurve(new Keyframe(0.0f, 0.0f), new Keyframe(0.25f, 1.0f), new Keyframe(1.0f, 0.0f));
|
||||
break;
|
||||
}
|
||||
case CameraShakeAmplitudeCurve.FadeInOut50:
|
||||
{
|
||||
this.amplitudeOverLifetimeCurve = new AnimationCurve(new Keyframe(0.0f, 0.0f), new Keyframe(0.50f, 1.0f), new Keyframe(1.0f, 0.0f));
|
||||
break;
|
||||
}
|
||||
case CameraShakeAmplitudeCurve.FadeInOut75:
|
||||
{
|
||||
this.amplitudeOverLifetimeCurve = new AnimationCurve(new Keyframe(0.0f, 0.0f), new Keyframe(0.75f, 1.0f), new Keyframe(1.0f, 0.0f));
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
throw new System.Exception("Unknown enum.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsAlive()
|
||||
{
|
||||
return timeRemaining > 0.0f;
|
||||
}
|
||||
|
||||
public void Update()
|
||||
{
|
||||
if (timeRemaining < 0.0f)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Vector2 frequencyVector = Time.deltaTime * new Vector2(frequency, frequency);
|
||||
|
||||
perlinNoiseX += frequencyVector;
|
||||
perlinNoiseY += frequencyVector;
|
||||
perlinNoiseZ += frequencyVector;
|
||||
|
||||
noise.x = Mathf.PerlinNoise(perlinNoiseX.x, perlinNoiseX.y) - 0.5f;
|
||||
noise.y = Mathf.PerlinNoise(perlinNoiseY.x, perlinNoiseY.y) - 0.5f;
|
||||
noise.z = Mathf.PerlinNoise(perlinNoiseZ.x, perlinNoiseZ.y) - 0.5f;
|
||||
|
||||
float amplitudeOverLifetime = amplitudeOverLifetimeCurve.Evaluate(1.0f - (timeRemaining / duration));
|
||||
|
||||
noise *= amplitude * amplitudeOverLifetime;
|
||||
|
||||
timeRemaining -= Time.deltaTime;
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public float smoothDampTime = 0.025f;
|
||||
|
||||
Vector3 smoothDampPositionVelocity;
|
||||
|
||||
float smoothDampRotationVelocityX;
|
||||
float smoothDampRotationVelocityY;
|
||||
float smoothDampRotationVelocityZ;
|
||||
|
||||
List<Shake> shakes = new List<Shake>();
|
||||
|
||||
// ...
|
||||
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void Add(float amplitude, float frequency, float duration, CameraShakeTarget target, AnimationCurve amplitudeOverLifetimeCurve)
|
||||
{
|
||||
shakes.Add(new Shake(amplitude, frequency, duration, target, amplitudeOverLifetimeCurve));
|
||||
}
|
||||
public void Add(float amplitude, float frequency, float duration, CameraShakeTarget target, CameraShakeAmplitudeCurve amplitudeOverLifetimeCurve)
|
||||
{
|
||||
shakes.Add(new Shake(amplitude, frequency, duration, target, amplitudeOverLifetimeCurve));
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.F))
|
||||
{
|
||||
Add(0.25f, 1.0f, 2.0f, CameraShakeTarget.Position, CameraShakeAmplitudeCurve.FadeInOut25);
|
||||
}
|
||||
if (Input.GetKeyDown(KeyCode.G))
|
||||
{
|
||||
Add(15.0f, 1.0f, 2.0f, CameraShakeTarget.Rotation, CameraShakeAmplitudeCurve.FadeInOut25);
|
||||
}
|
||||
|
||||
if (Input.GetKey(KeyCode.H))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Vector3 positionOffset = Vector3.zero;
|
||||
Vector3 rotationOffset = Vector3.zero;
|
||||
|
||||
for (int i = 0; i < shakes.Count; i++)
|
||||
{
|
||||
shakes[i].Update();
|
||||
|
||||
if (shakes[i].target == CameraShakeTarget.Position)
|
||||
{
|
||||
positionOffset += shakes[i].noise;
|
||||
}
|
||||
else
|
||||
{
|
||||
rotationOffset += shakes[i].noise;
|
||||
}
|
||||
}
|
||||
|
||||
shakes.RemoveAll(x => !x.IsAlive());
|
||||
|
||||
transform.localPosition = Vector3.SmoothDamp(transform.localPosition, positionOffset, ref smoothDampPositionVelocity, smoothDampTime);
|
||||
|
||||
Vector3 eulerAngles = transform.localEulerAngles;
|
||||
|
||||
eulerAngles.x = Mathf.SmoothDampAngle(eulerAngles.x, rotationOffset.x, ref smoothDampRotationVelocityX, smoothDampTime);
|
||||
eulerAngles.y = Mathf.SmoothDampAngle(eulerAngles.y, rotationOffset.y, ref smoothDampRotationVelocityY, smoothDampTime);
|
||||
eulerAngles.z = Mathf.SmoothDampAngle(eulerAngles.z, rotationOffset.z, ref smoothDampRotationVelocityZ, smoothDampTime);
|
||||
|
||||
transform.localEulerAngles = eulerAngles;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6c59e681925ba2d41b68052c25820eca
|
||||
timeCreated: 1510113832
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,65 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class DestroyAfterTime : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
public float time = 2.0f;
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
void Start()
|
||||
{
|
||||
Destroy(gameObject, time);
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 46df1812d137b7c45a66ae8c8afafb9c
|
||||
timeCreated: 1458196122
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,96 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class DestroyOnParticlesDead : ParticleSystems
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
protected override void Start()
|
||||
{
|
||||
base.Start();
|
||||
|
||||
// ...
|
||||
|
||||
//onParticleSystemsDeadEvent += onParticleSystemsDead;
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void onParticleSystemsDead()
|
||||
{
|
||||
Destroy(gameObject);
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
protected override void LateUpdate()
|
||||
{
|
||||
base.LateUpdate();
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 92185d158b4c73943ab5df02d7a09647
|
||||
timeCreated: 1427838459
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,94 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class DestroyOnTrailsDestroyed : TrailRenderers
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
protected override void Start()
|
||||
{
|
||||
base.Start();
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
|
||||
// ...
|
||||
|
||||
bool destroy = true;
|
||||
|
||||
for (int i = 0; i < trailRenderers.Length; i++)
|
||||
{
|
||||
if (trailRenderers[i] != null)
|
||||
{
|
||||
destroy = false; break;
|
||||
}
|
||||
}
|
||||
|
||||
if (destroy)
|
||||
{
|
||||
Destroy(gameObject);
|
||||
}
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 26270466e2a568b4e98f7d0aa4c82c20
|
||||
timeCreated: 1433783220
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,105 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class ParticleSystemTimeRemap : MonoBehaviour
|
||||
{
|
||||
ParticleSystem[] particleSystems;
|
||||
|
||||
float[] startTimes;
|
||||
float[] simulationTimes;
|
||||
|
||||
public float startTime = 2.0f;
|
||||
public float simulationSpeedScale = 1.0f;
|
||||
|
||||
public bool useFixedDeltaTime = true;
|
||||
|
||||
bool gameObjectDeactivated;
|
||||
|
||||
public bool reverseSimulation;
|
||||
|
||||
float elapsedTime;
|
||||
|
||||
public AnimationCurve simulationSpeedOverTime = AnimationCurve.Linear(0.0f, 1.0f, 5.0f, 1.0f);
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
bool particleSystemsNotInitialized = particleSystems == null;
|
||||
|
||||
if (particleSystemsNotInitialized)
|
||||
{
|
||||
particleSystems = GetComponentsInChildren<ParticleSystem>(false);
|
||||
|
||||
startTimes = new float[particleSystems.Length];
|
||||
simulationTimes = new float[particleSystems.Length];
|
||||
}
|
||||
|
||||
for (int i = particleSystems.Length - 1; i >= 0; i--)
|
||||
{
|
||||
simulationTimes[i] = 0.0f;
|
||||
|
||||
if (particleSystemsNotInitialized || gameObjectDeactivated)
|
||||
{
|
||||
startTimes[i] = startTime;
|
||||
particleSystems[i].Simulate(startTimes[i], false, false, useFixedDeltaTime);
|
||||
}
|
||||
else
|
||||
{
|
||||
startTimes[i] = particleSystems[i].time;
|
||||
}
|
||||
}
|
||||
|
||||
if (!reverseSimulation)
|
||||
{
|
||||
particleSystems[0].Play(true);
|
||||
}
|
||||
}
|
||||
|
||||
void OnDisable()
|
||||
{
|
||||
particleSystems[0].Play(true);
|
||||
gameObjectDeactivated = !gameObject.activeInHierarchy;
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
elapsedTime += Time.deltaTime;
|
||||
float simulationSpeed = simulationSpeedScale * simulationSpeedOverTime.Evaluate(elapsedTime);
|
||||
|
||||
if (!reverseSimulation)
|
||||
{
|
||||
for (int i = 0; i < particleSystems.Length; i++)
|
||||
{
|
||||
ParticleSystem.MainModule mainModule = particleSystems[i].main;
|
||||
mainModule.simulationSpeed = simulationSpeed;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
particleSystems[0].Stop(true,
|
||||
ParticleSystemStopBehavior.StopEmittingAndClear);
|
||||
|
||||
for (int i = particleSystems.Length - 1; i >= 0; i--)
|
||||
{
|
||||
bool useAutoRandomSeed = particleSystems[i].useAutoRandomSeed;
|
||||
particleSystems[i].useAutoRandomSeed = false;
|
||||
|
||||
particleSystems[i].Play(false);
|
||||
|
||||
float deltaTime = particleSystems[i].main.useUnscaledTime ? Time.unscaledDeltaTime : Time.deltaTime;
|
||||
simulationTimes[i] -= (deltaTime * particleSystems[i].main.simulationSpeed) * simulationSpeedScale;
|
||||
|
||||
float currentSimulationTime = startTimes[i] + simulationTimes[i];
|
||||
particleSystems[i].Simulate(currentSimulationTime, false, false, useFixedDeltaTime);
|
||||
|
||||
particleSystems[i].useAutoRandomSeed = useAutoRandomSeed;
|
||||
|
||||
if (currentSimulationTime < 0.0f)
|
||||
{
|
||||
particleSystems[i].Play(false);
|
||||
particleSystems[i].Stop(false, ParticleSystemStopBehavior.StopEmittingAndClear);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1be24e9eec15bd745a6876ffea5d3945
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,240 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class ParticleSystems : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
public ParticleSystem[] particleSystems { get; set; }
|
||||
|
||||
// Event delegates.
|
||||
|
||||
//public delegate void onParticleSystemsDeadEventHandler();
|
||||
//public event onParticleSystemsDeadEventHandler onParticleSystemsDeadEvent;
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
protected virtual void Awake()
|
||||
{
|
||||
particleSystems = GetComponentsInChildren<ParticleSystem>();
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
protected virtual void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
protected virtual void Update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
protected virtual void LateUpdate()
|
||||
{
|
||||
//if (onParticleSystemsDeadEvent != null)
|
||||
//{
|
||||
// if (!IsAlive())
|
||||
// {
|
||||
// onParticleSystemsDeadEvent();
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
//simulate(0.0f, true);
|
||||
|
||||
for (int i = 0; i < particleSystems.Length; i++)
|
||||
{
|
||||
particleSystems[i].time = 0.0f;
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void Play()
|
||||
{
|
||||
for (int i = 0; i < particleSystems.Length; i++)
|
||||
{
|
||||
particleSystems[i].Play(false);
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void Pause()
|
||||
{
|
||||
for (int i = 0; i < particleSystems.Length; i++)
|
||||
{
|
||||
particleSystems[i].Pause(false);
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void Stop()
|
||||
{
|
||||
for (int i = 0; i < particleSystems.Length; i++)
|
||||
{
|
||||
particleSystems[i].Stop(false);
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void Clear()
|
||||
{
|
||||
for (int i = 0; i < particleSystems.Length; i++)
|
||||
{
|
||||
particleSystems[i].Clear(false);
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void SetLoop(bool loop)
|
||||
{
|
||||
for (int i = 0; i < particleSystems.Length; i++)
|
||||
{
|
||||
ParticleSystem.MainModule m = particleSystems[i].main;
|
||||
m.loop = loop;
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void SetPlaybackSpeed(float speed)
|
||||
{
|
||||
for (int i = 0; i < particleSystems.Length; i++)
|
||||
{
|
||||
ParticleSystem.MainModule m = particleSystems[i].main;
|
||||
m.simulationSpeed = speed;
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void Simulate(float time, bool reset = false)
|
||||
{
|
||||
for (int i = 0; i < particleSystems.Length; i++)
|
||||
{
|
||||
particleSystems[i].Simulate(time, false, reset);
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public bool IsAlive()
|
||||
{
|
||||
for (int i = 0; i < particleSystems.Length; i++)
|
||||
{
|
||||
if (particleSystems[i])
|
||||
{
|
||||
if (particleSystems[i].IsAlive())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public bool IsPlaying(bool checkAll = false)
|
||||
{
|
||||
if (particleSystems.Length == 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else if (!checkAll)
|
||||
{
|
||||
return particleSystems[0].isPlaying;
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < 0; i++)
|
||||
{
|
||||
if (!particleSystems[i].isPlaying)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public int GetParticleCount()
|
||||
{
|
||||
int pcount = 0;
|
||||
|
||||
for (int i = 0; i < particleSystems.Length; i++)
|
||||
{
|
||||
if (particleSystems[i])
|
||||
{
|
||||
pcount += particleSystems[i].particleCount;
|
||||
}
|
||||
}
|
||||
|
||||
return pcount;
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a70f47e99623a5043adc11839706250a
|
||||
timeCreated: 1430262861
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,90 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
[System.Serializable]
|
||||
public class PerlinNoise
|
||||
{
|
||||
public void init()
|
||||
{
|
||||
// Don't make the range values too large, else floating point precision will result in jitter.
|
||||
|
||||
offset.x = Random.Range(-32.0f, 32.0f);
|
||||
offset.y = Random.Range(-32.0f, 32.0f);
|
||||
}
|
||||
//public PerlinNoise()
|
||||
//{
|
||||
// offset.x = Random.Range(0.0f, 99999.0f);
|
||||
// offset.y = Random.Range(0.0f, 99999.0f);
|
||||
//}
|
||||
|
||||
public float GetValue(float time)
|
||||
{
|
||||
float noiseTime = time * frequency;
|
||||
return (Mathf.PerlinNoise(noiseTime + offset.x, noiseTime + offset.y) - 0.5f) * amplitude;
|
||||
}
|
||||
|
||||
Vector2 offset;
|
||||
|
||||
public float amplitude = 1.0f;
|
||||
public float frequency = 1.0f;
|
||||
|
||||
public bool unscaledTime;
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
[System.Serializable]
|
||||
public class PerlinNoiseXYZ
|
||||
{
|
||||
public void init()
|
||||
{
|
||||
x.init();
|
||||
y.init();
|
||||
z.init();
|
||||
}
|
||||
|
||||
public Vector3 GetXYZ(float time)
|
||||
{
|
||||
float frequencyScaledTime = time * frequencyScale;
|
||||
return new Vector3(x.GetValue(frequencyScaledTime), y.GetValue(frequencyScaledTime), z.GetValue(frequencyScaledTime)) * amplitudeScale;
|
||||
}
|
||||
|
||||
public PerlinNoise x;
|
||||
public PerlinNoise y;
|
||||
public PerlinNoise z;
|
||||
|
||||
public bool unscaledTime;
|
||||
|
||||
public float amplitudeScale = 1.0f;
|
||||
public float frequencyScale = 1.0f;
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 94a29da1715389f4b99bcd791b0fd993
|
||||
timeCreated: 1474948922
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,82 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
[ExecuteInEditMode]
|
||||
[RequireComponent(typeof(Renderer))]
|
||||
|
||||
public class RendererSortingOrder : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
public int sortingOrder = 0;
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
void Awake()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Start()
|
||||
{
|
||||
GetComponent<Renderer>().sortingOrder = sortingOrder;
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e32eac08181599748b88d5b13f3e016b
|
||||
timeCreated: 1442712997
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,80 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class RewindParticleSystem : MonoBehaviour
|
||||
{
|
||||
ParticleSystem[] particleSystems;
|
||||
|
||||
float[] startTimes;
|
||||
float[] simulationTimes;
|
||||
|
||||
public float startTime = 2.0f;
|
||||
public float simulationSpeedScale = 1.0f;
|
||||
|
||||
public bool useFixedDeltaTime = true;
|
||||
|
||||
bool gameObjectDeactivated;
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
bool particleSystemsNotInitialized = particleSystems == null;
|
||||
|
||||
if (particleSystemsNotInitialized)
|
||||
{
|
||||
particleSystems = GetComponentsInChildren<ParticleSystem>(false);
|
||||
|
||||
startTimes = new float[particleSystems.Length];
|
||||
simulationTimes = new float[particleSystems.Length];
|
||||
}
|
||||
|
||||
for (int i = particleSystems.Length - 1; i >= 0; i--)
|
||||
{
|
||||
simulationTimes[i] = 0.0f;
|
||||
|
||||
if (particleSystemsNotInitialized || gameObjectDeactivated)
|
||||
{
|
||||
startTimes[i] = startTime;
|
||||
particleSystems[i].Simulate(startTimes[i], false, false, useFixedDeltaTime);
|
||||
}
|
||||
else
|
||||
{
|
||||
startTimes[i] = particleSystems[i].time;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void OnDisable()
|
||||
{
|
||||
particleSystems[0].Play(true);
|
||||
gameObjectDeactivated = !gameObject.activeInHierarchy;
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
particleSystems[0].Stop(true,
|
||||
ParticleSystemStopBehavior.StopEmittingAndClear);
|
||||
|
||||
for (int i = particleSystems.Length - 1; i >= 0; i--)
|
||||
{
|
||||
bool useAutoRandomSeed = particleSystems[i].useAutoRandomSeed;
|
||||
particleSystems[i].useAutoRandomSeed = false;
|
||||
|
||||
particleSystems[i].Play(false);
|
||||
|
||||
float deltaTime = particleSystems[i].main.useUnscaledTime ? Time.unscaledDeltaTime : Time.deltaTime;
|
||||
simulationTimes[i] -= (deltaTime * particleSystems[i].main.simulationSpeed) * simulationSpeedScale;
|
||||
|
||||
float currentSimulationTime = startTimes[i] + simulationTimes[i];
|
||||
particleSystems[i].Simulate(currentSimulationTime, false, false, useFixedDeltaTime);
|
||||
|
||||
particleSystems[i].useAutoRandomSeed = useAutoRandomSeed;
|
||||
|
||||
if (currentSimulationTime < 0.0f)
|
||||
{
|
||||
particleSystems[i].Play(false);
|
||||
particleSystems[i].Stop(false, ParticleSystemStopBehavior.StopEmittingAndClear);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9fadfd03b4dcf3d4aa5b592f849a7e29
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,81 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class RewindParticleSystemSimple : MonoBehaviour
|
||||
{
|
||||
ParticleSystem[] particleSystems;
|
||||
|
||||
float simulationTime;
|
||||
public float startTime = 2.0f;
|
||||
|
||||
float internalStartTime;
|
||||
|
||||
bool gameObjectDeactivated;
|
||||
|
||||
public float simulationSpeed = 1.0f;
|
||||
public bool useFixedDeltaTime = true;
|
||||
|
||||
public bool rewind = true;
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
bool particleSystemsNotInitialized = particleSystems == null;
|
||||
|
||||
if (particleSystemsNotInitialized)
|
||||
{
|
||||
particleSystems = GetComponentsInChildren<ParticleSystem>(false);
|
||||
}
|
||||
|
||||
simulationTime = 0.0f;
|
||||
|
||||
if (particleSystemsNotInitialized || gameObjectDeactivated)
|
||||
{
|
||||
internalStartTime = startTime;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Note: ParticleSystem.Time will clamp to the duration of the system.
|
||||
// It's important to make sure the duration is long enough to accomodate the entire effect to prevent it from having a limited start offset.
|
||||
|
||||
internalStartTime = particleSystems[0].time;
|
||||
}
|
||||
|
||||
for (int i = particleSystems.Length - 1; i >= 0; i--)
|
||||
{
|
||||
particleSystems[i].Simulate(internalStartTime, false, false, useFixedDeltaTime);
|
||||
}
|
||||
}
|
||||
|
||||
void OnDisable()
|
||||
{
|
||||
particleSystems[0].Play(true);
|
||||
gameObjectDeactivated = !gameObject.activeInHierarchy;
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
simulationTime -= Time.deltaTime * simulationSpeed;
|
||||
float currentSimulationTime = internalStartTime + simulationTime;
|
||||
|
||||
particleSystems[0].Stop(true,
|
||||
ParticleSystemStopBehavior.StopEmittingAndClear);
|
||||
|
||||
for (int i = particleSystems.Length - 1; i >= 0; i--)
|
||||
{
|
||||
bool useAutoRandomSeed = particleSystems[i].useAutoRandomSeed;
|
||||
particleSystems[i].useAutoRandomSeed = false;
|
||||
|
||||
particleSystems[i].Play(false);
|
||||
particleSystems[i].Simulate(currentSimulationTime, false, false, useFixedDeltaTime);
|
||||
|
||||
particleSystems[i].useAutoRandomSeed = useAutoRandomSeed;
|
||||
|
||||
if (currentSimulationTime < 0.0f)
|
||||
{
|
||||
particleSystems[i].Play();
|
||||
particleSystems[i].Stop(false, ParticleSystemStopBehavior.StopEmittingAndClear);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 53c71aeb560b64f4cb01469c58baef4d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,62 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class RewindParticleSystemSuperSimple : MonoBehaviour
|
||||
{
|
||||
ParticleSystem[] particleSystems;
|
||||
|
||||
float[] simulationTimes;
|
||||
|
||||
public float startTime = 2.0f;
|
||||
public float simulationSpeedScale = 1.0f;
|
||||
|
||||
void Initialize()
|
||||
{
|
||||
particleSystems = GetComponentsInChildren<ParticleSystem>(false);
|
||||
simulationTimes = new float[particleSystems.Length];
|
||||
}
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
if (particleSystems == null)
|
||||
{
|
||||
Initialize();
|
||||
}
|
||||
|
||||
for (int i = 0; i < simulationTimes.Length; i++)
|
||||
{
|
||||
simulationTimes[i] = 0.0f;
|
||||
}
|
||||
|
||||
particleSystems[0].Simulate(startTime, true, false, true);
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
particleSystems[0].Stop(true,
|
||||
ParticleSystemStopBehavior.StopEmittingAndClear);
|
||||
|
||||
for (int i = particleSystems.Length - 1; i >= 0; i--)
|
||||
{
|
||||
bool useAutoRandomSeed = particleSystems[i].useAutoRandomSeed;
|
||||
particleSystems[i].useAutoRandomSeed = false;
|
||||
|
||||
particleSystems[i].Play(false);
|
||||
|
||||
float deltaTime = particleSystems[i].main.useUnscaledTime ? Time.unscaledDeltaTime : Time.deltaTime;
|
||||
simulationTimes[i] -= (deltaTime * particleSystems[i].main.simulationSpeed) * simulationSpeedScale;
|
||||
|
||||
float currentSimulationTime = startTime + simulationTimes[i];
|
||||
particleSystems[i].Simulate(currentSimulationTime, false, false, true);
|
||||
|
||||
particleSystems[i].useAutoRandomSeed = useAutoRandomSeed;
|
||||
|
||||
if (currentSimulationTime < 0.0f)
|
||||
{
|
||||
particleSystems[i].Play(false);
|
||||
particleSystems[i].Stop(false, ParticleSystemStopBehavior.StopEmittingAndClear);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4a4a0b107de842541bf9aa1a1a43b800
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,128 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class Rotator : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
public Vector3 localRotationSpeed;
|
||||
public Vector3 worldRotationSpeed;
|
||||
|
||||
public bool executeInEditMode = false;
|
||||
|
||||
public bool unscaledTime;
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
void Awake()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Start()
|
||||
{
|
||||
//StartCoroutine(cr());
|
||||
}
|
||||
|
||||
//System.Collections.IEnumerator cr()
|
||||
//{
|
||||
// while (true)
|
||||
// {
|
||||
// transform.Rotate(localRotationSpeed * Time.deltaTime, Space.Self);
|
||||
// yield return new WaitForSeconds(0.1f);
|
||||
// }
|
||||
//}
|
||||
|
||||
// ...
|
||||
|
||||
void OnRenderObject()
|
||||
{
|
||||
if (executeInEditMode)
|
||||
{
|
||||
if (!Application.isPlaying)
|
||||
{
|
||||
rotate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (Application.isPlaying)
|
||||
{
|
||||
rotate();
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void rotate()
|
||||
{
|
||||
// Calling Rotate can be expensive.
|
||||
// Doing the if-checks is worth it.
|
||||
|
||||
float deltaTime = !unscaledTime ? Time.deltaTime : Time.unscaledDeltaTime;
|
||||
|
||||
if (localRotationSpeed != Vector3.zero)
|
||||
{
|
||||
transform.Rotate(localRotationSpeed * deltaTime, Space.Self);
|
||||
//transform.rotation = transform.rotation * Quaternion.AngleAxis(localRotationSpeed.y * Time.deltaTime, Vector3.up);
|
||||
}
|
||||
|
||||
if (worldRotationSpeed != Vector3.zero)
|
||||
{
|
||||
transform.Rotate(worldRotationSpeed * deltaTime, Space.World);
|
||||
}
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3e802dd5d18137f48810e4b6efcdaf59
|
||||
timeCreated: 1458196199
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,97 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class TrailRenderers : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
[HideInInspector]
|
||||
public TrailRenderer[] trailRenderers;
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
protected virtual void Awake()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
protected virtual void Start()
|
||||
{
|
||||
trailRenderers = GetComponentsInChildren<TrailRenderer>();
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
protected virtual void Update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void setAutoDestruct(bool value)
|
||||
{
|
||||
for (int i = 0; i < trailRenderers.Length; i++)
|
||||
{
|
||||
trailRenderers[i].autodestruct = value;
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
//void Update()
|
||||
//{
|
||||
|
||||
//}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b4de1fbf6fe23564995cc73212ce2a0e
|
||||
timeCreated: 1463643673
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,86 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class TransformNoise : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
public PerlinNoiseXYZ positionNoise;
|
||||
public PerlinNoiseXYZ rotationNoise;
|
||||
|
||||
public bool unscaledTime;
|
||||
|
||||
float time;
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
void Start()
|
||||
{
|
||||
positionNoise.init();
|
||||
rotationNoise.init();
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Update()
|
||||
{
|
||||
time = !unscaledTime ? Time.time : Time.unscaledTime;
|
||||
|
||||
// I use Time.deltaTime vs. Time.time so that it starts off centered.
|
||||
// LEL, makes no difference.
|
||||
|
||||
//time += !unscaledTime ? Time.deltaTime : Time.unscaledDeltaTime;
|
||||
|
||||
transform.localPosition = positionNoise.GetXYZ(time);
|
||||
transform.localEulerAngles = rotationNoise.GetXYZ(time);
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 29f509a7bc82bc94e896bfd0257bcec5
|
||||
timeCreated: 1474948492
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a5ee12e41d91b5044a201dc5c79af997
|
||||
folderAsset: yes
|
||||
timeCreated: 1469056182
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,539 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
namespace Demos
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class DemoManager : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
public enum ParticleMode
|
||||
{
|
||||
looping,
|
||||
oneshot,
|
||||
}
|
||||
|
||||
public enum Level
|
||||
{
|
||||
none,
|
||||
basic,
|
||||
}
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
public Transform cameraRotationTransform;
|
||||
public Transform cameraTranslationTransform;
|
||||
|
||||
public Vector3 cameraLookAtPosition = new Vector3(0.0f, 3.0f, 0.0f);
|
||||
|
||||
public MouseFollow mouse;
|
||||
|
||||
Vector3 targetCameraPosition;
|
||||
Vector3 targetCameraRotation;
|
||||
|
||||
Vector3 cameraPositionStart;
|
||||
Vector3 cameraRotationStart;
|
||||
|
||||
Vector2 input;
|
||||
|
||||
// Because Euler angles wrap around 360, I use
|
||||
// a separate value to store the full rotation.
|
||||
|
||||
Vector3 cameraRotation;
|
||||
|
||||
public float cameraMoveAmount = 2.0f;
|
||||
public float cameraRotateAmount = 2.0f;
|
||||
|
||||
public float cameraMoveSpeed = 12.0f;
|
||||
public float cameraRotationSpeed = 12.0f;
|
||||
|
||||
public Vector2 cameraAngleLimits = new Vector2(-8.0f, 60.0f);
|
||||
|
||||
public GameObject[] levels;
|
||||
public Level currentLevel = Level.basic;
|
||||
|
||||
public ParticleMode particleMode = ParticleMode.looping;
|
||||
|
||||
public bool advancedRendering = true;
|
||||
|
||||
public Toggle loopingParticleModeToggle;
|
||||
public Toggle oneshotParticleModeToggle;
|
||||
|
||||
public Toggle advancedRenderingToggle;
|
||||
|
||||
public Toggle mouseParticlesToggle;
|
||||
|
||||
Toggle[] levelToggles;
|
||||
public ToggleGroup levelTogglesContainer;
|
||||
|
||||
LoopingParticleSystemsManager loopingParticleSystems;
|
||||
OneshotParticleSystemsManager oneshotParticleSystems;
|
||||
|
||||
public GameObject ui;
|
||||
|
||||
public Text particleCountText;
|
||||
public Text currentParticleSystemText;
|
||||
|
||||
public Text particleSpawnInstructionText;
|
||||
|
||||
public Slider timeScaleSlider;
|
||||
public Text timeScaleSliderValueText;
|
||||
|
||||
public Camera mainCamera;
|
||||
|
||||
public MonoBehaviour[] mainCameraPostEffects;
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
void Awake()
|
||||
{
|
||||
loopingParticleSystems = FindObjectOfType<LoopingParticleSystemsManager>();
|
||||
oneshotParticleSystems = FindObjectOfType<OneshotParticleSystemsManager>();
|
||||
|
||||
loopingParticleSystems.Init();
|
||||
oneshotParticleSystems.Init();
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Start()
|
||||
{
|
||||
// ...
|
||||
|
||||
cameraPositionStart = cameraTranslationTransform.localPosition;
|
||||
cameraRotationStart = cameraRotationTransform.localEulerAngles;
|
||||
|
||||
ResetCameraTransformTargets();
|
||||
|
||||
// ...
|
||||
|
||||
switch (particleMode)
|
||||
{
|
||||
case ParticleMode.looping:
|
||||
{
|
||||
SetToLoopingParticleMode(true);
|
||||
|
||||
loopingParticleModeToggle.isOn = true;
|
||||
oneshotParticleModeToggle.isOn = false;
|
||||
|
||||
break;
|
||||
}
|
||||
case ParticleMode.oneshot:
|
||||
{
|
||||
SetToOneshotParticleMode(true);
|
||||
|
||||
loopingParticleModeToggle.isOn = false;
|
||||
oneshotParticleModeToggle.isOn = true;
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
print("Unknown case.");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
SetAdvancedRendering(advancedRendering);
|
||||
advancedRenderingToggle.isOn = advancedRendering;
|
||||
|
||||
// ...
|
||||
|
||||
levelToggles =
|
||||
levelTogglesContainer.GetComponentsInChildren<Toggle>(true);
|
||||
|
||||
for (int i = 0; i < levels.Length; i++)
|
||||
{
|
||||
// Toggle's OnValueChanged handles
|
||||
// level state. No need to SetActive().
|
||||
|
||||
if (i == (int)currentLevel)
|
||||
{
|
||||
levels[i].SetActive(true);
|
||||
levelToggles[i].isOn = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
levels[i].SetActive(false);
|
||||
levelToggles[i].isOn = false;
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
UpdateCurrentParticleSystemNameText();
|
||||
timeScaleSlider.onValueChanged.AddListener(OnTimeScaleSliderValueChanged);
|
||||
|
||||
OnTimeScaleSliderValueChanged(timeScaleSlider.value);
|
||||
|
||||
mouseParticlesToggle.isOn = mouse.gameObject.activeSelf;
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void OnTimeScaleSliderValueChanged(float value)
|
||||
{
|
||||
Time.timeScale = value;
|
||||
timeScaleSliderValueText.text = value.ToString("0.00");
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void SetToLoopingParticleMode(bool set)
|
||||
{
|
||||
if (set)
|
||||
{
|
||||
oneshotParticleSystems.Clear();
|
||||
|
||||
loopingParticleSystems.gameObject.SetActive(true);
|
||||
oneshotParticleSystems.gameObject.SetActive(false);
|
||||
|
||||
particleSpawnInstructionText.gameObject.SetActive(false);
|
||||
|
||||
particleMode = ParticleMode.looping;
|
||||
|
||||
UpdateCurrentParticleSystemNameText();
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void SetToOneshotParticleMode(bool set)
|
||||
{
|
||||
if (set)
|
||||
{
|
||||
loopingParticleSystems.gameObject.SetActive(false);
|
||||
oneshotParticleSystems.gameObject.SetActive(true);
|
||||
|
||||
particleSpawnInstructionText.gameObject.SetActive(true);
|
||||
|
||||
particleMode = ParticleMode.oneshot;
|
||||
|
||||
UpdateCurrentParticleSystemNameText();
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void SetLevel(Level level)
|
||||
{
|
||||
for (int i = 0; i < levels.Length; i++)
|
||||
{
|
||||
if (i == (int)level)
|
||||
{
|
||||
levels[i].SetActive(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
levels[i].SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
currentLevel = level;
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void SetLevelFromToggle(Toggle toggle)
|
||||
{
|
||||
if (toggle.isOn)
|
||||
{
|
||||
SetLevel((Level)System.Array.IndexOf(levelToggles, toggle));
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void SetAdvancedRendering(bool value)
|
||||
{
|
||||
advancedRendering = value;
|
||||
mainCamera.allowHDR = value;
|
||||
|
||||
if (value)
|
||||
{
|
||||
//QualitySettings.SetQualityLevel(32, true);
|
||||
//mainCamera.renderingPath = RenderingPath.UsePlayerSettings;
|
||||
|
||||
//mouse.gameObject.SetActive(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
//QualitySettings.SetQualityLevel(0, true);
|
||||
//mainCamera.renderingPath = RenderingPath.VertexLit;
|
||||
|
||||
//mouse.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
for (int i = 0; i < mainCameraPostEffects.Length; i++)
|
||||
{
|
||||
if (mainCameraPostEffects[i])
|
||||
{
|
||||
mainCameraPostEffects[i].enabled = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void SetMouseParticlesRendering(bool value)
|
||||
{
|
||||
mouse.gameObject.SetActive(value);
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public static Vector3 DampVector3(Vector3 from, Vector3 to, float speed, float dt)
|
||||
{
|
||||
return Vector3.Lerp(from, to, 1.0f - Mathf.Exp(-speed * dt));
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
Vector3 cameraPositionSmoothDampVelocity;
|
||||
Vector3 cameraRotationSmoothDampVelocity;
|
||||
|
||||
void Update()
|
||||
{
|
||||
// ...
|
||||
|
||||
input.x = Input.GetAxis("Horizontal");
|
||||
input.y = Input.GetAxis("Vertical");
|
||||
|
||||
// Get targets.
|
||||
|
||||
if (Input.GetKey(KeyCode.LeftShift))
|
||||
{
|
||||
targetCameraPosition.z += input.y * cameraMoveAmount;
|
||||
targetCameraPosition.z = Mathf.Clamp(targetCameraPosition.z, -6.3f, -1.0f);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
targetCameraRotation.y += input.x * cameraRotateAmount;
|
||||
targetCameraRotation.x += input.y * cameraRotateAmount;
|
||||
|
||||
targetCameraRotation.x = Mathf.Clamp(targetCameraRotation.x, cameraAngleLimits.x, cameraAngleLimits.y);
|
||||
}
|
||||
|
||||
// Camera position.
|
||||
|
||||
cameraTranslationTransform.localPosition = Vector3.SmoothDamp(
|
||||
cameraTranslationTransform.localPosition, targetCameraPosition, ref cameraPositionSmoothDampVelocity, 1.0f / cameraMoveSpeed, Mathf.Infinity, Time.unscaledDeltaTime);
|
||||
|
||||
// Camera container rotation.
|
||||
|
||||
cameraRotation = Vector3.SmoothDamp(
|
||||
cameraRotation, targetCameraRotation, ref cameraRotationSmoothDampVelocity, 1.0f / cameraRotationSpeed, Mathf.Infinity, Time.unscaledDeltaTime);
|
||||
|
||||
cameraRotationTransform.localEulerAngles = cameraRotation;
|
||||
|
||||
// Look at origin.
|
||||
|
||||
cameraTranslationTransform.LookAt(cameraLookAtPosition);
|
||||
|
||||
// Scroll through systems.
|
||||
|
||||
if (Input.GetAxis("Mouse ScrollWheel") < 0)
|
||||
{
|
||||
Next();
|
||||
}
|
||||
else if (Input.GetAxis("Mouse ScrollWheel") > 0)
|
||||
{
|
||||
Previous();
|
||||
}
|
||||
|
||||
// Toggle UI.
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.U))
|
||||
{
|
||||
ui.SetActive(!ui.activeSelf);
|
||||
}
|
||||
|
||||
// Switch between one-shot and looping prefabs.
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.O))
|
||||
{
|
||||
if (particleMode == ParticleMode.looping)
|
||||
{
|
||||
SetToOneshotParticleMode(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
SetToLoopingParticleMode(true);
|
||||
}
|
||||
}
|
||||
|
||||
// Cycle levels.
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.L))
|
||||
{
|
||||
SetLevel((Level)((int)(currentLevel + 1) % System.Enum.GetNames(typeof(Level)).Length));
|
||||
}
|
||||
|
||||
// Random prefab while holding key.
|
||||
|
||||
else if (Input.GetKey(KeyCode.R))
|
||||
{
|
||||
//if (particleMode == ParticleMode.oneshot)
|
||||
//{
|
||||
// oneshotParticleSystems.randomize();
|
||||
// updateCurrentParticleSystemNameText();
|
||||
|
||||
// // If also holding down, auto-spawn at random point.
|
||||
|
||||
// if (Input.GetKey(KeyCode.T))
|
||||
// {
|
||||
// //oneshotParticleSystems.instantiateParticlePrefabRandom();
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
// Left-click to spawn once.
|
||||
// Right-click to continously spawn.
|
||||
|
||||
if (particleMode == ParticleMode.oneshot)
|
||||
{
|
||||
Vector3 mousePosition = Input.mousePosition;
|
||||
|
||||
if (Input.GetMouseButtonDown(0))
|
||||
{
|
||||
CameraShake cameraShake = FindObjectOfType<CameraShake>();
|
||||
|
||||
cameraShake.Add(0.2f, 5.0f, 0.2f, CameraShakeTarget.Position, CameraShakeAmplitudeCurve.FadeInOut25);
|
||||
cameraShake.Add(4.0f, 5.0f, 0.5f, CameraShakeTarget.Rotation, CameraShakeAmplitudeCurve.FadeInOut25);
|
||||
|
||||
oneshotParticleSystems.InstantiateParticlePrefab(mousePosition, mouse.distanceFromCamera);
|
||||
}
|
||||
if (Input.GetMouseButton(1))
|
||||
{
|
||||
oneshotParticleSystems.InstantiateParticlePrefab(mousePosition, mouse.distanceFromCamera);
|
||||
}
|
||||
}
|
||||
|
||||
// Reset.
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.R))
|
||||
{
|
||||
ResetCameraTransformTargets();
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void LateUpdate()
|
||||
{
|
||||
// Update particle count display.
|
||||
|
||||
particleCountText.text = "PARTICLE COUNT: ";
|
||||
|
||||
if (particleMode == ParticleMode.looping)
|
||||
{
|
||||
particleCountText.text += loopingParticleSystems.GetParticleCount().ToString();
|
||||
}
|
||||
else if (particleMode == ParticleMode.oneshot)
|
||||
{
|
||||
particleCountText.text += oneshotParticleSystems.GetParticleCount().ToString();
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void ResetCameraTransformTargets()
|
||||
{
|
||||
targetCameraPosition = cameraPositionStart;
|
||||
targetCameraRotation = cameraRotationStart;
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void UpdateCurrentParticleSystemNameText()
|
||||
{
|
||||
if (particleMode == ParticleMode.looping)
|
||||
{
|
||||
currentParticleSystemText.text = loopingParticleSystems.GetCurrentPrefabName(true);
|
||||
}
|
||||
else if (particleMode == ParticleMode.oneshot)
|
||||
{
|
||||
currentParticleSystemText.text = oneshotParticleSystems.GetCurrentPrefabName(true);
|
||||
}
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public void Next()
|
||||
{
|
||||
if (particleMode == ParticleMode.looping)
|
||||
{
|
||||
loopingParticleSystems.Next();
|
||||
}
|
||||
else if (particleMode == ParticleMode.oneshot)
|
||||
{
|
||||
oneshotParticleSystems.Next();
|
||||
}
|
||||
|
||||
UpdateCurrentParticleSystemNameText();
|
||||
}
|
||||
|
||||
public void Previous()
|
||||
{
|
||||
if (particleMode == ParticleMode.looping)
|
||||
{
|
||||
loopingParticleSystems.Previous();
|
||||
}
|
||||
else if (particleMode == ParticleMode.oneshot)
|
||||
{
|
||||
oneshotParticleSystems.Previous();
|
||||
}
|
||||
|
||||
UpdateCurrentParticleSystemNameText();
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 33d6fc44fae54d642925ba68dc57410f
|
||||
timeCreated: 1435559456
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,108 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
namespace Demos
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class FPSDisplay : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
float timer;
|
||||
public float updateTime = 1.0f;
|
||||
|
||||
int frameCount;
|
||||
float fpsAccum;
|
||||
|
||||
// Display.
|
||||
|
||||
Text fpsText;
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
void Awake()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Start()
|
||||
{
|
||||
fpsText = GetComponent<Text>();
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Update()
|
||||
{
|
||||
frameCount++;
|
||||
timer += Time.deltaTime;
|
||||
|
||||
fpsAccum += 1.0f / Time.deltaTime;
|
||||
|
||||
if (timer >= updateTime)
|
||||
{
|
||||
timer = 0.0f;
|
||||
|
||||
int fps = Mathf.RoundToInt(fpsAccum / frameCount);
|
||||
|
||||
fpsText.text = "Average FPS: " + fps;
|
||||
|
||||
frameCount = 0;
|
||||
fpsAccum = 0.0f;
|
||||
}
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c9f4f59ed613035409cd1a3760587dc0
|
||||
timeCreated: 1442945759
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,98 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
namespace Demos
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class FPSTest : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
public int targetFPS1 = 60;
|
||||
public int targetFPS2 = 10;
|
||||
|
||||
int previousVSyncCount;
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
void Awake()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (Input.GetKey(KeyCode.Space))
|
||||
{
|
||||
Application.targetFrameRate = targetFPS2;
|
||||
|
||||
previousVSyncCount = QualitySettings.vSyncCount;
|
||||
QualitySettings.vSyncCount = 0;
|
||||
}
|
||||
else if (Input.GetKeyUp(KeyCode.Space))
|
||||
{
|
||||
Application.targetFrameRate = targetFPS1;
|
||||
QualitySettings.vSyncCount = previousVSyncCount;
|
||||
}
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 29ec48b8d9f9b294eab9a7f660adcdc3
|
||||
timeCreated: 1458196122
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,123 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
namespace Demos
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class LoopingParticleSystemsManager : ParticleManager
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
protected override void Start()
|
||||
{
|
||||
base.Start();
|
||||
|
||||
// ...
|
||||
|
||||
particlePrefabs[currentParticlePrefabIndex][0].gameObject.SetActive(true);
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public override void Next()
|
||||
{
|
||||
particlePrefabs[currentParticlePrefabIndex][0].gameObject.SetActive(false);
|
||||
|
||||
base.Next();
|
||||
particlePrefabs[currentParticlePrefabIndex][0].gameObject.SetActive(true);
|
||||
}
|
||||
public override void Previous()
|
||||
{
|
||||
particlePrefabs[currentParticlePrefabIndex][0].gameObject.SetActive(false);
|
||||
|
||||
base.Previous();
|
||||
particlePrefabs[currentParticlePrefabIndex][0].gameObject.SetActive(true);
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
public override int GetParticleCount()
|
||||
{
|
||||
// Return particle count from active prefab.
|
||||
|
||||
int particleCount = 0;
|
||||
|
||||
ParticleSystem[] currentPrefab = particlePrefabs[currentParticlePrefabIndex];
|
||||
|
||||
for (int i = 0; i < currentPrefab.Length; i++)
|
||||
{
|
||||
particleCount += currentPrefab[i].particleCount;
|
||||
}
|
||||
|
||||
return particleCount;
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4c510a03d7e25f949891cc966a3b4cda
|
||||
timeCreated: 1435559456
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,102 @@
|
||||
|
||||
// =================================
|
||||
// Namespaces.
|
||||
// =================================
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
// =================================
|
||||
// Define namespace.
|
||||
// =================================
|
||||
|
||||
namespace MirzaBeig
|
||||
{
|
||||
|
||||
namespace ParticleSystems
|
||||
{
|
||||
|
||||
namespace Demos
|
||||
{
|
||||
|
||||
// =================================
|
||||
// Classes.
|
||||
// =================================
|
||||
|
||||
public class MouseFollow : MonoBehaviour
|
||||
{
|
||||
// =================================
|
||||
// Nested classes and structures.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
// =================================
|
||||
// Variables.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
public float speed = 8.0f;
|
||||
public float distanceFromCamera = 5.0f;
|
||||
|
||||
public bool ignoreTimeScale;
|
||||
|
||||
// =================================
|
||||
// Functions.
|
||||
// =================================
|
||||
|
||||
// ...
|
||||
|
||||
void Awake()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void Update()
|
||||
{
|
||||
Vector3 mousePosition = Input.mousePosition;
|
||||
mousePosition.z = distanceFromCamera;
|
||||
|
||||
Vector3 mouseScreenToWorld = Camera.main.ScreenToWorldPoint(mousePosition);
|
||||
|
||||
float deltaTime = !ignoreTimeScale ? Time.deltaTime : Time.unscaledDeltaTime;
|
||||
Vector3 position = Vector3.Lerp(transform.position, mouseScreenToWorld, 1.0f - Mathf.Exp(-speed * deltaTime));
|
||||
|
||||
transform.position = position;
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
void LateUpdate()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End functions.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// End namespace.
|
||||
// =================================
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// =================================
|
||||
// --END-- //
|
||||
// =================================
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1d060625387cf804ea2e5920cc7a829e
|
||||
timeCreated: 1459508605
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user