Merge branch 'dev-main' into dev-hazim
commit
26db5c3cf1
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6c1be30bdbf336142af03bc33677ff54
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 80faa11e05787ee4a9b2b986f9b2d780
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fb0f497b144c3b742a3aaa832da31414
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,55 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: WindS
|
||||
m_Shader: {fileID: 4800000, guid: 60ebdfbe66389c449a414da5266da8e6, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _SIDEOPACITY_ON
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: 0d1fb353c40bd6345af42a3b4f0bdb1a, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Noise:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _CullMode: 0
|
||||
- _Depthpower: 1
|
||||
- _Distortionpower: 1
|
||||
- _Finalopacity: 1
|
||||
- _LenghtSet1ifyouuseinPS: 1
|
||||
- _Opacitypower: 70
|
||||
- _PathSet0ifyouuseinPS: 0
|
||||
- _Sideopacity: 1
|
||||
- _Sideopacitypower: 40
|
||||
- _Startopacity: 40
|
||||
- _Strensh: 1
|
||||
- _Usedepth: 0
|
||||
- _Usedistortion: 0
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionRGB: {r: 1, g: 0.4, b: 0.4, a: 1}
|
||||
- _NoisespeedXY: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _TintColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_BuildTextureStacks: []
|
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6c37460844c4064469fea440fc90dc96
|
||||
timeCreated: 1546110813
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a25586a4ab9e32f4aa9dbf0537d440bd
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
@ -0,0 +1,82 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 354963eb593f4024fbbc674a0dbfa8e6
|
||||
timeCreated: 1546110763
|
||||
licenseType: Store
|
||||
ModelImporter:
|
||||
serializedVersion: 19
|
||||
fileIDToRecycleName:
|
||||
100000: //RootNode
|
||||
400000: //RootNode
|
||||
2300000: //RootNode
|
||||
3300000: //RootNode
|
||||
4300000: Path1
|
||||
materials:
|
||||
importMaterials: 0
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
clipAnimations: []
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
importBlendShapes: 1
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
optimizeMeshForGPU: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
importAnimation: 0
|
||||
copyAvatar: 0
|
||||
humanDescription:
|
||||
serializedVersion: 2
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
rootMotionBoneName:
|
||||
rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
animationType: 0
|
||||
humanoidOversampling: 1
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6aadc98e036546047a029bdd55760a84
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2c925d5a2a53b164facec46c461cbf08
|
||||
timeCreated: 1546110737
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: -1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d54e0654c349d9d47a52d1da98ec6745
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,264 @@
|
||||
Shader "Hovl/Particles/SlashOld"
|
||||
{
|
||||
Properties
|
||||
{
|
||||
_MainTex("MainTex", 2D) = "white" {}
|
||||
_Color("Color", Color) = (1,1,1,1)
|
||||
_EmissionRGB("Emission/R/G/B", Vector) = (1,1,0.5,0.5)
|
||||
_Startopacity("Start opacity", Float) = 40
|
||||
[Toggle]_Sideopacity("Side opacity", Float) = 0
|
||||
_Sideopacitypower("Side opacity power", Float) = 40
|
||||
_Finalopacity("Final opacity", Range( 0 , 1)) = 1
|
||||
_LenghtSet1ifyouuseinPS("Lenght(Set 1 if you use in PS)", Range( 0 , 1)) = 1
|
||||
_PathSet0ifyouuseinPS("Path(Set 0 if you use in PS)", Range( 0 , 1)) = 0
|
||||
[MaterialToggle] _Usedepth ("Use depth?", Float ) = 0
|
||||
_Depthpower ("Depth power", Float ) = 1
|
||||
[Enum(Cull Off,0, Cull Front,1, Cull Back,2)] _CullMode("Culling", Float) = 0
|
||||
}
|
||||
|
||||
Category
|
||||
{
|
||||
SubShader
|
||||
{
|
||||
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" }
|
||||
Blend SrcAlpha OneMinusSrcAlpha
|
||||
ColorMask RGB
|
||||
Cull[_CullMode]
|
||||
Lighting Off
|
||||
ZWrite Off
|
||||
ZTest LEqual
|
||||
|
||||
Pass {
|
||||
CGPROGRAM
|
||||
#pragma vertex vert
|
||||
#pragma fragment frag
|
||||
#pragma target 2.0
|
||||
#pragma multi_compile_particles
|
||||
#pragma multi_compile_fog
|
||||
#include "UnityCG.cginc"
|
||||
|
||||
struct appdata_t
|
||||
{
|
||||
float4 vertex : POSITION;
|
||||
fixed4 color : COLOR;
|
||||
float4 texcoord : TEXCOORD0;
|
||||
UNITY_VERTEX_INPUT_INSTANCE_ID
|
||||
};
|
||||
|
||||
struct v2f
|
||||
{
|
||||
float4 vertex : SV_POSITION;
|
||||
fixed4 color : COLOR;
|
||||
float4 texcoord : TEXCOORD0;
|
||||
UNITY_FOG_COORDS(1)
|
||||
#ifdef SOFTPARTICLES_ON
|
||||
float4 projPos : TEXCOORD2;
|
||||
#endif
|
||||
UNITY_VERTEX_INPUT_INSTANCE_ID
|
||||
UNITY_VERTEX_OUTPUT_STEREO
|
||||
};
|
||||
|
||||
#if UNITY_VERSION >= 560
|
||||
UNITY_DECLARE_DEPTH_TEXTURE( _CameraDepthTexture );
|
||||
#else
|
||||
uniform sampler2D_float _CameraDepthTexture;
|
||||
#endif
|
||||
|
||||
//Don't delete this comment
|
||||
// uniform sampler2D_float _CameraDepthTexture;
|
||||
|
||||
uniform sampler2D _MainTex;
|
||||
uniform float4 _MainTex_ST;
|
||||
uniform float _PathSet0ifyouuseinPS;
|
||||
uniform float _LenghtSet1ifyouuseinPS;
|
||||
uniform float4 _EmissionRGB;
|
||||
uniform float4 _Color;
|
||||
uniform float _Startopacity;
|
||||
uniform float _Sideopacity;
|
||||
uniform float _Sideopacitypower;
|
||||
uniform float _Finalopacity;
|
||||
uniform fixed _Usedepth;
|
||||
uniform float _Depthpower;
|
||||
|
||||
v2f vert ( appdata_t v )
|
||||
{
|
||||
v2f o;
|
||||
UNITY_SETUP_INSTANCE_ID(v);
|
||||
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);
|
||||
UNITY_TRANSFER_INSTANCE_ID(v, o);
|
||||
|
||||
v.vertex.xyz += float3( 0, 0, 0 ) ;
|
||||
o.vertex = UnityObjectToClipPos(v.vertex);
|
||||
#ifdef SOFTPARTICLES_ON
|
||||
o.projPos = ComputeScreenPos (o.vertex);
|
||||
COMPUTE_EYEDEPTH(o.projPos.z);
|
||||
#endif
|
||||
o.color = v.color;
|
||||
o.texcoord = v.texcoord;
|
||||
UNITY_TRANSFER_FOG(o,o.vertex);
|
||||
return o;
|
||||
}
|
||||
|
||||
fixed4 frag ( v2f i ) : SV_Target
|
||||
{
|
||||
float lp = 1;
|
||||
#ifdef SOFTPARTICLES_ON
|
||||
float sceneZ = LinearEyeDepth (SAMPLE_DEPTH_TEXTURE_PROJ(_CameraDepthTexture, UNITY_PROJ_COORD(i.projPos)));
|
||||
float partZ = i.projPos.z;
|
||||
float fade = saturate ((sceneZ-partZ) / _Depthpower);
|
||||
lp *= lerp(1, fade, _Usedepth);
|
||||
i.color.a *= lp;
|
||||
#endif
|
||||
|
||||
float4 uv05 = i.texcoord;
|
||||
uv05.xy = i.texcoord.xy * float2( 1,1 ) + float2( 0,0 );
|
||||
float temp_output_7_0 = (2.5 + (( _PathSet0ifyouuseinPS + uv05.z ) - 0.0) * (1.0 - 2.5) / (1.0 - 0.0));
|
||||
float clampResult76 = clamp( uv05.w , 0.0 , 1.0 );
|
||||
float temp_output_10_0 = (1.0 + (( _LenghtSet1ifyouuseinPS * clampResult76 ) - 0.0) * (0.0 - 1.0) / (1.0 - 0.0));
|
||||
float clampResult16 = clamp( ( ( ( temp_output_7_0 * temp_output_7_0 * temp_output_7_0 * temp_output_7_0 * temp_output_7_0 ) * uv05.x ) - temp_output_10_0 ) , 0.0 , 1.0 );
|
||||
float V66 = uv05.y;
|
||||
float2 appendResult18 = (float2(( clampResult16 * ( 1.0 / (1.0 + (temp_output_10_0 - 0.0) * (0.001 - 1.0) / (1.0 - 0.0)) ) ) , V66));
|
||||
float2 clampResult19 = clamp( appendResult18 , float2( 0,0 ) , float2( 1,1 ) );
|
||||
float4 tex2DNode21 = tex2D( _MainTex, clampResult19 );
|
||||
float temp_output_54_0 = (clampResult19).x;
|
||||
float clampResult59 = clamp( ( (1.0 + (temp_output_54_0 - 0.0) * (0.0 - 1.0) / (1.0 - 0.0)) * _Startopacity ) , 0.0 , 1.0 );
|
||||
float clampResult60 = clamp( ( _Startopacity * temp_output_54_0 ) , 0.0 , 1.0 );
|
||||
float clampResult62 = clamp( ( (1.0 + (V66 - 0.0) * (0.0 - 1.0) / (1.0 - 0.0)) * _Sideopacitypower ) , 0.0 , 1.0 );
|
||||
float clampResult28 = clamp( ( tex2DNode21.a * i.color.a * _Color.a * ( clampResult59 * clampResult60 * lerp(1.0,clampResult62,_Sideopacity) ) * _Finalopacity ) , 0.0 , 1.0 );
|
||||
float4 appendResult86 = (float4(( ( ( tex2DNode21.r * _EmissionRGB.y ) + ( tex2DNode21.g * _EmissionRGB.z ) + ( tex2DNode21.b * _EmissionRGB.w ) ) * (i.color).rgb * (_Color).rgb * _EmissionRGB.x ) , clampResult28));
|
||||
fixed4 col = appendResult86;
|
||||
UNITY_APPLY_FOG(i.fogCoord, col);
|
||||
return col;
|
||||
}
|
||||
ENDCG
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/*ASEBEGIN
|
||||
Version=16900
|
||||
296;124;1213;909;1714.463;328.5306;2.045301;True;False
|
||||
Node;AmplifyShaderEditor.CommentaryNode;53;-4490.048,-27.91685;Float;False;2282.792;622.2435;Slash UV;19;2;3;4;7;8;5;12;9;10;13;14;16;17;18;19;66;75;76;85;;1,1,1,1;0;0
|
||||
Node;AmplifyShaderEditor.TextureCoordinatesNode;5;-4476.143,294.932;Float;False;0;-1;4;3;2;SAMPLER2D;;False;0;FLOAT2;1,1;False;1;FLOAT2;0,0;False;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4
|
||||
Node;AmplifyShaderEditor.RangedFloatNode;2;-4429.932,40.22149;Float;False;Property;_PathSet0ifyouuseinPS;Path(Set 0 if you use in PS);8;0;Create;True;0;0;False;0;0;0;0;1;0;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleAddOpNode;4;-3981.993,43.66797;Float;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.TFHCRemapNode;7;-3854.058,34.69856;Float;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;2.5;False;4;FLOAT;1;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.ClampOpNode;76;-4017.877,250.086;Float;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.RangedFloatNode;3;-4440.049,160.7987;Float;False;Property;_LenghtSet1ifyouuseinPS;Lenght(Set 1 if you use in PS);7;0;Create;True;0;0;False;0;1;0;0;1;0;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.WireNode;85;-3577.827,308.1031;Float;False;1;0;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleMultiplyOpNode;9;-3659.728,201.2546;Float;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleMultiplyOpNode;8;-3648.495,29.86452;Float;False;5;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleMultiplyOpNode;12;-3486.968,28.89672;Float;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.TFHCRemapNode;10;-3491.504,199.5061;Float;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;1;False;4;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleSubtractOpNode;13;-3258.908,28.0522;Float;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.TFHCRemapNode;14;-3256.3,187.6072;Float;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;1;False;4;FLOAT;0.001;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.ClampOpNode;16;-3012.983,23.27694;Float;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleDivideOpNode;75;-3007.203,166.0433;Float;False;2;0;FLOAT;1;False;1;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.RegisterLocalVarNode;66;-3735.759,395.456;Float;False;V;-1;True;1;0;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleMultiplyOpNode;17;-2818.393,22.08316;Float;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.CommentaryNode;83;-2398.328,730.9493;Float;False;1396.689;645.0528;Side opacity;14;67;65;54;64;56;55;63;57;58;62;61;60;59;25;;1,1,1,1;0;0
|
||||
Node;AmplifyShaderEditor.DynamicAppendNode;18;-2595.536,197.6426;Float;False;FLOAT2;4;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT2;0
|
||||
Node;AmplifyShaderEditor.ClampOpNode;19;-2402.201,197.1262;Float;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT2;1,1;False;1;FLOAT2;0
|
||||
Node;AmplifyShaderEditor.GetLocalVarNode;67;-2348.328,1079.222;Float;False;66;V;1;0;OBJECT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.ComponentMaskNode;54;-2149.501,982.7732;Float;False;True;False;True;True;1;0;FLOAT2;0,0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.TFHCRemapNode;65;-2168.895,1085.672;Float;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;1;False;4;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.RangedFloatNode;64;-2207.309,1261.002;Float;False;Property;_Sideopacitypower;Side opacity power;5;0;Create;True;0;0;False;0;40;40;0;0;0;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.RangedFloatNode;56;-1897.029,942.9186;Float;False;Property;_Startopacity;Start opacity;3;0;Create;True;0;0;False;0;40;40;0;0;0;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleMultiplyOpNode;63;-1927.908,1114.902;Float;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.TFHCRemapNode;55;-1901.338,780.9493;Float;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;1;False;4;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleMultiplyOpNode;58;-1678.167,967.9112;Float;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleMultiplyOpNode;57;-1668.055,800.1371;Float;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.ClampOpNode;62;-1733.804,1077.494;Float;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.VertexColorNode;22;-1145.052,142.3896;Float;False;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4
|
||||
Node;AmplifyShaderEditor.ToggleSwitchNode;61;-1582.211,1068.601;Float;False;Property;_Sideopacity;Side opacity;4;0;Create;True;0;0;False;0;0;2;0;FLOAT;1;False;1;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SamplerNode;21;-1055.309,-73.36416;Float;True;Property;_MainTex;MainTex;0;0;Create;True;0;0;False;0;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;6;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;3;FLOAT2;0,0;False;4;FLOAT2;0,0;False;5;FLOAT;1;False;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4
|
||||
Node;AmplifyShaderEditor.ColorNode;23;-1224.055,331.3597;Float;False;Property;_Color;Color;1;0;Create;True;0;0;False;0;1,1,1,1;1,1,1,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4
|
||||
Node;AmplifyShaderEditor.Vector4Node;24;-1027.797,526.1595;Float;False;Property;_EmissionRGB;Emission/R/G/B;2;0;Create;True;0;0;False;0;1,1,0.5,0.5;0,0,0,0;0;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4
|
||||
Node;AmplifyShaderEditor.ClampOpNode;59;-1519.85,799.2576;Float;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.ClampOpNode;60;-1523.831,946.5353;Float;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleMultiplyOpNode;25;-1170.639,820.9329;Float;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.WireNode;37;-847.563,492.4088;Float;False;1;0;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.RangedFloatNode;26;-906.1818,853.6483;Float;False;Property;_Finalopacity;Final opacity;6;0;Create;True;0;0;False;0;1;0;0;1;0;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleMultiplyOpNode;29;-645.4576,-54.47713;Float;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleMultiplyOpNode;30;-647.9492,35.22533;Float;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleMultiplyOpNode;31;-650.4408,129.9109;Float;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.WireNode;36;-852.9051,312.1135;Float;False;1;0;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleMultiplyOpNode;27;-592.9656,567.994;Float;False;5;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.ComponentMaskNode;35;-949.0871,181.2063;Float;False;True;True;True;False;1;0;COLOR;0,0,0,0;False;1;FLOAT3;0
|
||||
Node;AmplifyShaderEditor.ComponentMaskNode;38;-997.1663,372.1856;Float;False;True;True;True;False;1;0;COLOR;0,0,0,0;False;1;FLOAT3;0
|
||||
Node;AmplifyShaderEditor.SimpleAddOpNode;33;-470.7111,16.05663;Float;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.SimpleMultiplyOpNode;34;-196.5317,159.0522;Float;False;4;4;0;FLOAT;0;False;1;FLOAT3;0,0,0;False;2;FLOAT3;0,0,0;False;3;FLOAT;0;False;1;FLOAT3;0
|
||||
Node;AmplifyShaderEditor.ClampOpNode;28;-405.2354,569.4601;Float;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;1;FLOAT;0
|
||||
Node;AmplifyShaderEditor.DynamicAppendNode;86;20.87549,331.3223;Float;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT4;0
|
||||
Node;AmplifyShaderEditor.TemplateMultiPassMasterNode;87;288.8726,328.3717;Float;False;True;2;Float;;0;7;Hovl/Particles/SlashOld;0b6a9f8b4f707c74ca64c0be8e590de0;True;SubShader 0 Pass 0;0;0;SubShader 0 Pass 0;2;True;2;5;False;-1;10;False;-1;0;1;False;-1;0;False;-1;False;False;True;2;False;-1;True;True;True;True;False;0;False;-1;False;True;2;False;-1;True;3;False;-1;False;True;4;Queue=Transparent=Queue=0;IgnoreProjector=True;RenderType=Transparent=RenderType;PreviewType=Plane;False;0;False;False;False;False;False;False;False;False;False;False;True;0;0;;0;0;Standard;0;0;1;True;False;2;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0,0,0;False;0
|
||||
WireConnection;4;0;2;0
|
||||
WireConnection;4;1;5;3
|
||||
WireConnection;7;0;4;0
|
||||
WireConnection;76;0;5;4
|
||||
WireConnection;85;0;5;1
|
||||
WireConnection;9;0;3;0
|
||||
WireConnection;9;1;76;0
|
||||
WireConnection;8;0;7;0
|
||||
WireConnection;8;1;7;0
|
||||
WireConnection;8;2;7;0
|
||||
WireConnection;8;3;7;0
|
||||
WireConnection;8;4;7;0
|
||||
WireConnection;12;0;8;0
|
||||
WireConnection;12;1;85;0
|
||||
WireConnection;10;0;9;0
|
||||
WireConnection;13;0;12;0
|
||||
WireConnection;13;1;10;0
|
||||
WireConnection;14;0;10;0
|
||||
WireConnection;16;0;13;0
|
||||
WireConnection;75;1;14;0
|
||||
WireConnection;66;0;5;2
|
||||
WireConnection;17;0;16;0
|
||||
WireConnection;17;1;75;0
|
||||
WireConnection;18;0;17;0
|
||||
WireConnection;18;1;66;0
|
||||
WireConnection;19;0;18;0
|
||||
WireConnection;54;0;19;0
|
||||
WireConnection;65;0;67;0
|
||||
WireConnection;63;0;65;0
|
||||
WireConnection;63;1;64;0
|
||||
WireConnection;55;0;54;0
|
||||
WireConnection;58;0;56;0
|
||||
WireConnection;58;1;54;0
|
||||
WireConnection;57;0;55;0
|
||||
WireConnection;57;1;56;0
|
||||
WireConnection;62;0;63;0
|
||||
WireConnection;61;1;62;0
|
||||
WireConnection;21;1;19;0
|
||||
WireConnection;59;0;57;0
|
||||
WireConnection;60;0;58;0
|
||||
WireConnection;25;0;59;0
|
||||
WireConnection;25;1;60;0
|
||||
WireConnection;25;2;61;0
|
||||
WireConnection;37;0;23;4
|
||||
WireConnection;29;0;21;1
|
||||
WireConnection;29;1;24;2
|
||||
WireConnection;30;0;21;2
|
||||
WireConnection;30;1;24;3
|
||||
WireConnection;31;0;21;3
|
||||
WireConnection;31;1;24;4
|
||||
WireConnection;36;0;22;4
|
||||
WireConnection;27;0;21;4
|
||||
WireConnection;27;1;36;0
|
||||
WireConnection;27;2;37;0
|
||||
WireConnection;27;3;25;0
|
||||
WireConnection;27;4;26;0
|
||||
WireConnection;35;0;22;0
|
||||
WireConnection;38;0;23;0
|
||||
WireConnection;33;0;29;0
|
||||
WireConnection;33;1;30;0
|
||||
WireConnection;33;2;31;0
|
||||
WireConnection;34;0;33;0
|
||||
WireConnection;34;1;35;0
|
||||
WireConnection;34;2;38;0
|
||||
WireConnection;34;3;24;1
|
||||
WireConnection;28;0;27;0
|
||||
WireConnection;86;0;34;0
|
||||
WireConnection;86;3;28;0
|
||||
WireConnection;87;0;86;0
|
||||
ASEEND*/
|
||||
//CHKSM=FA4D31BA2FF15DE956650A7BF9441DF0209E874D
|
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 60ebdfbe66389c449a414da5266da8e6
|
||||
ShaderImporter:
|
||||
externalObjects: {}
|
||||
defaultTextures: []
|
||||
nonModifiableTextures: []
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 39e9bc7c9e605c54db7922c4f5652235
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
After Width: | Height: | Size: 84 KiB |
@ -0,0 +1,106 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0d1fb353c40bd6345af42a3b4f0bdb1a
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
externalObjects: {}
|
||||
serializedVersion: 5
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 2
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 512
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 512
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
buildTarget: Android
|
||||
maxTextureSize: 512
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c865e48369a325f4784ecd8444d1ec51
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f348a2fb2f8a7fe4e82fb08818415884
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f991151302bbc8440bc158a1be7d008d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e427a3233ad87024e9480ecb6a128456
|
||||
labels:
|
||||
- cartoonfx
|
||||
- ground
|
||||
- light
|
||||
- particles
|
||||
- toon
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e6fdcf828c6e2b0449c56aec449fa3c5
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b2165fbc1d575ee4098e242f632ed259
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,66 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!850595691 &4890085278179872738
|
||||
LightingSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: CFX1 DemoSettings
|
||||
serializedVersion: 6
|
||||
m_GIWorkflowMode: 1
|
||||
m_EnableBakedLightmaps: 1
|
||||
m_EnableRealtimeLightmaps: 0
|
||||
m_RealtimeEnvironmentLighting: 1
|
||||
m_BounceScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_UsingShadowmask: 0
|
||||
m_BakeBackend: 0
|
||||
m_LightmapMaxSize: 1024
|
||||
m_BakeResolution: 50
|
||||
m_Padding: 2
|
||||
m_LightmapCompression: 0
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 0
|
||||
m_CompAOExponentDirect: 0
|
||||
m_ExtractAO: 0
|
||||
m_MixedBakeMode: 1
|
||||
m_LightmapsBakeMode: 1
|
||||
m_FilterMode: 1
|
||||
m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ExportTrainingData: 0
|
||||
m_TrainingDataDestination: TrainingData
|
||||
m_RealtimeResolution: 1
|
||||
m_ForceWhiteAlbedo: 0
|
||||
m_ForceUpdates: 0
|
||||
m_FinalGather: 0
|
||||
m_FinalGatherRayCount: 1024
|
||||
m_FinalGatherFiltering: 1
|
||||
m_PVRCulling: 1
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 512
|
||||
m_PVREnvironmentSampleCount: 512
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_LightProbeSampleCountMultiplier: 4
|
||||
m_PVRBounces: 2
|
||||
m_PVRMinBounces: 2
|
||||
m_PVREnvironmentImportanceSampling: 0
|
||||
m_PVRFilteringMode: 2
|
||||
m_PVRDenoiserTypeDirect: 0
|
||||
m_PVRDenoiserTypeIndirect: 0
|
||||
m_PVRDenoiserTypeAO: 0
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 5
|
||||
m_PVRFilteringGaussRadiusAO: 2
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_PVRTiledBaking: 0
|
||||
m_NumRaysToShootPerTexel: -1
|
||||
m_RespectSceneVisibilityWhenBakingGI: 0
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bada21239a0529b439536bfd0e91c874
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 4890085278179872738
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7a7171bf41aeb6949b08451fbcd42dd7
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ef74fe7f8dfc6894481d107231650819
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d56b3c7055d81cb44803b5d7db4b65e0
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2076145b3bfdcca4193bfd3effd1400f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 086093bf5c1cde94a82a35d3a10ed3cb
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3e4d2179e984b8a40ae871f7f984ce54
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0c6b44bc1c4ff034b907d51d04682992
|
||||
timeCreated: 1504799664
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 100100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d9ff999f14db2c44ea3d654f7f7304ab
|
||||
timeCreated: 1504799663
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 100100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7b6bf11867d5895459390f7a4fb45b5e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a6ef903b479ca2645b849fa01c6a7d63
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ddc205c0c8c9eca43be1bdcb38ef42e7
|
||||
timeCreated: 1504707645
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 100100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e3618e313855e4f40a25641960b2326e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8d630e3da9ae7674d95c236d1daf8b79
|
||||
labels:
|
||||
- CartoonFX
|
||||
- Toon
|
||||
- Particles
|
||||
- Ball
|
||||
- Fire
|
||||
NativeFormatImporter:
|
||||
userData:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 472d68cea808e2e4ba2a8d7b9ea3b6ff
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 26bca93eeb22b2946a9e4a559e4cb465
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,148 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
// Script handling the Demo scene of CartoonFX particles.
|
||||
public class CFX2_Demo : MonoBehaviour
|
||||
{
|
||||
public bool orderedSpawns = true;
|
||||
public float step = 1.0f;
|
||||
public float range = 5.0f;
|
||||
private float order = -5.0f;
|
||||
|
||||
public Material groundMat, waterMat;
|
||||
public GameObject[] ParticleExamples;
|
||||
|
||||
private int exampleIndex;
|
||||
private string randomSpawnsDelay = "0.5";
|
||||
private bool randomSpawns;
|
||||
|
||||
private bool slowMo;
|
||||
|
||||
void OnMouseDown()
|
||||
{
|
||||
RaycastHit hit = new RaycastHit();
|
||||
if(this.GetComponent<Collider>().Raycast(Camera.main.ScreenPointToRay(Input.mousePosition), out hit, 9999f))
|
||||
{
|
||||
GameObject particle = spawnParticle();
|
||||
particle.transform.position = hit.point + particle.transform.position;
|
||||
}
|
||||
}
|
||||
|
||||
private GameObject spawnParticle()
|
||||
{
|
||||
GameObject particles = (GameObject)Instantiate(ParticleExamples[exampleIndex]);
|
||||
particles.transform.position = new Vector3(0,particles.transform.position.y,0);
|
||||
#if UNITY_3_5
|
||||
particles.SetActiveRecursively(true);
|
||||
#else
|
||||
particles.SetActive(true);
|
||||
for(int i = 0; i < particles.transform.childCount; i++)
|
||||
particles.transform.GetChild(i).gameObject.SetActive(true);
|
||||
#endif
|
||||
|
||||
return particles;
|
||||
}
|
||||
|
||||
void OnGUI()
|
||||
{
|
||||
GUILayout.BeginArea(new Rect(5,20,Screen.width-10,60));
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
GUILayout.Label("Effect");
|
||||
if(GUILayout.Button("<"))
|
||||
{
|
||||
prevParticle();
|
||||
}
|
||||
GUILayout.Label(ParticleExamples[exampleIndex].name, GUILayout.Width(210));
|
||||
if(GUILayout.Button(">"))
|
||||
{
|
||||
nextParticle();
|
||||
}
|
||||
|
||||
GUILayout.Label("Click on the ground to spawn selected particles", GUILayout.Width(150));
|
||||
|
||||
if(GUILayout.Button(CFX_Demo_RotateCamera.rotating ? "Pause Camera" : "Rotate Camera"))
|
||||
{
|
||||
CFX_Demo_RotateCamera.rotating = !CFX_Demo_RotateCamera.rotating;
|
||||
}
|
||||
|
||||
if(GUILayout.Button(randomSpawns ? "Stop Random Spawns" : "Start Random Spawns", GUILayout.Width(140)))
|
||||
{
|
||||
randomSpawns = !randomSpawns;
|
||||
if(randomSpawns) StartCoroutine("RandomSpawnsCoroutine");
|
||||
else StopCoroutine("RandomSpawnsCoroutine");
|
||||
}
|
||||
|
||||
randomSpawnsDelay = GUILayout.TextField(randomSpawnsDelay, 10, GUILayout.Width(42));
|
||||
randomSpawnsDelay = Regex.Replace(randomSpawnsDelay, @"[^0-9.]", "");
|
||||
|
||||
if(GUILayout.Button(this.GetComponent<Renderer>().enabled ? "Hide Ground" : "Show Ground", GUILayout.Width(90)))
|
||||
{
|
||||
this.GetComponent<Renderer>().enabled = !this.GetComponent<Renderer>().enabled;
|
||||
}
|
||||
|
||||
if(GUILayout.Button(slowMo ? "Normal Speed" : "Slow Motion", GUILayout.Width(100)))
|
||||
{
|
||||
slowMo = !slowMo;
|
||||
if(slowMo) Time.timeScale = 0.33f;
|
||||
else Time.timeScale = 1.0f;
|
||||
}
|
||||
|
||||
GUILayout.EndHorizontal();
|
||||
GUILayout.EndArea();
|
||||
}
|
||||
|
||||
IEnumerator RandomSpawnsCoroutine()
|
||||
{
|
||||
|
||||
LOOP:
|
||||
GameObject particles = spawnParticle();
|
||||
|
||||
if(orderedSpawns)
|
||||
{
|
||||
particles.transform.position = this.transform.position + new Vector3(order,particles.transform.position.y,0);
|
||||
order -= step;
|
||||
if(order < -range) order = range;
|
||||
}
|
||||
else particles.transform.position = this.transform.position + new Vector3(Random.Range(-range,range),0,Random.Range(-range,range)) + new Vector3(0,particles.transform.position.y,0);
|
||||
|
||||
yield return new WaitForSeconds(float.Parse(randomSpawnsDelay));
|
||||
|
||||
goto LOOP;
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
if(Input.GetKeyDown(KeyCode.LeftArrow))
|
||||
{
|
||||
prevParticle();
|
||||
}
|
||||
else if(Input.GetKeyDown(KeyCode.RightArrow))
|
||||
{
|
||||
nextParticle();
|
||||
}
|
||||
}
|
||||
|
||||
private void prevParticle()
|
||||
{
|
||||
exampleIndex--;
|
||||
if(exampleIndex < 0) exampleIndex = ParticleExamples.Length - 1;
|
||||
|
||||
if(ParticleExamples[exampleIndex].name.Contains("Splash") || ParticleExamples[exampleIndex].name.Contains("Skim"))
|
||||
this.GetComponent<Renderer>().material = waterMat;
|
||||
else
|
||||
this.GetComponent<Renderer>().material = groundMat;
|
||||
}
|
||||
private void nextParticle()
|
||||
{
|
||||
exampleIndex++;
|
||||
if(exampleIndex >= ParticleExamples.Length) exampleIndex = 0;
|
||||
|
||||
if(ParticleExamples[exampleIndex].name.Contains("Splash") || ParticleExamples[exampleIndex].name.Contains("Skim"))
|
||||
this.GetComponent<Renderer>().material = waterMat;
|
||||
else
|
||||
this.GetComponent<Renderer>().material = groundMat;
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b89446a500d6ec54788d5bd056a68979
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,38 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
// Cartoon FX - (c) 2015 Jean Moreno
|
||||
//
|
||||
// Script handling looped effect in the Demo Scene, so that they eventually stop
|
||||
|
||||
[RequireComponent(typeof(ParticleSystem))]
|
||||
public class CFX_AutoStopLoopedEffect : MonoBehaviour
|
||||
{
|
||||
public float effectDuration = 2.5f;
|
||||
private float d;
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
d = effectDuration;
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
if(d > 0)
|
||||
{
|
||||
d -= Time.deltaTime;
|
||||
if(d <= 0)
|
||||
{
|
||||
this.GetComponent<ParticleSystem>().Stop(true);
|
||||
|
||||
CFX_Demo_Translate translation = this.gameObject.GetComponent<CFX_Demo_Translate>();
|
||||
if(translation != null)
|
||||
{
|
||||
translation.enabled = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d9c4e89389fa607479b0744ec6611490
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
@ -0,0 +1,191 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
// Cartoon FX - (c) 2015 Jean Moreno
|
||||
|
||||
// Script handling the Demo scene of CartoonFX particles.
|
||||
|
||||
public class CFX_Demo : MonoBehaviour
|
||||
{
|
||||
public bool orderedSpawns = true;
|
||||
public float step = 1.0f;
|
||||
public float range = 5.0f;
|
||||
private float order = -5.0f;
|
||||
|
||||
public Material groundMat, waterMat;
|
||||
public GameObject[] ParticleExamples;
|
||||
|
||||
private Dictionary<string,float> ParticlesYOffsetD = new Dictionary<string, float>
|
||||
{
|
||||
{"CFX_ElectricGround", 0.15f},
|
||||
{"CFX_ElectricityBall", 1.0f},
|
||||
{"CFX_ElectricityBolt", 1.0f},
|
||||
{"CFX_Explosion", 2.0f},
|
||||
{"CFX_SmallExplosion", 1.5f},
|
||||
{"CFX_SmokeExplosion", 2.5f},
|
||||
{"CFX_Flame", 1.0f},
|
||||
{"CFX_DoubleFlame", 1.0f},
|
||||
{"CFX_Hit", 1.0f},
|
||||
{"CFX_CircularLightWall", 0.05f},
|
||||
{"CFX_LightWall", 0.05f},
|
||||
{"CFX_Flash", 2.0f},
|
||||
{"CFX_Poof", 1.5f},
|
||||
{"CFX_Virus", 1.0f},
|
||||
{"CFX_SmokePuffs", 2.0f},
|
||||
{"CFX_Slash", 1.0f},
|
||||
{"CFX_Splash", 0.05f},
|
||||
{"CFX_Fountain", 0.05f},
|
||||
{"CFX_Ripple", 0.05f},
|
||||
{"CFX_Magic", 2.0f},
|
||||
{"CFX_SoftStar", 1.0f},
|
||||
{"CFX_SpikyAura_Sphere", 1.0f},
|
||||
{"CFX_Firework", 2.4f},
|
||||
{"CFX_GroundA", 0.05f},
|
||||
};
|
||||
|
||||
private int exampleIndex;
|
||||
private string randomSpawnsDelay = "0.5";
|
||||
private bool randomSpawns;
|
||||
|
||||
private bool slowMo;
|
||||
|
||||
void OnMouseDown()
|
||||
{
|
||||
RaycastHit hit = new RaycastHit();
|
||||
if(this.GetComponent<Collider>().Raycast(Camera.main.ScreenPointToRay(Input.mousePosition), out hit, 9999f))
|
||||
{
|
||||
GameObject particle = spawnParticle();
|
||||
particle.transform.position = hit.point + particle.transform.position;
|
||||
}
|
||||
}
|
||||
|
||||
private GameObject spawnParticle()
|
||||
{
|
||||
GameObject particles = (GameObject)Instantiate(ParticleExamples[exampleIndex]);
|
||||
|
||||
#if UNITY_3_5
|
||||
particles.SetActiveRecursively(true);
|
||||
#else
|
||||
particles.SetActive(true);
|
||||
for(int i = 0; i < particles.transform.childCount; i++)
|
||||
particles.transform.GetChild(i).gameObject.SetActive(true);
|
||||
#endif
|
||||
|
||||
float Y = 0.0f;
|
||||
foreach(KeyValuePair<string,float> kvp in ParticlesYOffsetD)
|
||||
{
|
||||
if(particles.name.StartsWith(kvp.Key))
|
||||
{
|
||||
Y = kvp.Value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
particles.transform.position = new Vector3(0,Y,0);
|
||||
|
||||
return particles;
|
||||
}
|
||||
|
||||
void OnGUI()
|
||||
{
|
||||
GUILayout.BeginArea(new Rect(5,20,Screen.width-10,30));
|
||||
GUILayout.BeginHorizontal();
|
||||
|
||||
GUILayout.Label("Effect", GUILayout.Width(50));
|
||||
if(GUILayout.Button("<",GUILayout.Width(20)))
|
||||
{
|
||||
prevParticle();
|
||||
}
|
||||
GUILayout.Label(ParticleExamples[exampleIndex].name, GUILayout.Width(190));
|
||||
if(GUILayout.Button(">",GUILayout.Width(20)))
|
||||
{
|
||||
nextParticle();
|
||||
}
|
||||
|
||||
GUILayout.Label("Click on the ground to spawn selected particles");
|
||||
|
||||
if(GUILayout.Button(CFX_Demo_RotateCamera.rotating ? "Pause Camera" : "Rotate Camera", GUILayout.Width(140)))
|
||||
{
|
||||
CFX_Demo_RotateCamera.rotating = !CFX_Demo_RotateCamera.rotating;
|
||||
}
|
||||
|
||||
|
||||
if(GUILayout.Button(randomSpawns ? "Stop Random Spawns" : "Start Random Spawns", GUILayout.Width(140)))
|
||||
{
|
||||
randomSpawns = !randomSpawns;
|
||||
if(randomSpawns) StartCoroutine("RandomSpawnsCoroutine");
|
||||
else StopCoroutine("RandomSpawnsCoroutine");
|
||||
}
|
||||
|
||||
randomSpawnsDelay = GUILayout.TextField(randomSpawnsDelay, 10, GUILayout.Width(42));
|
||||
randomSpawnsDelay = Regex.Replace(randomSpawnsDelay, @"[^0-9.]", "");
|
||||
|
||||
if(GUILayout.Button(this.GetComponent<Renderer>().enabled ? "Hide Ground" : "Show Ground", GUILayout.Width(90)))
|
||||
{
|
||||
this.GetComponent<Renderer>().enabled = !this.GetComponent<Renderer>().enabled;
|
||||
}
|
||||
|
||||
if(GUILayout.Button(slowMo ? "Normal Speed" : "Slow Motion", GUILayout.Width(100)))
|
||||
{
|
||||
slowMo = !slowMo;
|
||||
if(slowMo) Time.timeScale = 0.33f;
|
||||
else Time.timeScale = 1.0f;
|
||||
}
|
||||
|
||||
GUILayout.EndHorizontal();
|
||||
GUILayout.EndArea();
|
||||
}
|
||||
|
||||
IEnumerator RandomSpawnsCoroutine()
|
||||
{
|
||||
|
||||
LOOP:
|
||||
GameObject particles = spawnParticle();
|
||||
|
||||
if(orderedSpawns)
|
||||
{
|
||||
particles.transform.position = this.transform.position + new Vector3(order,particles.transform.position.y,0);
|
||||
order -= step;
|
||||
if(order < -range) order = range;
|
||||
}
|
||||
else particles.transform.position = this.transform.position + new Vector3(Random.Range(-range,range),0,Random.Range(-range,range)) + new Vector3(0,particles.transform.position.y,0);
|
||||
|
||||
yield return new WaitForSeconds(float.Parse(randomSpawnsDelay));
|
||||
|
||||
goto LOOP;
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
if(Input.GetKeyDown(KeyCode.LeftArrow))
|
||||
{
|
||||
prevParticle();
|
||||
}
|
||||
else if(Input.GetKeyDown(KeyCode.RightArrow))
|
||||
{
|
||||
nextParticle();
|
||||
}
|
||||
}
|
||||
|
||||
private void prevParticle()
|
||||
{
|
||||
exampleIndex--;
|
||||
if(exampleIndex < 0) exampleIndex = ParticleExamples.Length - 1;
|
||||
|
||||
if(ParticleExamples[exampleIndex].name.Contains("Splash") || ParticleExamples[exampleIndex].name == "CFX_Ripple" || ParticleExamples[exampleIndex].name == "CFX_Fountain")
|
||||
this.GetComponent<Renderer>().material = waterMat;
|
||||
else
|
||||
this.GetComponent<Renderer>().material = groundMat;
|
||||
}
|
||||
private void nextParticle()
|
||||
{
|
||||
exampleIndex++;
|
||||
if(exampleIndex >= ParticleExamples.Length) exampleIndex = 0;
|
||||
|
||||
if(ParticleExamples[exampleIndex].name.Contains("Splash") || ParticleExamples[exampleIndex].name == "CFX_Ripple" || ParticleExamples[exampleIndex].name == "CFX_Fountain")
|
||||
this.GetComponent<Renderer>().material = waterMat;
|
||||
else
|
||||
this.GetComponent<Renderer>().material = groundMat;
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8469526271e317d469f107c0a3240521
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
@ -0,0 +1,239 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
// Cartoon FX - (c) 2015 - Jean Moreno
|
||||
//
|
||||
// Script handling the Demo scene of the Cartoon FX Packs
|
||||
|
||||
public class CFX_Demo_New : MonoBehaviour
|
||||
{
|
||||
public Renderer groundRenderer;
|
||||
public Collider groundCollider;
|
||||
[Space]
|
||||
[Space]
|
||||
public Image slowMoBtn;
|
||||
public Text slowMoLabel;
|
||||
public Image camRotBtn;
|
||||
public Text camRotLabel;
|
||||
public Image groundBtn;
|
||||
public Text groundLabel;
|
||||
[Space]
|
||||
public Text EffectLabel;
|
||||
public Text EffectIndexLabel;
|
||||
|
||||
//-------------------------------------------------------------
|
||||
|
||||
private GameObject[] ParticleExamples;
|
||||
private int exampleIndex;
|
||||
private bool slowMo;
|
||||
private Vector3 defaultCamPosition;
|
||||
private Quaternion defaultCamRotation;
|
||||
|
||||
private List<GameObject> onScreenParticles = new List<GameObject>();
|
||||
|
||||
//-------------------------------------------------------------
|
||||
|
||||
void Awake()
|
||||
{
|
||||
List<GameObject> particleExampleList = new List<GameObject>();
|
||||
int nbChild = this.transform.childCount;
|
||||
for(int i = 0; i < nbChild; i++)
|
||||
{
|
||||
GameObject child = this.transform.GetChild(i).gameObject;
|
||||
particleExampleList.Add(child);
|
||||
}
|
||||
particleExampleList.Sort( delegate(GameObject o1, GameObject o2) { return o1.name.CompareTo(o2.name); } );
|
||||
ParticleExamples = particleExampleList.ToArray();
|
||||
|
||||
defaultCamPosition = Camera.main.transform.position;
|
||||
defaultCamRotation = Camera.main.transform.rotation;
|
||||
|
||||
StartCoroutine("CheckForDeletedParticles");
|
||||
|
||||
UpdateUI();
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
if(Input.GetKeyDown(KeyCode.LeftArrow))
|
||||
{
|
||||
prevParticle();
|
||||
}
|
||||
else if(Input.GetKeyDown(KeyCode.RightArrow))
|
||||
{
|
||||
nextParticle();
|
||||
}
|
||||
else if(Input.GetKeyDown(KeyCode.Delete))
|
||||
{
|
||||
destroyParticles();
|
||||
}
|
||||
|
||||
if(Input.GetMouseButtonDown(0))
|
||||
{
|
||||
RaycastHit hit = new RaycastHit();
|
||||
if(groundCollider.Raycast(Camera.main.ScreenPointToRay(Input.mousePosition), out hit, 9999f))
|
||||
{
|
||||
GameObject particle = spawnParticle();
|
||||
particle.transform.position = hit.point + particle.transform.position;
|
||||
}
|
||||
}
|
||||
|
||||
float scroll = Input.GetAxis("Mouse ScrollWheel");
|
||||
if(scroll != 0f)
|
||||
{
|
||||
Camera.main.transform.Translate(Vector3.forward * (scroll < 0f ? -1f : 1f), Space.Self);
|
||||
}
|
||||
|
||||
if(Input.GetMouseButtonDown(2))
|
||||
{
|
||||
Camera.main.transform.position = defaultCamPosition;
|
||||
Camera.main.transform.rotation = defaultCamRotation;
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// MESSAGES
|
||||
|
||||
public void OnToggleGround()
|
||||
{
|
||||
var c = Color.white;
|
||||
groundRenderer.enabled = !groundRenderer.enabled;
|
||||
c.a = groundRenderer.enabled ? 1f : 0.33f;
|
||||
groundBtn.color = c;
|
||||
groundLabel.color = c;
|
||||
}
|
||||
|
||||
public void OnToggleCamera()
|
||||
{
|
||||
var c = Color.white;
|
||||
CFX_Demo_RotateCamera.rotating = !CFX_Demo_RotateCamera.rotating;
|
||||
c.a = CFX_Demo_RotateCamera.rotating ? 1f : 0.33f;
|
||||
camRotBtn.color = c;
|
||||
camRotLabel.color = c;
|
||||
}
|
||||
|
||||
public void OnToggleSlowMo()
|
||||
{
|
||||
var c = Color.white;
|
||||
|
||||
slowMo = !slowMo;
|
||||
if(slowMo)
|
||||
{
|
||||
Time.timeScale = 0.33f;
|
||||
c.a = 1f;
|
||||
}
|
||||
else
|
||||
{
|
||||
Time.timeScale = 1.0f;
|
||||
c.a = 0.33f;
|
||||
}
|
||||
|
||||
slowMoBtn.color = c;
|
||||
slowMoLabel.color = c;
|
||||
}
|
||||
|
||||
public void OnPreviousEffect()
|
||||
{
|
||||
prevParticle();
|
||||
}
|
||||
|
||||
public void OnNextEffect()
|
||||
{
|
||||
nextParticle();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// UI
|
||||
|
||||
private void UpdateUI()
|
||||
{
|
||||
EffectLabel.text = ParticleExamples[exampleIndex].name;
|
||||
EffectIndexLabel.text = string.Format("{0}/{1}", (exampleIndex+1).ToString("00"), ParticleExamples.Length.ToString("00"));
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// SYSTEM
|
||||
|
||||
private GameObject spawnParticle()
|
||||
{
|
||||
GameObject particles = (GameObject)Instantiate(ParticleExamples[exampleIndex]);
|
||||
particles.transform.position = new Vector3(0,particles.transform.position.y,0);
|
||||
#if UNITY_3_5
|
||||
particles.SetActiveRecursively(true);
|
||||
#else
|
||||
particles.SetActive(true);
|
||||
// for(int i = 0; i < particles.transform.childCount; i++)
|
||||
// particles.transform.GetChild(i).gameObject.SetActive(true);
|
||||
#endif
|
||||
|
||||
ParticleSystem ps = particles.GetComponent<ParticleSystem>();
|
||||
|
||||
#if UNITY_5_5_OR_NEWER
|
||||
if (ps != null)
|
||||
{
|
||||
var main = ps.main;
|
||||
if (main.loop)
|
||||
{
|
||||
ps.gameObject.AddComponent<CFX_AutoStopLoopedEffect>();
|
||||
ps.gameObject.AddComponent<CFX_AutoDestructShuriken>();
|
||||
}
|
||||
}
|
||||
#else
|
||||
if(ps != null && ps.loop)
|
||||
{
|
||||
ps.gameObject.AddComponent<CFX_AutoStopLoopedEffect>();
|
||||
ps.gameObject.AddComponent<CFX_AutoDestructShuriken>();
|
||||
}
|
||||
#endif
|
||||
|
||||
onScreenParticles.Add(particles);
|
||||
|
||||
return particles;
|
||||
}
|
||||
|
||||
IEnumerator CheckForDeletedParticles()
|
||||
{
|
||||
while(true)
|
||||
{
|
||||
yield return new WaitForSeconds(5.0f);
|
||||
for(int i = onScreenParticles.Count - 1; i >= 0; i--)
|
||||
{
|
||||
if(onScreenParticles[i] == null)
|
||||
{
|
||||
onScreenParticles.RemoveAt(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void prevParticle()
|
||||
{
|
||||
exampleIndex--;
|
||||
if(exampleIndex < 0) exampleIndex = ParticleExamples.Length - 1;
|
||||
|
||||
UpdateUI();
|
||||
}
|
||||
private void nextParticle()
|
||||
{
|
||||
exampleIndex++;
|
||||
if(exampleIndex >= ParticleExamples.Length) exampleIndex = 0;
|
||||
|
||||
UpdateUI();
|
||||
}
|
||||
|
||||
private void destroyParticles()
|
||||
{
|
||||
for(int i = onScreenParticles.Count - 1; i >= 0; i--)
|
||||
{
|
||||
if(onScreenParticles[i] != null)
|
||||
{
|
||||
GameObject.Destroy(onScreenParticles[i]);
|
||||
}
|
||||
|
||||
onScreenParticles.RemoveAt(i);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8b17383a625e88348a99a6eeef772d40
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
@ -0,0 +1,16 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
// Cartoon FX - (c) 2015 Jean Moreno
|
||||
|
||||
public class CFX_Demo_RandomDir : MonoBehaviour
|
||||
{
|
||||
public Vector3 min = new Vector3(0,0,0);
|
||||
public Vector3 max = new Vector3(0,360,0);
|
||||
|
||||
void Start ()
|
||||
{
|
||||
this.transform.eulerAngles = new Vector3(Random.Range(min.x,max.x),Random.Range(min.y,max.y),Random.Range(min.z,max.z));
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 27666076fd6e86245aa62dfd9e943d6c
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
@ -0,0 +1,30 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
// Cartoon FX - (c) 2015 Jean Moreno
|
||||
|
||||
public class CFX_Demo_RandomDirectionTranslate : MonoBehaviour
|
||||
{
|
||||
public float speed = 30.0f;
|
||||
public Vector3 baseDir = Vector3.zero;
|
||||
public Vector3 axis = Vector3.forward;
|
||||
public bool gravity;
|
||||
private Vector3 dir;
|
||||
|
||||
void Start ()
|
||||
{
|
||||
dir = new Vector3(Random.Range(0.0f,360.0f),Random.Range(0.0f,360.0f),Random.Range(0.0f,360.0f)).normalized;
|
||||
dir.Scale(axis);
|
||||
dir += baseDir;
|
||||
}
|
||||
|
||||
void Update ()
|
||||
{
|
||||
this.transform.Translate(dir * speed * Time.deltaTime);
|
||||
|
||||
if(gravity)
|
||||
{
|
||||
this.transform.Translate(Physics.gravity * Time.deltaTime);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 83982eed39974834bada258fbddd1e72
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
@ -0,0 +1,18 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
// Cartoon FX - (c) 2015 Jean Moreno
|
||||
|
||||
public class CFX_Demo_RotateCamera : MonoBehaviour
|
||||
{
|
||||
static public bool rotating = true;
|
||||
|
||||
public float speed = 30.0f;
|
||||
public Transform rotationCenter;
|
||||
|
||||
void Update ()
|
||||
{
|
||||
if(rotating)
|
||||
transform.RotateAround(rotationCenter.position, Vector3.up, speed*Time.deltaTime);
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f71e90e62dfae594490eb4d9b611f930
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
@ -0,0 +1,25 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
// Cartoon FX - (c) 2015, Jean Moreno
|
||||
|
||||
public class CFX_Demo_Translate : MonoBehaviour
|
||||
{
|
||||
public float speed = 30.0f;
|
||||
public Vector3 rotation = Vector3.forward;
|
||||
public Vector3 axis = Vector3.forward;
|
||||
public bool gravity;
|
||||
private Vector3 dir;
|
||||
|
||||
void Start ()
|
||||
{
|
||||
dir = new Vector3(Random.Range(0.0f,360.0f),Random.Range(0.0f,360.0f),Random.Range(0.0f,360.0f));
|
||||
dir.Scale(rotation);
|
||||
this.transform.localEulerAngles = dir;
|
||||
}
|
||||
|
||||
void Update ()
|
||||
{
|
||||
this.transform.Translate(axis * speed * Time.deltaTime, Space.Self);
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1e42ac40a6fba2e4d94a0070ef45cea1
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 87c964e7d27f4764393e36054e147f1b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5fefbc813de49524d89e5fcce98dc957
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
@ -0,0 +1,193 @@
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
using System.Collections;
|
||||
|
||||
// Cartoon FX - (c) 2012-2016 Jean Moreno
|
||||
|
||||
// CFX Spawn System Editor interface
|
||||
|
||||
[CustomEditor(typeof(CFX_SpawnSystem))]
|
||||
public class CFX_SpawnSystemEditor : Editor
|
||||
{
|
||||
private SerializedProperty _hideObjectsInHierarchy;
|
||||
private SerializedProperty p_hideObjectsInHierarchy
|
||||
{
|
||||
get
|
||||
{
|
||||
if(_hideObjectsInHierarchy == null)
|
||||
_hideObjectsInHierarchy = this.serializedObject.FindProperty("hideObjectsInHierarchy");
|
||||
return _hideObjectsInHierarchy;
|
||||
}
|
||||
}
|
||||
|
||||
private SerializedProperty _onlyGetInactiveObjects;
|
||||
private SerializedProperty p_onlyGetInactiveObjects
|
||||
{
|
||||
get
|
||||
{
|
||||
if(_onlyGetInactiveObjects == null)
|
||||
_onlyGetInactiveObjects = this.serializedObject.FindProperty("onlyGetInactiveObjects");
|
||||
return _onlyGetInactiveObjects;
|
||||
}
|
||||
}
|
||||
|
||||
private SerializedProperty _instantiateIfNeeded;
|
||||
private SerializedProperty p_instantiateIfNeeded
|
||||
{
|
||||
get
|
||||
{
|
||||
if(_instantiateIfNeeded == null)
|
||||
_instantiateIfNeeded = this.serializedObject.FindProperty("instantiateIfNeeded");
|
||||
return _instantiateIfNeeded;
|
||||
}
|
||||
}
|
||||
|
||||
private SerializedProperty _spawnAsChildren;
|
||||
private SerializedProperty p_spawnAsChildren
|
||||
{
|
||||
get
|
||||
{
|
||||
if(_spawnAsChildren == null)
|
||||
_spawnAsChildren = this.serializedObject.FindProperty("spawnAsChildren");
|
||||
return _spawnAsChildren;
|
||||
}
|
||||
}
|
||||
|
||||
private GUIContent guiContent = new GUIContent();
|
||||
private GUIContent getGuiContent(string label, string tooltip = null)
|
||||
{
|
||||
guiContent.text = label;
|
||||
guiContent.tooltip = tooltip;
|
||||
return guiContent;
|
||||
}
|
||||
|
||||
// GUI ----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
//Options
|
||||
EditorGUI.BeginChangeCheck();
|
||||
|
||||
#if UNITY_4_2
|
||||
EditorGUIUtility.LookLikeControls(230f);
|
||||
#else
|
||||
float labelWidth = EditorGUIUtility.labelWidth;
|
||||
EditorGUIUtility.labelWidth = 230f;
|
||||
#endif
|
||||
|
||||
EditorGUILayout.PropertyField(p_hideObjectsInHierarchy, getGuiContent("Hide preloaded objects in Hierarchy", "Will prevent the preloaded instances to show in the Hierarchy"));
|
||||
EditorGUILayout.PropertyField(p_spawnAsChildren, getGuiContent("Spawn as children of this GameObject", "Will place the preloaded instances under this GameObject, for better organization of the Hierarchy"));
|
||||
|
||||
EditorGUILayout.PropertyField(p_onlyGetInactiveObjects, getGuiContent("Only retrieve inactive GameObjects", "Will only return preloaded instances if they are inactive.\nThis means that you have to deactivate the GameObject before being able to reuse it\n(this is already handled on Cartoon FX effects with the CFX_AutoDestructShuriken script)"));
|
||||
bool guiEnabled = GUI.enabled;
|
||||
GUI.enabled = p_onlyGetInactiveObjects.boolValue;
|
||||
EditorGUILayout.PropertyField(p_instantiateIfNeeded, getGuiContent("Instantiate new instances if needed", "If no active GameObject is found in the preloaded list, then instantiate new ones as needed"));
|
||||
GUI.enabled = guiEnabled;
|
||||
|
||||
#if !UNITY_4_2
|
||||
EditorGUIUtility.labelWidth = labelWidth;
|
||||
#endif
|
||||
|
||||
if(EditorGUI.EndChangeCheck())
|
||||
{
|
||||
serializedObject.ApplyModifiedProperties();
|
||||
}
|
||||
|
||||
//Drag/drop Prefabs
|
||||
GUI.SetNextControlName("DragDropBox");
|
||||
EditorGUILayout.HelpBox("Drag GameObjects you want to preload here!\n\nTIP:\nUse the Inspector Lock at the top right to be able to drag multiple objects at once!", MessageType.None);
|
||||
Rect dropRect = GUILayoutUtility.GetLastRect();
|
||||
|
||||
for(int i = 0; i < (this.target as CFX_SpawnSystem).objectsToPreload.Length; i++)
|
||||
{
|
||||
GUILayout.BeginHorizontal();
|
||||
|
||||
EditorGUI.BeginChangeCheck();
|
||||
GameObject obj = (GameObject)EditorGUILayout.ObjectField((this.target as CFX_SpawnSystem).objectsToPreload[i], typeof(GameObject), true);
|
||||
if(EditorGUI.EndChangeCheck())
|
||||
{
|
||||
#if UNITY_4_2
|
||||
Undo.RegisterUndo(target, "change Spawn System object to preload");
|
||||
#else
|
||||
Undo.RecordObject(target, "change Spawn System object to preload");
|
||||
#endif
|
||||
(this.target as CFX_SpawnSystem).objectsToPreload[i] = obj;
|
||||
}
|
||||
EditorGUILayout.LabelField(new GUIContent("times","Number of times to copy the effect\nin the pool, i.e. the max number of\ntimes the object will be used\nsimultaneously"), GUILayout.Width(40));
|
||||
EditorGUI.BeginChangeCheck();
|
||||
int nb = EditorGUILayout.IntField("", (this.target as CFX_SpawnSystem).objectsToPreloadTimes[i], GUILayout.Width(50));
|
||||
if(nb < 1)
|
||||
nb = 1;
|
||||
if(EditorGUI.EndChangeCheck())
|
||||
{
|
||||
#if UNITY_4_2
|
||||
Undo.RegisterUndo(target, "change Spawn System preload count");
|
||||
#else
|
||||
Undo.RecordObject(target, "change Spawn System preload count");
|
||||
#endif
|
||||
(this.target as CFX_SpawnSystem).objectsToPreloadTimes[i] = nb;
|
||||
}
|
||||
|
||||
if(GUI.changed)
|
||||
{
|
||||
EditorUtility.SetDirty(target);
|
||||
}
|
||||
|
||||
if(GUILayout.Button("X", EditorStyles.miniButton, GUILayout.Width(24)))
|
||||
{
|
||||
Object preloadedObject = (this.target as CFX_SpawnSystem).objectsToPreload[i];
|
||||
string objectName = (preloadedObject == null) ? "" : preloadedObject.name;
|
||||
#if UNITY_4_2
|
||||
Undo.RegisterUndo(target, string.Format("remove {0} from Spawn System", objectName));
|
||||
#else
|
||||
Undo.RecordObject(target, string.Format("remove {0} from Spawn System", objectName));
|
||||
#endif
|
||||
ArrayUtility.RemoveAt<GameObject>(ref (this.target as CFX_SpawnSystem).objectsToPreload, i);
|
||||
ArrayUtility.RemoveAt<int>(ref (this.target as CFX_SpawnSystem).objectsToPreloadTimes, i);
|
||||
|
||||
EditorUtility.SetDirty(target);
|
||||
}
|
||||
|
||||
GUILayout.EndHorizontal();
|
||||
}
|
||||
|
||||
if((Event.current.type == EventType.DragPerform || Event.current.type == EventType.DragUpdated)
|
||||
&& dropRect.Contains(Event.current.mousePosition))
|
||||
{
|
||||
DragAndDrop.visualMode = DragAndDropVisualMode.Copy;
|
||||
|
||||
if(Event.current.type == EventType.DragPerform)
|
||||
{
|
||||
foreach(Object o in DragAndDrop.objectReferences)
|
||||
{
|
||||
if(o is GameObject)
|
||||
{
|
||||
bool already = false;
|
||||
foreach(GameObject otherObj in (this.target as CFX_SpawnSystem).objectsToPreload)
|
||||
{
|
||||
if(o == otherObj)
|
||||
{
|
||||
already = true;
|
||||
Debug.LogWarning("CFX_SpawnSystem: Object has already been added: " + o.name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(!already)
|
||||
{
|
||||
#if UNITY_4_2
|
||||
Undo.RegisterUndo(target, string.Format("add {0} to Spawn System", o.name));
|
||||
#else
|
||||
Undo.RecordObject(target, string.Format("add {0} to Spawn System", o.name));
|
||||
#endif
|
||||
ArrayUtility.Add<GameObject>(ref (this.target as CFX_SpawnSystem).objectsToPreload, (GameObject)o);
|
||||
ArrayUtility.Add<int>(ref (this.target as CFX_SpawnSystem).objectsToPreloadTimes, 1);
|
||||
|
||||
EditorUtility.SetDirty(target);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a20330d93336f2245901dbd9a34b88f8
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e1a4e99f62e1b4b40ac0a423acf7c903
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 87d63f8e8fee02f4bb750ed717e60ebf
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,28 @@
|
||||
%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: CFXM3_AuraRays ADD
|
||||
m_Shader: {fileID: 10720, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: 13807a919991cfe44b57d7db2be003d8, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _InvFade: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 77e3cbacb5b834b42a5ccfe9ad151923
|
||||
NativeFormatImporter:
|
||||
userData:
|
@ -0,0 +1,31 @@
|
||||
%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: CFXM3_GlowDot ADD
|
||||
m_Shader: {fileID: 10720, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: ae3fa1042e1f4b245970c609dd6952c4, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _InvFade: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _TintColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
--- !u!1002 &2100001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 64787e354b16ddf41ab85b12fe15dbff
|
||||
NativeFormatImporter:
|
||||
userData:
|
@ -0,0 +1,28 @@
|
||||
%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: CFXM3_GlowStar ADD
|
||||
m_Shader: {fileID: 10720, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: 6cfb04d83be10e549887ebb5340a46f9, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _InvFade: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0053b65302e6f7649b1c013c4c41906b
|
||||
NativeFormatImporter:
|
||||
userData:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a6f7d0d209faadf4a8689fea1929013e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,28 @@
|
||||
%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: CFXM3_IceBulk ADD
|
||||
m_Shader: {fileID: 10720, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: 8ec934b6b46a3424c961170abc530b6f, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _InvFade: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.23529412}
|
@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b85bac8660bfec243b2385f00819aa04
|
||||
NativeFormatImporter:
|
||||
userData:
|
@ -0,0 +1,28 @@
|
||||
%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: CFXM3_IceSmoke ADD
|
||||
m_Shader: {fileID: 10720, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: 8d5678f01a805b84eafa29e231b62e70, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _InvFade: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.23529412}
|
@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0bae96837733cfe40ad617e2bc581c34
|
||||
NativeFormatImporter:
|
||||
userData:
|
@ -0,0 +1,31 @@
|
||||
%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: CFXM3_IceSmoke Intense ADD
|
||||
m_Shader: {fileID: 10720, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: 8d5678f01a805b84eafa29e231b62e70, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _InvFade: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _TintColor: {r: 1, g: 1, b: 1, a: 0.5019608}
|
||||
--- !u!1002 &2100001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dbc0726520a1c2a4ea1190e959325a4b
|
||||
NativeFormatImporter:
|
||||
userData:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8c0b7ddf850d2c7449a1ae688cdb0378
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4eec49c450c64394b93925a83d0bf149
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,30 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: CFX_Anim_Electricity_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:
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: 67b0a4cd4c72b86469e7ca179598fcaf, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _InvFade: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _TintColor: {r: 1, g: 1, b: 1, a: 0.5}
|
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fcb97c6faf083ca4f978210036f3832b
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 545d633ab98aa144bae8082018b89e3b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,35 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 3
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: CFX_ElectricBolt_Add
|
||||
m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 2
|
||||
m_TexEnvs:
|
||||
data:
|
||||
first:
|
||||
name: _MainTex
|
||||
second:
|
||||
m_Texture: {fileID: 2800000, guid: 347a4af640f58824d8438fae9b34a012, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
data:
|
||||
first:
|
||||
name: _InvFade
|
||||
second: 1
|
||||
m_Colors:
|
||||
data:
|
||||
first:
|
||||
name: _Color
|
||||
second: {r: 1, g: 1, b: 1, a: 1}
|
||||
data:
|
||||
first:
|
||||
name: _TintColor
|
||||
second: {r: .5, g: .5, b: .5, a: .5}
|
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9c36c09a0f6dd93458248f001ebce5ab
|
@ -0,0 +1,35 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 3
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: CFX_Sparkles_Add
|
||||
m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 2
|
||||
m_TexEnvs:
|
||||
data:
|
||||
first:
|
||||
name: _MainTex
|
||||
second:
|
||||
m_Texture: {fileID: 2800000, guid: a070c34b838259a4eb4338c1c5b753b3, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
data:
|
||||
first:
|
||||
name: _InvFade
|
||||
second: 1
|
||||
m_Colors:
|
||||
data:
|
||||
first:
|
||||
name: _Color
|
||||
second: {r: 1, g: 1, b: 1, a: 1}
|
||||
data:
|
||||
first:
|
||||
name: _TintColor
|
||||
second: {r: .5, g: .5, b: .5, a: .5}
|
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f70f45ac7c9fb644c9a039b7d3aab297
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5cb03706999b64a41b7ba7bd06d80b59
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,31 @@
|
||||
%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: CFX3_FireBulk ADD
|
||||
m_Shader: {fileID: 4800000, guid: bccaaca1f83315c4aad8d95e28fd9149, type: 3}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: e6d1dbabd3135d546b6c48db6a6879f3, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _InvFade: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.23529412}
|
||||
--- !u!1002 &2100001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue