Some fixes
This commit is contained in:
parent
177f01fd38
commit
1ab721a681
BIN
Assets/LoadedAssets/VFX/Sprites/AttackJoystickHandle_L.png
Normal file
BIN
Assets/LoadedAssets/VFX/Sprites/AttackJoystickHandle_L.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
132
Assets/LoadedAssets/VFX/Sprites/AttackJoystickHandle_L.png.meta
Normal file
132
Assets/LoadedAssets/VFX/Sprites/AttackJoystickHandle_L.png.meta
Normal file
@ -0,0 +1,132 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b9265207aec8a4d4fa9c4882f7186c71
|
||||
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: 0
|
||||
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
|
||||
- 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
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
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: WebGL
|
||||
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/LoadedAssets/VFX/Sprites/AttackJoystickHandle_M.png
Normal file
BIN
Assets/LoadedAssets/VFX/Sprites/AttackJoystickHandle_M.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
132
Assets/LoadedAssets/VFX/Sprites/AttackJoystickHandle_M.png.meta
Normal file
132
Assets/LoadedAssets/VFX/Sprites/AttackJoystickHandle_M.png.meta
Normal file
@ -0,0 +1,132 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c0d6e108ba063664b9f8a145d873d5d7
|
||||
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: 0
|
||||
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
|
||||
- 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
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
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: WebGL
|
||||
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/LoadedAssets/VFX/Sprites/MoveJoystickHandle_L.png
Normal file
BIN
Assets/LoadedAssets/VFX/Sprites/MoveJoystickHandle_L.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
132
Assets/LoadedAssets/VFX/Sprites/MoveJoystickHandle_L.png.meta
Normal file
132
Assets/LoadedAssets/VFX/Sprites/MoveJoystickHandle_L.png.meta
Normal file
@ -0,0 +1,132 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7326bc7501396f64a80db86c9cdc8a58
|
||||
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: 0
|
||||
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
|
||||
- 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
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
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: WebGL
|
||||
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/LoadedAssets/VFX/Sprites/MoveJoystickHandle_M.png
Normal file
BIN
Assets/LoadedAssets/VFX/Sprites/MoveJoystickHandle_M.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
132
Assets/LoadedAssets/VFX/Sprites/MoveJoystickHandle_M.png.meta
Normal file
132
Assets/LoadedAssets/VFX/Sprites/MoveJoystickHandle_M.png.meta
Normal file
@ -0,0 +1,132 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 89a9b1420ed6fb649ab9ffa562eba048
|
||||
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: 0
|
||||
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
|
||||
- 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
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
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: WebGL
|
||||
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/LoadedAssets/VFX/Sprites/ProtectionJoystickHandle_L.png
Normal file
BIN
Assets/LoadedAssets/VFX/Sprites/ProtectionJoystickHandle_L.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -0,0 +1,132 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cf291ec9abba31843bb15439910be38c
|
||||
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: 0
|
||||
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
|
||||
- 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
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
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: WebGL
|
||||
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/LoadedAssets/VFX/Sprites/ProtectionJoystickHandle_M.png
Normal file
BIN
Assets/LoadedAssets/VFX/Sprites/ProtectionJoystickHandle_M.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
@ -0,0 +1,132 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bdd65c565b23f404db19532d69ba1bc3
|
||||
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: 0
|
||||
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
|
||||
- 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
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
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: WebGL
|
||||
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:
|
@ -4919,7 +4919,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6794377120831721188}
|
||||
m_LocalRotation: {x: -0.7071068, y: -0, z: -0, w: 0.7071068}
|
||||
m_LocalPosition: {x: 0, y: 0.01, z: 0}
|
||||
m_LocalPosition: {x: 0, y: 0.05, z: 0}
|
||||
m_LocalScale: {x: 0.6, y: 0.6, z: 0.6}
|
||||
m_Children:
|
||||
- {fileID: 6799509777762142534}
|
||||
|
@ -14,7 +14,7 @@ GameObject:
|
||||
- component: {fileID: 388713782}
|
||||
- component: {fileID: 388713781}
|
||||
m_Layer: 0
|
||||
m_Name: BonusAttackContainer
|
||||
m_Name: Bonus_Att_1
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
171
Assets/Prefabs_NEW/Bonus/Bonus_Att_2.prefab
Normal file
171
Assets/Prefabs_NEW/Bonus/Bonus_Att_2.prefab
Normal file
@ -0,0 +1,171 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &4203281806542915686
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4203281806542915685}
|
||||
- component: {fileID: 5943765404306020329}
|
||||
- component: {fileID: 388713780}
|
||||
- component: {fileID: 388713782}
|
||||
- component: {fileID: 388713781}
|
||||
m_Layer: 0
|
||||
m_Name: Bonus_Att_2
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4203281806542915685
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4203281806542915686}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 1589414037594445647}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &5943765404306020329
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4203281806542915686}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: b298673af6158984f907a4f27e5524cb, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
bonus: {fileID: 11400000, guid: a0028cf2d26022e49b4e36fe0b6d38a7, type: 2}
|
||||
--- !u!54 &388713780
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4203281806542915686}
|
||||
serializedVersion: 2
|
||||
m_Mass: 1
|
||||
m_Drag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_UseGravity: 0
|
||||
m_IsKinematic: 1
|
||||
m_Interpolate: 0
|
||||
m_Constraints: 0
|
||||
m_CollisionDetection: 0
|
||||
--- !u!65 &388713782
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4203281806542915686}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 1, y: 1, z: 1}
|
||||
m_Center: {x: 0, y: 0.73, z: 0}
|
||||
--- !u!114 &388713781
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4203281806542915686}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2f3cf6346f0367543a91eb44cbb85b14, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1001 &4203281804588797499
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 4203281806542915685}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2814861375992923086, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: BonusAttack
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3157318353129748979, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_Controller
|
||||
value:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0.731
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: e2feb442e3095ec4aa195eeb2b66fb08, type: 3}
|
||||
--- !u!4 &1589414037594445647 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 4203281804588797499}
|
||||
m_PrefabAsset: {fileID: 0}
|
7
Assets/Prefabs_NEW/Bonus/Bonus_Att_2.prefab.meta
Normal file
7
Assets/Prefabs_NEW/Bonus/Bonus_Att_2.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 408a12846c122f3428ec79677a5098d1
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
171
Assets/Prefabs_NEW/Bonus/Bonus_Att_3.prefab
Normal file
171
Assets/Prefabs_NEW/Bonus/Bonus_Att_3.prefab
Normal file
@ -0,0 +1,171 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &4203281806542915686
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4203281806542915685}
|
||||
- component: {fileID: 5943765404306020329}
|
||||
- component: {fileID: 388713780}
|
||||
- component: {fileID: 388713782}
|
||||
- component: {fileID: 388713781}
|
||||
m_Layer: 0
|
||||
m_Name: Bonus_Att_3
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4203281806542915685
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4203281806542915686}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 1589414037594445647}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &5943765404306020329
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4203281806542915686}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: b298673af6158984f907a4f27e5524cb, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
bonus: {fileID: 11400000, guid: 69acfe2de9574a64d99f2e5a51989d73, type: 2}
|
||||
--- !u!54 &388713780
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4203281806542915686}
|
||||
serializedVersion: 2
|
||||
m_Mass: 1
|
||||
m_Drag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_UseGravity: 0
|
||||
m_IsKinematic: 1
|
||||
m_Interpolate: 0
|
||||
m_Constraints: 0
|
||||
m_CollisionDetection: 0
|
||||
--- !u!65 &388713782
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4203281806542915686}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 1, y: 1, z: 1}
|
||||
m_Center: {x: 0, y: 0.73, z: 0}
|
||||
--- !u!114 &388713781
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4203281806542915686}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2f3cf6346f0367543a91eb44cbb85b14, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1001 &4203281804588797499
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 4203281806542915685}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2814861375992923086, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: BonusAttack
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3157318353129748979, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_Controller
|
||||
value:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0.731
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: e2feb442e3095ec4aa195eeb2b66fb08, type: 3}
|
||||
--- !u!4 &1589414037594445647 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 3196347567083805044, guid: e2feb442e3095ec4aa195eeb2b66fb08,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 4203281804588797499}
|
||||
m_PrefabAsset: {fileID: 0}
|
7
Assets/Prefabs_NEW/Bonus/Bonus_Att_3.prefab.meta
Normal file
7
Assets/Prefabs_NEW/Bonus/Bonus_Att_3.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b54ab3cc4fa0e0a4e9d9129a859c14e0
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -14,7 +14,7 @@ GameObject:
|
||||
- component: {fileID: 685896563}
|
||||
- component: {fileID: 685896562}
|
||||
m_Layer: 0
|
||||
m_Name: BonusProtectContainer
|
||||
m_Name: Bonus_Def_1
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
7
Assets/Prefabs_NEW/Bonus/Bonus_Def_1 1.prefab.meta
Normal file
7
Assets/Prefabs_NEW/Bonus/Bonus_Def_1 1.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 41c2a57ed7ceb6d44bae37d3d7f98e75
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
171
Assets/Prefabs_NEW/Bonus/Bonus_Def_1 2.prefab
Normal file
171
Assets/Prefabs_NEW/Bonus/Bonus_Def_1 2.prefab
Normal file
@ -0,0 +1,171 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &8097115959948697207
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8097115959948697204}
|
||||
- component: {fileID: 4518760383569281139}
|
||||
- component: {fileID: 685896561}
|
||||
- component: {fileID: 685896563}
|
||||
- component: {fileID: 685896562}
|
||||
m_Layer: 0
|
||||
m_Name: Bonus_Def_1 2
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &8097115959948697204
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8097115959948697207}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 3671408027723645473}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &4518760383569281139
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8097115959948697207}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: b298673af6158984f907a4f27e5524cb, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
bonus: {fileID: 11400000, guid: 60662fc931ef80643adca7ab4b1749c1, type: 2}
|
||||
--- !u!54 &685896561
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8097115959948697207}
|
||||
serializedVersion: 2
|
||||
m_Mass: 1
|
||||
m_Drag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_UseGravity: 0
|
||||
m_IsKinematic: 1
|
||||
m_Interpolate: 0
|
||||
m_Constraints: 0
|
||||
m_CollisionDetection: 0
|
||||
--- !u!65 &685896563
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8097115959948697207}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 1, y: 1, z: 1}
|
||||
m_Center: {x: 0, y: 0.73, z: 0}
|
||||
--- !u!114 &685896562
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8097115959948697207}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2f3cf6346f0367543a91eb44cbb85b14, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1001 &3542199505056966218
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 8097115959948697204}
|
||||
m_Modifications:
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0.731
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 311211224759920785, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_Controller
|
||||
value:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 617218703874866897, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: BonusProtection
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 2f1a385431c99b64f96b9d73008ac91a, type: 3}
|
||||
--- !u!4 &3671408027723645473 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 3542199505056966218}
|
||||
m_PrefabAsset: {fileID: 0}
|
7
Assets/Prefabs_NEW/Bonus/Bonus_Def_1 2.prefab.meta
Normal file
7
Assets/Prefabs_NEW/Bonus/Bonus_Def_1 2.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d9761938130a3b94199123c8e1f2a5c6
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
171
Assets/Prefabs_NEW/Bonus/Bonus_Def_1.prefab
Normal file
171
Assets/Prefabs_NEW/Bonus/Bonus_Def_1.prefab
Normal file
@ -0,0 +1,171 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &8097115959948697207
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8097115959948697204}
|
||||
- component: {fileID: 4518760383569281139}
|
||||
- component: {fileID: 685896561}
|
||||
- component: {fileID: 685896563}
|
||||
- component: {fileID: 685896562}
|
||||
m_Layer: 0
|
||||
m_Name: Bonus_Def_1
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &8097115959948697204
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8097115959948697207}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 3671408027723645473}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &4518760383569281139
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8097115959948697207}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: b298673af6158984f907a4f27e5524cb, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
bonus: {fileID: 11400000, guid: 327731bfb192a3e45a29a41c3ba2172e, type: 2}
|
||||
--- !u!54 &685896561
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8097115959948697207}
|
||||
serializedVersion: 2
|
||||
m_Mass: 1
|
||||
m_Drag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_UseGravity: 0
|
||||
m_IsKinematic: 1
|
||||
m_Interpolate: 0
|
||||
m_Constraints: 0
|
||||
m_CollisionDetection: 0
|
||||
--- !u!65 &685896563
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8097115959948697207}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 1, y: 1, z: 1}
|
||||
m_Center: {x: 0, y: 0.73, z: 0}
|
||||
--- !u!114 &685896562
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8097115959948697207}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2f3cf6346f0367543a91eb44cbb85b14, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1001 &3542199505056966218
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 8097115959948697204}
|
||||
m_Modifications:
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0.731
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 311211224759920785, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_Controller
|
||||
value:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 617218703874866897, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: BonusProtection
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 2f1a385431c99b64f96b9d73008ac91a, type: 3}
|
||||
--- !u!4 &3671408027723645473 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 277848274172404843, guid: 2f1a385431c99b64f96b9d73008ac91a,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 3542199505056966218}
|
||||
m_PrefabAsset: {fileID: 0}
|
@ -10,7 +10,7 @@ MonoBehaviour:
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: cab700e817ae53f49be6c90d5fd5cdf5, type: 3}
|
||||
m_Name: TestAttack
|
||||
m_Name: att_bonus_1
|
||||
m_EditorClassIdentifier:
|
||||
bonusType: 0
|
||||
icon: {fileID: 21300000, guid: 3eea92b60b81945068925f98ef44b940, type: 3}
|
17
Assets/Prefabs_NEW/Bonus/att_bonus_2.asset
Normal file
17
Assets/Prefabs_NEW/Bonus/att_bonus_2.asset
Normal file
@ -0,0 +1,17 @@
|
||||
%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: cab700e817ae53f49be6c90d5fd5cdf5, type: 3}
|
||||
m_Name: att_bonus_2
|
||||
m_EditorClassIdentifier:
|
||||
bonusType: 0
|
||||
icon: {fileID: 21300000, guid: 3eea92b60b81945068925f98ef44b940, type: 3}
|
||||
bonusLevel: 1
|
8
Assets/Prefabs_NEW/Bonus/att_bonus_2.asset.meta
Normal file
8
Assets/Prefabs_NEW/Bonus/att_bonus_2.asset.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a0028cf2d26022e49b4e36fe0b6d38a7
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
17
Assets/Prefabs_NEW/Bonus/att_bonus_3.asset
Normal file
17
Assets/Prefabs_NEW/Bonus/att_bonus_3.asset
Normal file
@ -0,0 +1,17 @@
|
||||
%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: cab700e817ae53f49be6c90d5fd5cdf5, type: 3}
|
||||
m_Name: att_bonus_3
|
||||
m_EditorClassIdentifier:
|
||||
bonusType: 0
|
||||
icon: {fileID: 21300000, guid: 3eea92b60b81945068925f98ef44b940, type: 3}
|
||||
bonusLevel: 2
|
8
Assets/Prefabs_NEW/Bonus/att_bonus_3.asset.meta
Normal file
8
Assets/Prefabs_NEW/Bonus/att_bonus_3.asset.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 69acfe2de9574a64d99f2e5a51989d73
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
17
Assets/Prefabs_NEW/Bonus/def_bonus_1 1.asset
Normal file
17
Assets/Prefabs_NEW/Bonus/def_bonus_1 1.asset
Normal file
@ -0,0 +1,17 @@
|
||||
%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: cab700e817ae53f49be6c90d5fd5cdf5, type: 3}
|
||||
m_Name: def_bonus_1 1
|
||||
m_EditorClassIdentifier:
|
||||
bonusType: 1
|
||||
icon: {fileID: 21300000, guid: ebc9a94c7b8dc445eb2d8081a53db2b0, type: 3}
|
||||
bonusLevel: 2
|
8
Assets/Prefabs_NEW/Bonus/def_bonus_1 1.asset.meta
Normal file
8
Assets/Prefabs_NEW/Bonus/def_bonus_1 1.asset.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 60662fc931ef80643adca7ab4b1749c1
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
17
Assets/Prefabs_NEW/Bonus/def_bonus_1 2.asset
Normal file
17
Assets/Prefabs_NEW/Bonus/def_bonus_1 2.asset
Normal file
@ -0,0 +1,17 @@
|
||||
%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: cab700e817ae53f49be6c90d5fd5cdf5, type: 3}
|
||||
m_Name: def_bonus_1 2
|
||||
m_EditorClassIdentifier:
|
||||
bonusType: 1
|
||||
icon: {fileID: 21300000, guid: ebc9a94c7b8dc445eb2d8081a53db2b0, type: 3}
|
||||
bonusLevel: 1
|
8
Assets/Prefabs_NEW/Bonus/def_bonus_1 2.asset.meta
Normal file
8
Assets/Prefabs_NEW/Bonus/def_bonus_1 2.asset.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 327731bfb192a3e45a29a41c3ba2172e
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -10,7 +10,7 @@ MonoBehaviour:
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: cab700e817ae53f49be6c90d5fd5cdf5, type: 3}
|
||||
m_Name: TestDefend
|
||||
m_Name: def_bonus_1
|
||||
m_EditorClassIdentifier:
|
||||
bonusType: 1
|
||||
icon: {fileID: 21300000, guid: ebc9a94c7b8dc445eb2d8081a53db2b0, type: 3}
|
@ -1922,7 +1922,10 @@ MonoBehaviour:
|
||||
- {fileID: 4810627989180709430, guid: 019d55682fa91934eaf2df23b6eb055e, type: 3}
|
||||
_actionUI: {fileID: 1801060027}
|
||||
_buidAction: {fileID: 1801060031}
|
||||
_action: {fileID: 1801060034}
|
||||
_bonusController: {fileID: 1801060033}
|
||||
_buildingsPanel: {fileID: 1864843842}
|
||||
currentSelectedSlot: {fileID: 0}
|
||||
--- !u!1 &186187756 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 4991598031878838981, guid: fa5ecf8ffbe22c7459c44494cee176d9,
|
||||
@ -3392,7 +3395,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &290088160
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -5177,6 +5180,18 @@ MonoBehaviour:
|
||||
easyCaptureFor:
|
||||
checkedFor:
|
||||
isBorderTile: 0
|
||||
--- !u!114 &400993318 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 4020685152307600105, guid: eadd60cd722fbd44c9f6baf3983c5d25,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 1774177805}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1001 &401769308
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -15467,6 +15482,7 @@ GameObject:
|
||||
- component: {fileID: 1102420990}
|
||||
- component: {fileID: 1102420991}
|
||||
- component: {fileID: 1102420992}
|
||||
- component: {fileID: 1102420993}
|
||||
m_Layer: 0
|
||||
m_Name: GameManagment
|
||||
m_TagString: Untagged
|
||||
@ -15564,7 +15580,31 @@ MonoBehaviour:
|
||||
maxBonusSpwnTime: 5
|
||||
bounsPrefs:
|
||||
- {fileID: 4203281806542915686, guid: 536082ec12a94934eb7403bae5a97801, type: 3}
|
||||
- {fileID: 4203281806542915686, guid: 408a12846c122f3428ec79677a5098d1, type: 3}
|
||||
- {fileID: 4203281806542915686, guid: b54ab3cc4fa0e0a4e9d9129a859c14e0, type: 3}
|
||||
- {fileID: 8097115959948697207, guid: 41c2a57ed7ceb6d44bae37d3d7f98e75, type: 3}
|
||||
- {fileID: 8097115959948697207, guid: d9761938130a3b94199123c8e1f2a5c6, type: 3}
|
||||
- {fileID: 8097115959948697207, guid: 4a38eff5bf7424e45b29d928dfbe9f0b, type: 3}
|
||||
--- !u!114 &1102420993
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1102420987}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c0679c5c2b8366f4fa3e5bf8161fc7c3, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
_selectionTool: {fileID: 185995048}
|
||||
_actionManager: {fileID: 1801060034}
|
||||
joystickBack: {fileID: 1567393763}
|
||||
joystickHandle: {fileID: 400993318}
|
||||
joystickBackAtt: {fileID: 21300000, guid: 27666cfc7b82d7043b83edb675b4c8f7, type: 3}
|
||||
joystickHandleAtt: {fileID: 21300000, guid: c0d6e108ba063664b9f8a145d873d5d7, type: 3}
|
||||
joystickBackDef: {fileID: 21300000, guid: 109543970f07ec64fb6bfff5ae70317d, type: 3}
|
||||
joystickHandleDef: {fileID: 21300000, guid: bdd65c565b23f404db19532d69ba1bc3, type: 3}
|
||||
--- !u!1 &1114709431 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 4991598031878838981, guid: fa5ecf8ffbe22c7459c44494cee176d9,
|
||||
@ -22015,6 +22055,18 @@ PrefabInstance:
|
||||
objectReference: {fileID: 2100000, guid: 592213770db2d80419af5780e2a1d20c, type: 2}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: fa5ecf8ffbe22c7459c44494cee176d9, type: 3}
|
||||
--- !u!114 &1567393763 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 4020685150541603070, guid: eadd60cd722fbd44c9f6baf3983c5d25,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 1774177805}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1001 &1570755517
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -25468,7 +25520,7 @@ PrefabInstance:
|
||||
type: 3}
|
||||
propertyPath: m_Sprite
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: 2d446f6fe244a5a4680a4ff7dd747682,
|
||||
objectReference: {fileID: 21300000, guid: c0d6e108ba063664b9f8a145d873d5d7,
|
||||
type: 3}
|
||||
- target: {fileID: 4020685152307600106, guid: eadd60cd722fbd44c9f6baf3983c5d25,
|
||||
type: 3}
|
||||
@ -25956,6 +26008,7 @@ MonoBehaviour:
|
||||
maxBonusCount: 3
|
||||
attackBonuses: []
|
||||
protectBonuses: []
|
||||
currentSelectedBonus: {fileID: 0}
|
||||
--- !u!114 &1801060034
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -28086,8 +28139,7 @@ Transform:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1923264931}
|
||||
m_LocalRotation: {x: 0.029971035, y: -0.000000004076362, z: 0.0000000075761575,
|
||||
w: 0.9995508}
|
||||
m_LocalRotation: {x: 0.029971035, y: 0.000000004076362, z: -0.000000007576159, w: 0.9995508}
|
||||
m_LocalPosition: {x: 0, y: 0.87083435, z: -14.50833}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
@ -28794,7 +28846,7 @@ Transform:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1946816075}
|
||||
m_LocalRotation: {x: 0.5257311, y: -0.000000007318311, z: 0.000000004522964, w: 0.85065085}
|
||||
m_LocalRotation: {x: 0.5257311, y: 0.0000000073183117, z: -0.0000000045229647, w: 0.85065085}
|
||||
m_LocalPosition: {x: 0, y: 13, z: -6.5}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
@ -33375,6 +33427,12 @@ PrefabInstance:
|
||||
propertyPath: m_Name
|
||||
value: MoveJoystick
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4020685152307600105, guid: eadd60cd722fbd44c9f6baf3983c5d25,
|
||||
type: 3}
|
||||
propertyPath: m_Sprite
|
||||
value:
|
||||
objectReference: {fileID: 21300000, guid: 89a9b1420ed6fb649ab9ffa562eba048,
|
||||
type: 3}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: eadd60cd722fbd44c9f6baf3983c5d25, type: 3}
|
||||
--- !u!114 &6016135478453453714 stripped
|
||||
|
@ -189,7 +189,7 @@ public class AI_Input : MonoBehaviour
|
||||
|
||||
private void AttackEnemy(PlayerState currentEnemy)
|
||||
{
|
||||
if (currentEnemy)
|
||||
if (currentEnemy && Vector3.Distance(currentEnemy.transform.position, transform.position) < 1.1f * TileManagment.tileOffset)
|
||||
{
|
||||
//Debug.Log("startAttack");
|
||||
leftInput = Vector2.zero;
|
||||
|
@ -13,7 +13,7 @@ public class Bonus : ScriptableObject
|
||||
public void Use()
|
||||
{
|
||||
Debug.Log("Using " /*+ itemName*/);
|
||||
FindObjectOfType<PlayerBonusController>().RemoveBonus(this);
|
||||
//FindObjectOfType<PlayerBonusController>().RemoveBonus(this);
|
||||
}
|
||||
|
||||
/*public void RemoveFromInventory()
|
||||
|
@ -14,6 +14,8 @@ public class BonusCollisionController : MonoBehaviour
|
||||
if (bonusPickedUp)
|
||||
{
|
||||
Debug.Log("picked up " + gameObject.name);
|
||||
var tile = TileManagment.GetTile(transform.position);
|
||||
tile.canBuildHere = true;
|
||||
Destroy(gameObject);
|
||||
}
|
||||
}
|
||||
|
@ -33,11 +33,28 @@ public class BonusSlot : MonoBehaviour
|
||||
Inventory.instance.Remove(item);
|
||||
}*/
|
||||
|
||||
public Bonus GetItem()
|
||||
{
|
||||
return _item;
|
||||
}
|
||||
|
||||
public void UseItem()
|
||||
{
|
||||
if (_item != null)
|
||||
{
|
||||
_item.Use();
|
||||
|
||||
//_item.Use();
|
||||
var buildTool = FindObjectOfType<BuildingSelectionTool>();
|
||||
buildTool.currentSelectedSlot = this;
|
||||
if (_item.bonusType == BonusType.Attack)
|
||||
{
|
||||
buildTool.OnAttackBonusClick(_item.bonusLevel);
|
||||
}
|
||||
else
|
||||
{
|
||||
buildTool.OnSelectButtonClick(_item.bonusLevel);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
27
Assets/Scripts/Bonus/BonusVisuals.cs
Normal file
27
Assets/Scripts/Bonus/BonusVisuals.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class BonusVisuals : MonoBehaviour
|
||||
{
|
||||
public Bonus bonus;
|
||||
|
||||
private float aliveTime = 5f;
|
||||
|
||||
private float spawnTime;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
spawnTime = Time.time;
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (Time.time > spawnTime + aliveTime)
|
||||
{
|
||||
var tile = TileManagment.GetTile(transform.position);
|
||||
tile.canBuildHere = true;
|
||||
Destroy(gameObject);
|
||||
}
|
||||
}
|
||||
}
|
@ -10,8 +10,26 @@ public class PlayerBonusController : MonoBehaviour
|
||||
public List<Bonus> attackBonuses;
|
||||
public List<Bonus> protectBonuses;
|
||||
|
||||
public Bonus currentSelectedBonus;
|
||||
public Action OnBonusesChanged;
|
||||
|
||||
private PlayerActionManager _actionManager;
|
||||
|
||||
|
||||
private void Start()
|
||||
{
|
||||
_actionManager = GetComponent<PlayerActionManager>();
|
||||
_actionManager.OnActionStart += RemoveCurrentBonus;
|
||||
}
|
||||
|
||||
private void RemoveCurrentBonus(ActionType arg1, CharacterState arg2)
|
||||
{
|
||||
if (currentSelectedBonus != null)
|
||||
{
|
||||
RemoveBonus(currentSelectedBonus);
|
||||
}
|
||||
}
|
||||
|
||||
public bool AddBonusToPlayer(Bonus bonus)
|
||||
{
|
||||
if (bonus.bonusType == BonusType.Attack)
|
||||
|
@ -17,12 +17,13 @@ public class BonusSpawner : MonoBehaviour
|
||||
|
||||
List<PlayerState> activePlayers = PlayerDeathController.alivePlayers;
|
||||
var chosenPlayer = activePlayers[Random.Range(0, activePlayers.Count)];
|
||||
TileInfo availableTile = TileManagment.GetTile(chosenPlayer.ownerIndex);
|
||||
TileInfo availableTile = GetAvailableTile(chosenPlayer.ownerIndex);
|
||||
availableTile.canBuildHere = false;
|
||||
|
||||
int bonusIndex = Random.Range(0, bounsPrefs.Count);
|
||||
GameObject chosenBonus = bounsPrefs[bonusIndex];
|
||||
Instantiate(chosenBonus, availableTile.tilePosition, chosenBonus.transform.rotation);
|
||||
Debug.Log("spawned");
|
||||
//Debug.Log("spawned");
|
||||
}
|
||||
|
||||
}
|
||||
@ -31,4 +32,17 @@ public class BonusSpawner : MonoBehaviour
|
||||
{
|
||||
StartCoroutine(SpawnRandomBonus());
|
||||
}
|
||||
|
||||
private TileInfo GetAvailableTile(TileOwner owner)
|
||||
{
|
||||
TileInfo availableTile = TileManagment.GetTile(owner);
|
||||
if (!availableTile.canBuildHere)
|
||||
{
|
||||
return GetAvailableTile(owner);
|
||||
}
|
||||
else
|
||||
{
|
||||
return availableTile;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +0,0 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class BonusVisuals : MonoBehaviour
|
||||
{
|
||||
public Bonus bonus;
|
||||
}
|
@ -12,18 +12,35 @@ public class BuildingSelectionTool : MonoBehaviour
|
||||
[SerializeField]
|
||||
private Build _buidAction;
|
||||
[SerializeField]
|
||||
private PlayerActionManager _action;
|
||||
[SerializeField]
|
||||
private PlayerBonusController _bonusController;
|
||||
[SerializeField]
|
||||
private GameObject _buildingsPanel;
|
||||
|
||||
|
||||
private GameObject _selectedBuilding;
|
||||
private bool _isBuildBtnActivated;
|
||||
|
||||
public Action OnBuildingSelected;
|
||||
public Action OnProtectBonusSelected;
|
||||
public Action OnAttackBonusSelected;
|
||||
|
||||
public BonusSlot currentSelectedSlot;
|
||||
|
||||
|
||||
private void Start()
|
||||
{
|
||||
SetInitialParams();
|
||||
|
||||
_action.OnActionStart += ClearBonusSlot;
|
||||
}
|
||||
|
||||
private void ClearBonusSlot(ActionType newAction, CharacterState newState)
|
||||
{
|
||||
if (newAction == ActionType.Build)
|
||||
{
|
||||
currentSelectedSlot.ClearSlot();
|
||||
}
|
||||
}
|
||||
|
||||
private void SetInitialParams()
|
||||
@ -37,9 +54,17 @@ public class BuildingSelectionTool : MonoBehaviour
|
||||
_actionUI.SetSelectedUI(index);
|
||||
_buidAction.selectedPref = _selectedBuilding;
|
||||
|
||||
OnBuildingSelected?.Invoke();
|
||||
OnProtectBonusSelected?.Invoke();
|
||||
_bonusController.currentSelectedBonus = currentSelectedSlot.GetItem();
|
||||
}
|
||||
|
||||
public void OnAttackBonusClick(int index)
|
||||
{
|
||||
OnAttackBonusSelected?.Invoke();
|
||||
_bonusController.currentSelectedBonus = currentSelectedSlot.GetItem();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void OnBuildButtonClick()
|
||||
|
@ -27,7 +27,7 @@ public class HealthController : MonoBehaviour
|
||||
currentHealth -= amount;
|
||||
healthUI.UpdateBar(currentHealth, startHealth);
|
||||
Instantiate(playerImpactVFX, transform.position, playerImpactVFX.transform.rotation);
|
||||
Instantiate(groundImpactVFX, transform.position, groundImpactVFX.transform.rotation);
|
||||
Instantiate(groundImpactVFX, transform.position+Vector3.up*0.01f, groundImpactVFX.transform.rotation);
|
||||
if (currentHealth <= 0)
|
||||
{
|
||||
Die();
|
||||
|
@ -110,7 +110,7 @@ public class PlayerActionManager : MonoBehaviour
|
||||
|
||||
private void DoAction(PlayerAction action)
|
||||
{
|
||||
if (!action.IsActionAllowed(_target, _playerState))
|
||||
if (!action.IsActionAllowed(_target, _playerState) || (_target.tilePosition - transform.position).magnitude < 0.9f*TileManagment.tileOffset)
|
||||
{
|
||||
return;
|
||||
}
|
||||
@ -162,6 +162,8 @@ public class PlayerActionManager : MonoBehaviour
|
||||
|
||||
public void AttackEnemyOnTile(TileInfo target)
|
||||
{
|
||||
/*if ((target.tilePosition - transform.position).magnitude > TileManagment.tileOffset)
|
||||
return;*/
|
||||
_target = target;
|
||||
StopTargeting();
|
||||
}
|
||||
|
@ -39,13 +39,19 @@ public class PlayerState : MonoBehaviour
|
||||
_playerActions.OnActionStart += SetNewState;
|
||||
_playerActions.OnActionEnd += SetNewState;
|
||||
|
||||
_selectionTool.OnBuildingSelected += OnBuildingSelected;
|
||||
_selectionTool.OnProtectBonusSelected += OnBuildingSelected;
|
||||
_selectionTool.OnAttackBonusSelected += OnAttackBonusSelected;
|
||||
|
||||
|
||||
//Debug.Log("We are in " +currentTile.name);
|
||||
|
||||
}
|
||||
|
||||
private void OnAttackBonusSelected()
|
||||
{
|
||||
SetNewState(ActionType.Attack, currentState);
|
||||
}
|
||||
|
||||
private void SetEnemies()
|
||||
{
|
||||
var allPlayers = PlayerDeathController.players;
|
||||
|
@ -74,7 +74,7 @@ public class ProjectileController : MonoBehaviour
|
||||
if (healthController && owner!=playerState.ownerIndex)
|
||||
{
|
||||
healthController.TakeDamage(damage);
|
||||
//Destroy(gameObject);
|
||||
Destroy(gameObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
38
Assets/Scripts/UI_JoystickChanger.cs
Normal file
38
Assets/Scripts/UI_JoystickChanger.cs
Normal file
@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class UI_JoystickChanger : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
private BuildingSelectionTool _selectionTool;
|
||||
[SerializeField]
|
||||
private PlayerActionManager _actionManager;
|
||||
|
||||
[SerializeField]
|
||||
private Image joystickBack, joystickHandle;
|
||||
|
||||
[SerializeField]
|
||||
private Sprite joystickBackAtt, joystickHandleAtt , joystickBackDef, joystickHandleDef;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
_selectionTool.OnProtectBonusSelected += ChangeJoystickDefState;
|
||||
_actionManager.OnActionStart += BackToNormal;
|
||||
_actionManager.OnActionEnd += BackToNormal;
|
||||
}
|
||||
|
||||
private void BackToNormal(ActionType arg1, CharacterState arg2)
|
||||
{
|
||||
joystickBack.sprite = joystickBackAtt;
|
||||
joystickHandle.sprite = joystickHandleAtt;
|
||||
}
|
||||
|
||||
private void ChangeJoystickDefState()
|
||||
{
|
||||
joystickBack.sprite = joystickBackDef;
|
||||
joystickHandle.sprite = joystickHandleDef;
|
||||
}
|
||||
}
|
11
Assets/Scripts/UI_JoystickChanger.cs.meta
Normal file
11
Assets/Scripts/UI_JoystickChanger.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c0679c5c2b8366f4fa3e5bf8161fc7c3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user