Added particle effects after hitting big trees on CaveEntrance map
This commit is contained in:
parent
62c87d1cb6
commit
f51b53df4e
@ -63,6 +63,7 @@
|
|||||||
<Compile Include="Assets\Scripts\PlayerPosition.cs" />
|
<Compile Include="Assets\Scripts\PlayerPosition.cs" />
|
||||||
<Compile Include="Assets\Scripts\Chest\ChestSlot.cs" />
|
<Compile Include="Assets\Scripts\Chest\ChestSlot.cs" />
|
||||||
<Compile Include="Assets\Scripts\CamerFollow.cs" />
|
<Compile Include="Assets\Scripts\CamerFollow.cs" />
|
||||||
|
<Compile Include="Assets\TreeParticleEffect.cs" />
|
||||||
<Compile Include="Assets\SaveMusicSettings.cs" />
|
<Compile Include="Assets\SaveMusicSettings.cs" />
|
||||||
<Compile Include="Assets\Scripts\Equipment\EquipmentSlot.cs" />
|
<Compile Include="Assets\Scripts\Equipment\EquipmentSlot.cs" />
|
||||||
<Compile Include="Assets\Scripts\DealDamage.cs" />
|
<Compile Include="Assets\Scripts\DealDamage.cs" />
|
||||||
@ -677,94 +678,94 @@
|
|||||||
<HintPath>C:/Program Files/Unity/Hub/Editor/2020.3.32f1/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Xml.Serialization.dll</HintPath>
|
<HintPath>C:/Program Files/Unity/Hub/Editor/2020.3.32f1/Editor/Data/NetStandard/compat/2.0.0/shims/netfx/System.Xml.Serialization.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.Animation.Editor">
|
<Reference Include="Unity.2D.Animation.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.Animation.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.Animation.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.InternalAPIEngineBridge.001">
|
<Reference Include="Unity.InternalAPIEngineBridge.001">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.InternalAPIEngineBridge.001.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.InternalAPIEngineBridge.001.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.VSCode.Editor">
|
<Reference Include="Unity.VSCode.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.VSCode.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.VSCode.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.PixelPerfect">
|
<Reference Include="Unity.2D.PixelPerfect">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.PixelPerfect.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.PixelPerfect.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.Tilemap.Editor">
|
<Reference Include="Unity.2D.Tilemap.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.Tilemap.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.Tilemap.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="PsdPlugin">
|
<Reference Include="PsdPlugin">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/PsdPlugin.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/PsdPlugin.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.TextMeshPro.Editor">
|
<Reference Include="Unity.TextMeshPro.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.TextMeshPro.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.TextMeshPro.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.VisualStudio.Editor">
|
<Reference Include="Unity.VisualStudio.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.VisualStudio.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.VisualStudio.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.Timeline">
|
<Reference Include="Unity.Timeline">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.Timeline.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.Timeline.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.TextMeshPro">
|
<Reference Include="Unity.TextMeshPro">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.TextMeshPro.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.TextMeshPro.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.IK.Editor">
|
<Reference Include="Unity.2D.IK.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.IK.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.IK.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.Sprite.Editor">
|
<Reference Include="Unity.2D.Sprite.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.Sprite.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.Sprite.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.Psdimporter.Editor">
|
<Reference Include="Unity.2D.Psdimporter.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.Psdimporter.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.Psdimporter.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.Path.Editor">
|
<Reference Include="Unity.2D.Path.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.Path.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.Path.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.InternalAPIEditorBridge.001">
|
<Reference Include="Unity.InternalAPIEditorBridge.001">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.InternalAPIEditorBridge.001.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.InternalAPIEditorBridge.001.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UnityEditor.UI">
|
<Reference Include="UnityEditor.UI">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/UnityEditor.UI.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/UnityEditor.UI.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.PlasticSCM.Editor">
|
<Reference Include="Unity.PlasticSCM.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.PlasticSCM.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.PlasticSCM.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.Rider.Editor">
|
<Reference Include="Unity.Rider.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.Rider.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.Rider.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="UnityEngine.UI">
|
<Reference Include="UnityEngine.UI">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/UnityEngine.UI.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/UnityEngine.UI.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.Mathematics">
|
<Reference Include="Unity.Mathematics">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.Mathematics.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.Mathematics.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.IK.Runtime">
|
<Reference Include="Unity.2D.IK.Runtime">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.IK.Runtime.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.IK.Runtime.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.Animation.Triangle.Runtime">
|
<Reference Include="Unity.2D.Animation.Triangle.Runtime">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.Animation.Triangle.Runtime.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.Animation.Triangle.Runtime.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.Animation.Runtime">
|
<Reference Include="Unity.2D.Animation.Runtime">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.Animation.Runtime.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.Animation.Runtime.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.PixelPerfect.Editor">
|
<Reference Include="Unity.2D.PixelPerfect.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.PixelPerfect.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.PixelPerfect.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.Timeline.Editor">
|
<Reference Include="Unity.Timeline.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.Timeline.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.Timeline.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.Mathematics.Editor">
|
<Reference Include="Unity.Mathematics.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.Mathematics.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.Mathematics.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.Common.Runtime">
|
<Reference Include="Unity.2D.Common.Runtime">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.Common.Runtime.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.Common.Runtime.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.SpriteShape.Editor">
|
<Reference Include="Unity.2D.SpriteShape.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.SpriteShape.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.SpriteShape.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.Common.Editor">
|
<Reference Include="Unity.2D.Common.Editor">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.Common.Editor.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.Common.Editor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Unity.2D.SpriteShape.Runtime">
|
<Reference Include="Unity.2D.SpriteShape.Runtime">
|
||||||
<HintPath>C:/Users/alicj/Desktop/new/Scriptum/Library/ScriptAssemblies/Unity.2D.SpriteShape.Runtime.dll</HintPath>
|
<HintPath>C:/Users/alicj/Desktop/1/Scriptum/Library/ScriptAssemblies/Unity.2D.SpriteShape.Runtime.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
BIN
Assets/Scene Sprites/Materials/leaves1.png
Normal file
BIN
Assets/Scene Sprites/Materials/leaves1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.9 KiB |
96
Assets/Scene Sprites/Materials/leaves1.png.meta
Normal file
96
Assets/Scene Sprites/Materials/leaves1.png.meta
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2c057c5603332974fa3f627cbc77401d
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
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
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
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: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
Assets/Scene Sprites/Materials/leaves2.png
Normal file
BIN
Assets/Scene Sprites/Materials/leaves2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.9 KiB |
96
Assets/Scene Sprites/Materials/leaves2.png.meta
Normal file
96
Assets/Scene Sprites/Materials/leaves2.png.meta
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 003da0a9c3aaec4419402f0172bea3bd
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
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
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
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: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
28
Assets/TreeParticleEffect.cs
Normal file
28
Assets/TreeParticleEffect.cs
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class TreeParticleEffect : MonoBehaviour
|
||||||
|
{
|
||||||
|
|
||||||
|
public ParticleSystem collisionParticleSystem;
|
||||||
|
|
||||||
|
private void OnTriggerEnter2D(Collider2D collision)
|
||||||
|
{
|
||||||
|
if (collision.tag == "AttackHitbox")
|
||||||
|
{
|
||||||
|
var em = collisionParticleSystem.emission;
|
||||||
|
em.enabled = true;
|
||||||
|
collisionParticleSystem.Play();
|
||||||
|
StartCoroutine(Timer());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
IEnumerator Timer()
|
||||||
|
{
|
||||||
|
yield return new WaitForSeconds(2.5f);
|
||||||
|
var em = collisionParticleSystem.emission;
|
||||||
|
em.enabled = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
11
Assets/TreeParticleEffect.cs.meta
Normal file
11
Assets/TreeParticleEffect.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5b2322aae6af7364b831d5e7fb16de5b
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -30,10 +30,10 @@ EditorUserSettings:
|
|||||||
value: 22424703114646680e0b0227036c72111f1958072926337e38271427fb
|
value: 22424703114646680e0b0227036c72111f1958072926337e38271427fb
|
||||||
flags: 0
|
flags: 0
|
||||||
RecentlyUsedScenePath-8:
|
RecentlyUsedScenePath-8:
|
||||||
value: 22424703114646680e0b0227036c7c1100123d24383a273e2e2c5326ece92021
|
value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d
|
||||||
flags: 0
|
flags: 0
|
||||||
RecentlyUsedScenePath-9:
|
RecentlyUsedScenePath-9:
|
||||||
value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d
|
value: 22424703114646680e0b0227036c7c1100123d24383a273e2e2c5326ece92021
|
||||||
flags: 0
|
flags: 0
|
||||||
vcSharedLogLevel:
|
vcSharedLogLevel:
|
||||||
value: 0d5e400f0650
|
value: 0d5e400f0650
|
||||||
|
Loading…
Reference in New Issue
Block a user