Commit d12b60da authored by 13정준영's avatar 13정준영

FINAL [채보 추가 전]

parent f1508cb6
...@@ -10,10 +10,10 @@ MonoBehaviour: ...@@ -10,10 +10,10 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9da68daca0d18d643a5342861db4e4df, type: 3} m_Script: {fileID: 11500000, guid: 9da68daca0d18d643a5342861db4e4df, type: 3}
m_Name: test m_Name: Flinty
m_EditorClassIdentifier: Assembly-CSharp:Core:LevelScriptableObject m_EditorClassIdentifier:
title: test title: GUANA - Flinty
image: {fileID: 0} image: {fileID: 21300000, guid: 3f46689dbbf84964aa2f921ef9c6f954, type: 3}
bms: {fileID: -3578495943587161340, guid: 902bbdf1e37cea640b6168c6f0772ddb, type: 3} bms: {fileID: -5422510327569951277, guid: ea4f15d030099114fa228bc7b581a237, type: 3}
audioFile: {fileID: 8300000, guid: f9e42d55c607b48418a7128b95607984, type: 3} audioFile: {fileID: 8300000, guid: f530dc4c5ad528f4aaea77c31a43faff, type: 3}
offsetBarTime: 0 offsetBarTime: 0
fileFormatVersion: 2 fileFormatVersion: 2
guid: 01ec6c88fba9c7241bb2b3aabaa471e4 guid: aa539599aa7975c46b1015e7486b53e0
NativeFormatImporter: NativeFormatImporter:
externalObjects: {} externalObjects: {}
mainObjectFileID: 11400000 mainObjectFileID: 11400000
......
This diff is collapsed.
fileFormatVersion: 2 fileFormatVersion: 2
guid: f9be371db1f04ff4fbbb85708d767dc8 guid: ea4f15d030099114fa228bc7b581a237
ScriptedImporter: ScriptedImporter:
internalIDToNameTable: [] internalIDToNameTable: []
externalObjects: {} externalObjects: {}
......
fileFormatVersion: 2
guid: 3f46689dbbf84964aa2f921ef9c6f954
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
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
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
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
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 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
- serializedVersion: 3
buildTarget: Standalone
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:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2 fileFormatVersion: 2
guid: f9e42d55c607b48418a7128b95607984 guid: f530dc4c5ad528f4aaea77c31a43faff
AudioImporter: AudioImporter:
externalObjects: {} externalObjects: {}
serializedVersion: 6 serializedVersion: 6
......
...@@ -12,7 +12,7 @@ MonoBehaviour: ...@@ -12,7 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9da68daca0d18d643a5342861db4e4df, type: 3} m_Script: {fileID: 11500000, guid: 9da68daca0d18d643a5342861db4e4df, type: 3}
m_Name: Precision Strike m_Name: Precision Strike
m_EditorClassIdentifier: Assembly-CSharp:Core:LevelScriptableObject m_EditorClassIdentifier: Assembly-CSharp:Core:LevelScriptableObject
title: Precision Strike title: Lokan - Precision Strike
image: {fileID: 21300000, guid: 59df497dae69b0b42ac354c2c9ea8898, type: 3} image: {fileID: 21300000, guid: 59df497dae69b0b42ac354c2c9ea8898, type: 3}
bms: {fileID: -8350457297130525221, guid: bbd833f16d7e27749bf4697b9530280f, type: 3} bms: {fileID: -8350457297130525221, guid: bbd833f16d7e27749bf4697b9530280f, type: 3}
audioFile: {fileID: 8300000, guid: 51adb37087ebecf4d96fb77577c2312c, type: 3} audioFile: {fileID: 8300000, guid: 51adb37087ebecf4d96fb77577c2312c, type: 3}
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#00113:E1 #00113:E1
#00114:E3 #00114:E3
#00116:07
#00312:37 #00312:37
......
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9da68daca0d18d643a5342861db4e4df, type: 3}
m_Name: Rushmore
m_EditorClassIdentifier:
title: litmus* - Rush-More
image: {fileID: 21300000, guid: f3a5fcae93fcf954f91ecd2793348cc9, type: 3}
bms: {fileID: 7219287376909616792, guid: 1f803865a10491b46b6e29324d2aa651, type: 3}
audioFile: {fileID: 8300000, guid: 0db92935d12be364faf77dd30174f8a4, type: 3}
offsetBarTime: 0
fileFormatVersion: 2
guid: 375dfb75d11c4ca42b2ad473f61fc445
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

*---------------------- HEADER FIELD
#PLAYER 1
#GENRE Hybrid Trap
#TITLE Rush-More [Normal]
#ARTIST litmus*
#BPM 160
#PLAYLEVEL 5
#RANK 3
#STAGEFILE rushmore_stagefile.png
#BANNER rushmore_banner.png
#BACKBMP rushmore_backbmp.bmp
#DIFFICULTY 2
#TOTAL 260
#LNTYPE 1
#WAV01 Rushmore.wav
*---------------------- EXPANSION FIELD
#BMP01 rushmore_bga.mpg
#LNMODE 1
#PREVIEW rushmore_prev.wav
*---------------------- MAIN DATA FIELD
#00001:01
#00111:041D
#00113:00001B000000001G
#00114:MF
#00116:13
#00211:001I000400040000
#00213:0000001N
#00214:000000MC00MD0000
#00216:0000001400150000
#00311:04001B000000001G
#00313:001D
#00314:MF
#00316:13
#00411:0000000400041N00
#00413:001I000000000000
#00414:000000ME00MC0000
#00416:0000001400150000
#00511:041D
#00513:00001B000000001G
#00514:MF
#00516:13
#00611:001I000400040000
#00613:0000001N
#00614:000000MD00ME0000
#00616:0000001400150000
#00711:04001B000000001G
#00713:001D
#00714:MF
#00716:13
#00812:04040400
#00813:06070600
#00814:000000LH
#00816:000000BL
#00911:27000000280000002900002A00002B00
#00916:16
#01013:2C0000002D0000002700002800002900
#01111:2A0000002B0000002C00002D00002700
#01212:0063
#01213:0000000000006566
#01214:28000000000000000000006400000000
#01311:QHQJ
#01313:00QI0000
#01314:000000QK
#01411:QLQN
#01413:00QM0000
#01414:000000QO
#01512:QPQRQTQV
#01513:00QQ00QS00QU00QW
#01614:7G7H7I7J00000000
#01616:0000LJLK
#01711:00I2
#01713:000000I5
#01714:00I00000
#01716:18
#01811:I70000IH
#01813:00ID
#01814:00IB0000
#01911:00IK
#01913:000000IN
#01914:00II0000
#02011:IPIT0000
#02016:00000000CKCLCM00
#02111:00IY
#02113:000000J0
#02114:00IV0000
#02116:18
#02211:J4
#02212:00J9
#02213:000000JD
#02214:00J60000
#02311:00JG
#02313:000000JJ
#02314:00JE0000
#02412:CN
#02413:000000CP00000000
#02416:RT0000BI
#02511:0000000000000000000000JN00000000
#02512:000000LN00000000
#02513:LL000000000000JP
#02514:000000LM00000000JL00000000000000
#02611:JQ
#02612:00JT0000
#02613:000000JX
#02614:00JV
#02711:0000JY0000K20000
#02713:00000000000000K00000000000000000
#02714:000000K3
#02811:0008
#02812:0000K800000000BZ
#02813:0000000000BWBY00
#02814:K5
#02911:KAKD0000
#02912:00KG
#02913:00000000000000KK
#02914:0000000000000000000000KI00000000
#03012:00KR
#03013:KL000000000000KV
#03014:00000000KO000000000000KT00000000
#03111:00KX0000L0000000
#03112:000000KZ00000000
#03113:KW
#03114:00KY00L4
#03212:0063
#03213:00000065
#03214:9E9F9G9H00000000
#03311:05000D0500050C00
#03316:13
#03411:05000D05000C0D00
#03511:05000C0500050D00
#03516:13
#03611:05000C05000D0C00
#03616:0000000000FCFDFE
#03711:05
#03716:FF00FGFH00FIFJFK
#03816:FLFMFNFOFPFQFR00
#03916:FSFTFUFVFW00FXFY
#04016:00FZG0G1G215G300
#04111:2A0000002B0000002C00002D00002700
#04116:16
#04213:28000000290000002A00002B00002C00
#04311:2D000000270000002800002900002A00
#04412:0063
#04413:0000000000006566
#04414:2B000000000000000000006400000000
#04511:QYR0
#04513:00QZ0000
#04514:000000R1
#04516:0U
#04611:R2R4
#04613:00R30000
#04614:000000R5
#04616:0V
#04712:R6R8RARC
#04714:00R700R900RB00RD
#04811:00RF00RH00000000
#04813:RE00RG0000RJ00RL
#04814:0000RIRK
#04912:LV
#04916:12
#05011:07060700
#05013:04040400
#05014:000000LW
#05016:000000BI
#05111:G40000G700000000
#05112:000000000000GBGC
#05114:00G8
#05116:17
#05212:00GEGFGG00000000
#05213:00GH
#05214:000000GK
#05311:GL0000GO000000GT
#05313:000000GS
#05314:00GP
#05411:00GVGW0000000000
#05412:000000H1
#05413:000000GX00000000
#05414:00GY
#05511:G40000G700000000
#05512:00000000000000GC
#05514:0000G8GB
#05611:000000GK
#05612:00GEGFGG00000000
#05614:00GH
#05711:GL0000GS
#05713:000000GO000000GT
#05714:00GP
#05812:00GVGW000000H100
#05813:000000GX00000000
#05814:00GY
#05911:H20000H500000000
#05912:000000000000H9HA
#05914:00H6
#05916:16
#06011:000000HI
#06012:00HCHDHE00000000
#06014:00HF
#06111:HJ0000HQ
#06113:000000HM000000HR
#06114:00HN
#06211:00HW
#06213:00HTHU000000HZ00
#06214:000000HV00000000
#06311:H20000H500000000
#06312:000000000000H9HA
#06314:00H6
#06411:000000HI
#06412:00HCHDHE00000000
#06414:00HF
#06511:HJ0000HQ
#06513:000000HM000000HR
#06514:00HN
#06611:04040400
#06614:C1C1C100
#06616:0000005Y
#06711:05000D0500050C00
#06716:17
#06811:05000D05000C0D00
#06912:0500000500050000
#06913:000C000D
#07012:0500000500000000
#07013:00000C00000D0C00
#07113:0500000500050000
#07114:000D000C
#07213:0500000500000000
#07214:00000D00000C0D00
#07313:0500000500050000
#07314:000C000D
#07411:C1C1C100
#07416:0000005Z
fileFormatVersion: 2 fileFormatVersion: 2
guid: 902bbdf1e37cea640b6168c6f0772ddb guid: 1f803865a10491b46b6e29324d2aa651
ScriptedImporter: ScriptedImporter:
internalIDToNameTable: [] internalIDToNameTable: []
externalObjects: {} externalObjects: {}
...@@ -7,4 +7,4 @@ ScriptedImporter: ...@@ -7,4 +7,4 @@ ScriptedImporter:
userData: userData:
assetBundleName: assetBundleName:
assetBundleVariant: assetBundleVariant:
script: {fileID: 11500000, guid: ee6f618bc43a08e44b3b2906bfdcf282, type: 3} script: {fileID: 11500000, guid: 0c4f1437c5bc6ba40b27bb82b1967307, type: 3}
fileFormatVersion: 2
guid: 0db92935d12be364faf77dd30174f8a4
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

*---------------------- HEADER FIELD
#PLAYER 1
#GENRE Complextro
#TITLE Precision Strike
#ARTIST Lokan
#BPM 132
#PLAYLEVEL
#RANK 3
#LNTYPE 1
#WAV01 Precision Strike.wav
*---------------------- MAIN DATA FIELD
#00001:01
#00113:E1
#00114:E3
#00312:37
#00411:33
#00511:73
#00612:77
#00711:75
#00812:35
#00911:23000073
#00912:57570000
#01011:00000033
#01012:00770000
#01111:00000058
#01112:00370000
#01211:00000032
#01212:00530000
#01311:52580000
#01312:73000073
#01411:00370000
#01412:00000033
#01511:00850000
#01512:00000025
#01611:00550000
#01612:00000055
#01716:E0
#02111:78680000
#02112:00003442
#02211:66640000
#02212:00004446
#02311:5353
#02312:00570057
#02413:E00000E10000E000
#02414:E20000E30000E200
#02511:00000077
#02512:00730000
#02611:00000048
#02612:00420000
#02711:3400000000006343
#02712:00665500
#02811:00230022
#02812:0028
#02911:00474500
#02912:00750077
#03011:00000073
#03012:00370000
#03111:7200000000000053
#03112:00747678
#03212:00550000
#03311:00230077
#03312:00460000
#03411:00000048
#03412:00420000
#03511:3400000000006343
#03512:00665500
#03611:00230022
#03612:0028
#03711:00254500
#03712:00450077
#03811:00000073
#03812:00370000
#03911:7200004400002400
#03912:0000000046000026
#04011:0043000000000000
#04012:0000007700750000
#04116:02
#04513:E1000000000000E1
#04514:E3000000000000E3
#04613:E1000000000000E3
#04614:E3000000000000E1
#04713:E3E0
#04714:E1E2
#04811:8800008400006200
#04812:00000086000000000082000000000000
#04911:00640000
#04912:00006666
#04913:E2
#04914:E0
#05011:33330000
#05012:00003737
#05111:63630000
#05112:00006767
#05211:4444
#05212:00660066
#05311:00000000000000540000000000000000
#05312:00000056000000000000005600000000
#05313:E1
#05314:E3
#05411:0066
#05412:00640064
#05413:E3
#05414:E1
#05513:E1
#05514:E3
#05613:E0E2
#05614:E2E0
#05711:11130000
#05712:00001719
#05811:0002001T
#05812:001T0000
#05816:E1
#05911:00020200
#05912:001T0002
#06011:000002000000001T
#06012:001T1T00
#06111:0000001T00001T00
#06112:001T000000020000
#06211:001T
#06212:0000021T
#06213:00E10000
#06214:00E30000
#06311:0002001T
#06312:00020200
#06411:0000001T00001T00
#06412:000000001T00001T
#06511:0000001T001T0000
#06512:001T000000000000
#06611:0002001T
#06612:001T0000
#06613:E1
#06614:E3
#06711:00020200
#06712:001T0002
#06811:000002000000001T
#06812:001T1T00
#06911:0000001T00001T00
#06912:001T000000020000
#07011:021T
#07012:0002001T
#07111:02020000
#07112:00000202
#07211:0202021T
#07212:000200020002001T
#07311:0202021T
#07312:000200020002001T
#07411:02
#07413:00E10000
#07414:00E30000
fileFormatVersion: 2
guid: f3a5fcae93fcf954f91ecd2793348cc9
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
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
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
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
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 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
- serializedVersion: 3
buildTarget: Standalone
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:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
...@@ -852,6 +852,11 @@ PrefabInstance: ...@@ -852,6 +852,11 @@ PrefabInstance:
propertyPath: m_PlayOnAwake propertyPath: m_PlayOnAwake
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 2979324017569369352, guid: 0bc3245806773394592ec8829ca9d73f,
type: 3}
propertyPath: m_SizeDelta.x
value: 196.36
objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0bc3245806773394592ec8829ca9d73f, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 0bc3245806773394592ec8829ca9d73f, type: 3}
--- !u!1 &205163752 --- !u!1 &205163752
...@@ -3311,7 +3316,8 @@ MonoBehaviour: ...@@ -3311,7 +3316,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
levelList: levelList:
- {fileID: 11400000, guid: ccbc7c89d2b01a9469123e252cc2ecd6, type: 2} - {fileID: 11400000, guid: ccbc7c89d2b01a9469123e252cc2ecd6, type: 2}
- {fileID: 11400000, guid: 01ec6c88fba9c7241bb2b3aabaa471e4, type: 2} - {fileID: 11400000, guid: aa539599aa7975c46b1015e7486b53e0, type: 2}
- {fileID: 11400000, guid: 375dfb75d11c4ca42b2ad473f61fc445, type: 2}
ForwardNoteObject: {fileID: 8354046899824507576, guid: a13dadc44404fcd4f8cfb986339b1507, ForwardNoteObject: {fileID: 8354046899824507576, guid: a13dadc44404fcd4f8cfb986339b1507,
type: 3} type: 3}
EdgeNoteObjects: EdgeNoteObjects:
...@@ -3326,6 +3332,7 @@ MonoBehaviour: ...@@ -3326,6 +3332,7 @@ MonoBehaviour:
- {fileID: 5999576302179210679, guid: 39e07a022f545624db4f9f7a8480a8d3, type: 3} - {fileID: 5999576302179210679, guid: 39e07a022f545624db4f9f7a8480a8d3, type: 3}
- {fileID: 5740315542072016546, guid: e640eeafa4d7b8645b26c885d7eba308, type: 3} - {fileID: 5740315542072016546, guid: e640eeafa4d7b8645b26c885d7eba308, type: 3}
- {fileID: 6174125659501725093, guid: b8ffb5b84b254524abff419289c5adfd, type: 3} - {fileID: 6174125659501725093, guid: b8ffb5b84b254524abff419289c5adfd, type: 3}
- {fileID: 2436767802828429886, guid: 5344371414a58eb41aa267f487c5785f, type: 3}
edgeHitEffectPrefab: {fileID: 4885439205028740642, guid: 5fea3dd5a73f8574aa47be477618f7ff, edgeHitEffectPrefab: {fileID: 4885439205028740642, guid: 5fea3dd5a73f8574aa47be477618f7ff,
type: 3} type: 3}
gunSfx: {fileID: 8300000, guid: 7eb98e62c3fbe5344aa72ecad87ce5cc, type: 3} gunSfx: {fileID: 8300000, guid: 7eb98e62c3fbe5344aa72ecad87ce5cc, type: 3}
......
...@@ -23,7 +23,6 @@ public class GunBehaviour : MonoBehaviour ...@@ -23,7 +23,6 @@ public class GunBehaviour : MonoBehaviour
public void Fire() public void Fire()
{ {
Debug.Log('a');
animation.SetTrigger("Fire"); animation.SetTrigger("Fire");
particle.Emit(1); particle.Emit(1);
} }
......
...@@ -8,6 +8,8 @@ public class ReloadNoteObject : NoteObject ...@@ -8,6 +8,8 @@ public class ReloadNoteObject : NoteObject
private Transform[] cartridges = new Transform[2]; private Transform[] cartridges = new Transform[2];
[SerializeField] [SerializeField]
private Transform text; private Transform text;
private bool isDissolving = false;
private void Update() private void Update()
{ {
cartridges[0].Rotate(new Vector3(540 * Time.deltaTime, 0, 0)); cartridges[0].Rotate(new Vector3(540 * Time.deltaTime, 0, 0));
...@@ -22,53 +24,63 @@ public class ReloadNoteObject : NoteObject ...@@ -22,53 +24,63 @@ public class ReloadNoteObject : NoteObject
if (judge.type != JudgeType.Ignore) if (judge.type != JudgeType.Ignore)
{ {
if (judge.type != JudgeType.Miss) if (judge.type != JudgeType.Miss)
{ {
GameObject hitEffect = PlayEngine.inst.hitEffectPrefabs[3]; GameObject hitEffect = PlayEngine.inst.hitEffectPrefabs[3];
Instantiate(hitEffect); Instantiate(hitEffect);
gameObject.SetActive(false); StartCoroutine(DissolveRoutine(Color.blue));
}
else }
StartCoroutine(DissolveRoutine()); else {
StartCoroutine(DissolveRoutine(Color.red));
}
PlayEngine.inst.HandleNoteJudge(judge); PlayEngine.inst.HandleNoteJudge(judge);
} }
} }
private IEnumerator DissolveRoutine() private IEnumerator DissolveRoutine(Color color)
{ {
isDissolving = true;
MeshRenderer[] mrs = new MeshRenderer[]
{
cartridges[0].gameObject.GetComponent<MeshRenderer>(),
cartridges[1].gameObject.GetComponent<MeshRenderer>()
};
Material mat = new Material(Shader.Find("Unlit/Dissolve")); Material mat = new Material(Shader.Find("Unlit/Dissolve"));
MeshRenderer[] mrs = GetComponentsInChildren<MeshRenderer>();
foreach (var mr in mrs) { foreach (var mr in mrs)
mat.SetColor("_Color", Color.white); {
mat.SetColor("_Glow", (Color.red + mr.material.color) / 2); mat.SetColor("_Color", color);
mat.SetColor("_Glow", (color + mr.material.color) / 2);
mr.material = mat; mr.material = mat;
}
Texture2D noise = new Texture2D(100, 100); Texture2D noise = new Texture2D(100, 100);
float scale = UnityEngine.Random.Range(2, 5); float scale = UnityEngine.Random.Range(2, 5);
for (int i = 0; i < noise.width; ++i) for (int i = 0; i < noise.width; ++i)
{
for (int j = 0; j < noise.height; ++j)
{ {
for (int j = 0; j < noise.height; ++j) float noiseVal = Mathf.PerlinNoise(scale * i / noise.width, scale * j / noise.height);
{ noise.SetPixel(i, j, new Color(noiseVal, noiseVal, noiseVal, 1));
float noiseVal = Mathf.PerlinNoise(scale * i / noise.width, scale * j / noise.height);
noise.SetPixel(i, j, new Color(noiseVal, noiseVal, noiseVal, 1));
}
} }
noise.Apply(); }
mat.SetTexture("_NoiseTex", noise); noise.Apply();
mat.SetTexture("_NoiseTex", noise);
const float time = 0.5f; const float time = 0.5f;
for (float t = 0; t < time; t += Time.deltaTime) for (float t = 0; t < time; t += Time.deltaTime)
{ {
mat.SetFloat("_Threshold", t / time); mat.SetFloat("_Threshold", t / time);
mat.SetColor("_Color", mat.color - new Color(0, 0, 0, 2) * Time.deltaTime); mat.SetColor("_Color", mat.color - new Color(0, 0, 0, 2) * Time.deltaTime);
yield return null; yield return null;
}
mat.SetFloat("_Threshold", 1);
} }
mat.SetFloat("_Threshold", 1);
} }
public void Init() public void Init()
...@@ -87,12 +99,12 @@ public class ReloadNoteObject : NoteObject ...@@ -87,12 +99,12 @@ public class ReloadNoteObject : NoteObject
var pos = cat.localPosition; var pos = cat.localPosition;
cat.localPosition = new Vector3(pos.x, -0.25f * Mathf.Pow((remainedTime-0.01f) * 3, 4) + 1f, 1f); cat.localPosition = new Vector3(pos.x, -0.25f * Mathf.Pow((remainedTime-0.01f) * 3, 4) + 1f, 1f);
} }
if (Mathf.Abs(remainedTime) < 0.1f) if (Mathf.Abs(remainedTime) < 0.1f && !isDissolving)
{ {
foreach (var cat in cartridges) foreach (var cat in cartridges)
{ {
var renderer = cat.gameObject.GetComponent<MeshRenderer>(); var renderer = cat.gameObject.GetComponent<MeshRenderer>();
renderer.material.color = Color.Lerp(Color.white, Color.red, 1 - 4 * Mathf.Pow(remainedTime, 3)); renderer.material.color = Color.Lerp(Color.black, Color.white, 1 - 4 * Mathf.Pow(remainedTime, 3));
} }
} }
text.position = endPoint + new Vector3(0, 0, 300) * remainedTime; text.position = endPoint + new Vector3(0, 0, 300) * remainedTime;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment