commit
b97beda779
30 changed files with 1498 additions and 50 deletions
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 2361f073d46134fe9acb71dd87d720e8
|
||||
guid: e7e4553404a44ed41a2fe55952c68d2c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
128
Assets/Animations/Ammo/Bomb.anim
Normal file
128
Assets/Animations/Ammo/Bomb.anim
Normal file
|
@ -0,0 +1,128 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!74 &7400000
|
||||
AnimationClip:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Bomb
|
||||
serializedVersion: 6
|
||||
m_Legacy: 0
|
||||
m_Compressed: 0
|
||||
m_UseHighQualityCurve: 1
|
||||
m_RotationCurves: []
|
||||
m_CompressedRotationCurves: []
|
||||
m_EulerCurves: []
|
||||
m_PositionCurves: []
|
||||
m_ScaleCurves: []
|
||||
m_FloatCurves: []
|
||||
m_PPtrCurves:
|
||||
- curve:
|
||||
- time: 0
|
||||
value: {fileID: 21300000, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 0.2
|
||||
value: {fileID: 21300002, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 0.4
|
||||
value: {fileID: 21300004, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 0.6
|
||||
value: {fileID: 21300006, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 0.8
|
||||
value: {fileID: 21300008, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 1
|
||||
value: {fileID: 21300010, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 1.2
|
||||
value: {fileID: 21300014, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 1.4
|
||||
value: {fileID: 21300016, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 1.6
|
||||
value: {fileID: 21300018, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 1.8
|
||||
value: {fileID: 21300020, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 2
|
||||
value: {fileID: 21300022, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 2.2
|
||||
value: {fileID: 21300024, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 2.4
|
||||
value: {fileID: 21300026, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 2.6
|
||||
value: {fileID: 21300028, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 2.8
|
||||
value: {fileID: 21300030, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 3
|
||||
value: {fileID: 21300032, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 3.2
|
||||
value: {fileID: 21300036, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 3.4
|
||||
value: {fileID: 21300038, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 3.6
|
||||
value: {fileID: 21300040, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 3.8
|
||||
value: {fileID: 21300042, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 4
|
||||
value: {fileID: 21300044, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
attribute: m_Sprite
|
||||
path:
|
||||
classID: 212
|
||||
script: {fileID: 0}
|
||||
m_SampleRate: 5
|
||||
m_WrapMode: 0
|
||||
m_Bounds:
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
m_Extent: {x: 0, y: 0, z: 0}
|
||||
m_ClipBindingConstant:
|
||||
genericBindings:
|
||||
- serializedVersion: 2
|
||||
path: 0
|
||||
attribute: 0
|
||||
script: {fileID: 0}
|
||||
typeID: 212
|
||||
customType: 23
|
||||
isPPtrCurve: 1
|
||||
pptrCurveMapping:
|
||||
- {fileID: 21300000, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300002, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300004, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300006, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300008, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300010, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300014, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300016, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300018, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300020, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300022, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300024, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300026, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300028, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300030, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300032, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300036, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300038, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300040, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300042, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300044, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
m_AnimationClipSettings:
|
||||
serializedVersion: 2
|
||||
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||
m_AdditiveReferencePoseTime: 0
|
||||
m_StartTime: 0
|
||||
m_StopTime: 4.2
|
||||
m_OrientationOffsetY: 0
|
||||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
m_HasAdditiveReferencePose: 0
|
||||
m_LoopTime: 1
|
||||
m_LoopBlend: 0
|
||||
m_LoopBlendOrientation: 0
|
||||
m_LoopBlendPositionY: 0
|
||||
m_LoopBlendPositionXZ: 0
|
||||
m_KeepOriginalOrientation: 0
|
||||
m_KeepOriginalPositionY: 1
|
||||
m_KeepOriginalPositionXZ: 0
|
||||
m_HeightFromFeet: 0
|
||||
m_Mirror: 0
|
||||
m_EditorCurves: []
|
||||
m_EulerEditorCurves: []
|
||||
m_HasGenericRootTransform: 0
|
||||
m_HasMotionFloatCurves: 0
|
||||
m_Events: []
|
8
Assets/Animations/Ammo/Bomb.anim.meta
Normal file
8
Assets/Animations/Ammo/Bomb.anim.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 060ffcce9be5516419fa74a728e43850
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 7400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
72
Assets/Animations/Ammo/Bomb.controller
Normal file
72
Assets/Animations/Ammo/Bomb.controller
Normal file
|
@ -0,0 +1,72 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!91 &9100000
|
||||
AnimatorController:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Bomb
|
||||
serializedVersion: 5
|
||||
m_AnimatorParameters: []
|
||||
m_AnimatorLayers:
|
||||
- serializedVersion: 5
|
||||
m_Name: Base Layer
|
||||
m_StateMachine: {fileID: 1107674738831768026}
|
||||
m_Mask: {fileID: 0}
|
||||
m_Motions: []
|
||||
m_Behaviours: []
|
||||
m_BlendingMode: 0
|
||||
m_SyncedLayerIndex: -1
|
||||
m_DefaultWeight: 0
|
||||
m_IKPass: 0
|
||||
m_SyncedLayerAffectsTiming: 0
|
||||
m_Controller: {fileID: 9100000}
|
||||
--- !u!1102 &1102022841314990920
|
||||
AnimatorState:
|
||||
serializedVersion: 5
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Bomb
|
||||
m_Speed: 1
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
m_Position: {x: 50, y: 50, z: 0}
|
||||
m_IKOnFeet: 0
|
||||
m_WriteDefaultValues: 1
|
||||
m_Mirror: 0
|
||||
m_SpeedParameterActive: 0
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 7400000, guid: 060ffcce9be5516419fa74a728e43850, type: 2}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
m_CycleOffsetParameter:
|
||||
m_TimeParameter:
|
||||
--- !u!1107 &1107674738831768026
|
||||
AnimatorStateMachine:
|
||||
serializedVersion: 5
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Base Layer
|
||||
m_ChildStates:
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: 1102022841314990920}
|
||||
m_Position: {x: 200, y: 0, z: 0}
|
||||
m_ChildStateMachines: []
|
||||
m_AnyStateTransitions: []
|
||||
m_EntryTransitions: []
|
||||
m_StateMachineTransitions: {}
|
||||
m_StateMachineBehaviours: []
|
||||
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
||||
m_EntryPosition: {x: 50, y: 120, z: 0}
|
||||
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||
m_DefaultState: {fileID: 1102022841314990920}
|
8
Assets/Animations/Ammo/Bomb.controller.meta
Normal file
8
Assets/Animations/Ammo/Bomb.controller.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 59ef0a1e37fe3024a8d436860c0fcafb
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 9100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
86
Assets/Animations/Ammo/Explosion.anim
Normal file
86
Assets/Animations/Ammo/Explosion.anim
Normal file
|
@ -0,0 +1,86 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!74 &7400000
|
||||
AnimationClip:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Explosion
|
||||
serializedVersion: 6
|
||||
m_Legacy: 0
|
||||
m_Compressed: 0
|
||||
m_UseHighQualityCurve: 1
|
||||
m_RotationCurves: []
|
||||
m_CompressedRotationCurves: []
|
||||
m_EulerCurves: []
|
||||
m_PositionCurves: []
|
||||
m_ScaleCurves: []
|
||||
m_FloatCurves: []
|
||||
m_PPtrCurves:
|
||||
- curve:
|
||||
- time: 0
|
||||
value: {fileID: 21300046, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 0.2
|
||||
value: {fileID: 21300048, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 0.4
|
||||
value: {fileID: 21300050, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 0.6
|
||||
value: {fileID: 21300052, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 0.8
|
||||
value: {fileID: 21300054, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 1
|
||||
value: {fileID: 21300056, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- time: 1.2
|
||||
value: {fileID: 21300058, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
attribute: m_Sprite
|
||||
path:
|
||||
classID: 212
|
||||
script: {fileID: 0}
|
||||
m_SampleRate: 5
|
||||
m_WrapMode: 0
|
||||
m_Bounds:
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
m_Extent: {x: 0, y: 0, z: 0}
|
||||
m_ClipBindingConstant:
|
||||
genericBindings:
|
||||
- serializedVersion: 2
|
||||
path: 0
|
||||
attribute: 0
|
||||
script: {fileID: 0}
|
||||
typeID: 212
|
||||
customType: 23
|
||||
isPPtrCurve: 1
|
||||
pptrCurveMapping:
|
||||
- {fileID: 21300046, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300048, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300050, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300052, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300054, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300056, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
- {fileID: 21300058, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
m_AnimationClipSettings:
|
||||
serializedVersion: 2
|
||||
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||
m_AdditiveReferencePoseTime: 0
|
||||
m_StartTime: 0
|
||||
m_StopTime: 1.4000001
|
||||
m_OrientationOffsetY: 0
|
||||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
m_HasAdditiveReferencePose: 0
|
||||
m_LoopTime: 1
|
||||
m_LoopBlend: 0
|
||||
m_LoopBlendOrientation: 0
|
||||
m_LoopBlendPositionY: 0
|
||||
m_LoopBlendPositionXZ: 0
|
||||
m_KeepOriginalOrientation: 0
|
||||
m_KeepOriginalPositionY: 1
|
||||
m_KeepOriginalPositionXZ: 0
|
||||
m_HeightFromFeet: 0
|
||||
m_Mirror: 0
|
||||
m_EditorCurves: []
|
||||
m_EulerEditorCurves: []
|
||||
m_HasGenericRootTransform: 0
|
||||
m_HasMotionFloatCurves: 0
|
||||
m_Events: []
|
8
Assets/Animations/Ammo/Explosion.anim.meta
Normal file
8
Assets/Animations/Ammo/Explosion.anim.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 64702b3fca0bfc246824242792c7d291
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 7400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
72
Assets/Animations/Ammo/Explosion.controller
Normal file
72
Assets/Animations/Ammo/Explosion.controller
Normal file
|
@ -0,0 +1,72 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!91 &9100000
|
||||
AnimatorController:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Explosion
|
||||
serializedVersion: 5
|
||||
m_AnimatorParameters: []
|
||||
m_AnimatorLayers:
|
||||
- serializedVersion: 5
|
||||
m_Name: Base Layer
|
||||
m_StateMachine: {fileID: 1107925776450224482}
|
||||
m_Mask: {fileID: 0}
|
||||
m_Motions: []
|
||||
m_Behaviours: []
|
||||
m_BlendingMode: 0
|
||||
m_SyncedLayerIndex: -1
|
||||
m_DefaultWeight: 0
|
||||
m_IKPass: 0
|
||||
m_SyncedLayerAffectsTiming: 0
|
||||
m_Controller: {fileID: 9100000}
|
||||
--- !u!1102 &1102162894460579672
|
||||
AnimatorState:
|
||||
serializedVersion: 5
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Explosion
|
||||
m_Speed: 1
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
m_Position: {x: 50, y: 50, z: 0}
|
||||
m_IKOnFeet: 0
|
||||
m_WriteDefaultValues: 1
|
||||
m_Mirror: 0
|
||||
m_SpeedParameterActive: 0
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 7400000, guid: 64702b3fca0bfc246824242792c7d291, type: 2}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
m_CycleOffsetParameter:
|
||||
m_TimeParameter:
|
||||
--- !u!1107 &1107925776450224482
|
||||
AnimatorStateMachine:
|
||||
serializedVersion: 5
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Base Layer
|
||||
m_ChildStates:
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: 1102162894460579672}
|
||||
m_Position: {x: 200, y: 0, z: 0}
|
||||
m_ChildStateMachines: []
|
||||
m_AnyStateTransitions: []
|
||||
m_EntryTransitions: []
|
||||
m_StateMachineTransitions: {}
|
||||
m_StateMachineBehaviours: []
|
||||
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
||||
m_EntryPosition: {x: 50, y: 120, z: 0}
|
||||
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||
m_DefaultState: {fileID: 1102162894460579672}
|
8
Assets/Animations/Ammo/Explosion.controller.meta
Normal file
8
Assets/Animations/Ammo/Explosion.controller.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a351957d95100344b99c9f5dc6c97ae4
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 9100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/Prefabs/Ammo.meta
Normal file
8
Assets/Prefabs/Ammo.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: bf3e6294c377ca84d82651fe870a56dc
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -12,6 +12,7 @@ GameObject:
|
|||
- component: {fileID: 1758273947879077417}
|
||||
- component: {fileID: 8277411166637495994}
|
||||
- component: {fileID: 1412018915745597861}
|
||||
- component: {fileID: 662054772667612550}
|
||||
m_Layer: 0
|
||||
m_Name: Bomb
|
||||
m_TagString: Bomb
|
||||
|
@ -71,7 +72,7 @@ SpriteRenderer:
|
|||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 9
|
||||
m_Sprite: {fileID: 21300000, guid: 98d73a0d91287d34ea2ede695d239f4f, type: 3}
|
||||
m_Sprite: {fileID: 21300008, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
|
@ -117,6 +118,25 @@ Rigidbody2D:
|
|||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 4
|
||||
--- !u!95 &662054772667612550
|
||||
Animator:
|
||||
serializedVersion: 3
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5909392949477884267}
|
||||
m_Enabled: 1
|
||||
m_Avatar: {fileID: 0}
|
||||
m_Controller: {fileID: 9100000, guid: 59ef0a1e37fe3024a8d436860c0fcafb, type: 2}
|
||||
m_CullingMode: 0
|
||||
m_UpdateMode: 0
|
||||
m_ApplyRootMotion: 0
|
||||
m_LinearVelocityBlending: 0
|
||||
m_WarningMessage:
|
||||
m_HasTransformHierarchy: 1
|
||||
m_AllowConstantClipSamplingOptimization: 1
|
||||
m_KeepAnimatorControllerStateOnDisable: 0
|
||||
--- !u!1 &8683250532155440700
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -161,7 +181,7 @@ BoxCollider2D:
|
|||
m_IsTrigger: 1
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: 0.5, y: 0.5}
|
||||
m_Offset: {x: 1, y: 1}
|
||||
m_SpriteTilingProperty:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
pivot: {x: 0, y: 0}
|
47
Assets/Prefabs/Ammo/BombSpawner.prefab
Normal file
47
Assets/Prefabs/Ammo/BombSpawner.prefab
Normal file
|
@ -0,0 +1,47 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &1896072655702505677
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1896072655702505676}
|
||||
- component: {fileID: 5279176810039195611}
|
||||
m_Layer: 0
|
||||
m_Name: BombSpawner
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1896072655702505676
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1896072655702505677}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 7.8192964, y: -2.0062397, z: 8.0234375}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &5279176810039195611
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1896072655702505677}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: cd3bf3610d18aa14e805185b5e3f2d4b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
bombPrefab: {fileID: 5909392949477884267, guid: 28467e0d65b5d3844bf1862ac0c49ad9,
|
||||
type: 3}
|
7
Assets/Prefabs/Ammo/BombSpawner.prefab.meta
Normal file
7
Assets/Prefabs/Ammo/BombSpawner.prefab.meta
Normal file
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c9b7903151183144dbf30c9b2ab371b2
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -12,6 +12,7 @@ GameObject:
|
|||
- component: {fileID: 105666002419767893}
|
||||
- component: {fileID: 2976769454423190410}
|
||||
- component: {fileID: 5317321277803550577}
|
||||
- component: {fileID: 2410738329680383200}
|
||||
m_Layer: 0
|
||||
m_Name: Explosion
|
||||
m_TagString: Explosion
|
||||
|
@ -70,7 +71,7 @@ SpriteRenderer:
|
|||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 9
|
||||
m_Sprite: {fileID: 21300004, guid: 07d05f8fcd727b641baa0ccf95c8c770, type: 3}
|
||||
m_Sprite: {fileID: 21300048, guid: 1611b607563ac5b4d919348f10e92487, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
|
@ -109,8 +110,8 @@ BoxCollider2D:
|
|||
m_Offset: {x: 0.53872055, y: 0.5387204}
|
||||
m_SpriteTilingProperty:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
pivot: {x: -0.005050569, y: -0.0050504208}
|
||||
oldSize: {x: 1.0666667, y: 1.0666667}
|
||||
pivot: {x: 0, y: 0}
|
||||
oldSize: {x: 2, y: 2}
|
||||
newSize: {x: 1.28, y: 1.28}
|
||||
adaptiveTilingThreshold: 0.5
|
||||
drawMode: 0
|
||||
|
@ -119,3 +120,22 @@ BoxCollider2D:
|
|||
serializedVersion: 2
|
||||
m_Size: {x: 1.0666667, y: 1.0666667}
|
||||
m_EdgeRadius: 0
|
||||
--- !u!95 &2410738329680383200
|
||||
Animator:
|
||||
serializedVersion: 3
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2086996798441195857}
|
||||
m_Enabled: 1
|
||||
m_Avatar: {fileID: 0}
|
||||
m_Controller: {fileID: 0}
|
||||
m_CullingMode: 0
|
||||
m_UpdateMode: 0
|
||||
m_ApplyRootMotion: 0
|
||||
m_LinearVelocityBlending: 0
|
||||
m_WarningMessage:
|
||||
m_HasTransformHierarchy: 1
|
||||
m_AllowConstantClipSamplingOptimization: 1
|
||||
m_KeepAnimatorControllerStateOnDisable: 0
|
|
@ -428,7 +428,7 @@ Transform:
|
|||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 519420028}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 7.7645655, y: -4.0430503, z: -2.7893844}
|
||||
m_LocalPosition: {x: 7.777341, y: -4.0430503, z: -2.7893844}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
|
@ -8304,8 +8304,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
movementSpeed: 4
|
||||
respawnPosition: {fileID: 185746015}
|
||||
bombPrefab: {fileID: 5909392949477884267, guid: 28467e0d65b5d3844bf1862ac0c49ad9,
|
||||
type: 3}
|
||||
--- !u!212 &1352658976
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -8415,3 +8413,72 @@ BoxCollider2D:
|
|||
serializedVersion: 2
|
||||
m_Size: {x: 0.913409, y: 0.88454485}
|
||||
m_EdgeRadius: 0
|
||||
--- !u!1001 &1896072654971306985
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 1896072655702505677, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: BombSpawner
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 7.8192964
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -2.0062397
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 8.0234375
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 6
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: c9b7903151183144dbf30c9b2ab371b2, type: 3}
|
||||
|
|
|
@ -8156,7 +8156,7 @@ Transform:
|
|||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 519420028}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 10.581639, y: -4.0430503, z: -2.7893844}
|
||||
m_LocalPosition: {x: 7.7645655, y: -4.0430503, z: -2.7893844}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
|
@ -8339,6 +8339,75 @@ Transform:
|
|||
type: 3}
|
||||
m_PrefabInstance: {fileID: 6843575829779162303}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1001 &2013742123
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 1896072655702505677, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: BombSpawner
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 7.8192964
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: -2.0062397
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 8.0234375
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 7
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1896072655702505676, guid: c9b7903151183144dbf30c9b2ab371b2,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: c9b7903151183144dbf30c9b2ab371b2, type: 3}
|
||||
--- !u!1001 &6843575829779162303
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -8,13 +8,13 @@ namespace src.Ammo
|
|||
{
|
||||
public GameObject explosionPrefab;
|
||||
|
||||
private readonly BombStatsManager _bombStatsUtil = BombStatsManager.Instance;
|
||||
private readonly BombsUtilManager _bombsUtil = BombsUtilManager.Instance;
|
||||
private bool _exploded;
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
Invoke(nameof(Explode), _bombStatsUtil.Timer);
|
||||
Invoke(nameof(Explode), _bombsUtil.Timer);
|
||||
}
|
||||
|
||||
void Explode()
|
||||
|
@ -31,11 +31,12 @@ namespace src.Ammo
|
|||
|
||||
_exploded = true;
|
||||
Destroy(gameObject, 0.3f);
|
||||
_bombsUtil.RemoveBomb(transform.position);
|
||||
}
|
||||
|
||||
private IEnumerator CreateExplosions(Vector3 direction)
|
||||
{
|
||||
for (int i = 1; i < _bombStatsUtil.Power; i++)
|
||||
for (int i = 1; i < _bombsUtil.Power; i++)
|
||||
{
|
||||
RaycastHit2D hit = Physics2D.Raycast(transform.position, direction, i,
|
||||
1 << 8);
|
||||
|
@ -46,6 +47,11 @@ namespace src.Ammo
|
|||
}
|
||||
else
|
||||
{
|
||||
var key = hit.collider.GetComponent<IExplosable>();
|
||||
if(key != null)
|
||||
{
|
||||
key.onExplosion();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -63,8 +69,6 @@ namespace src.Ammo
|
|||
|
||||
public void onExplosion()
|
||||
{
|
||||
// In caz ca o bomba loveste bomba, dam cancel la explozie
|
||||
// sa nu explodeze twice si o explodam automagic
|
||||
CancelInvoke(nameof(Explode));
|
||||
Explode();
|
||||
}
|
||||
|
|
23
Assets/Scripts/src/Ammo/BombsSpawner.cs
Normal file
23
Assets/Scripts/src/Ammo/BombsSpawner.cs
Normal file
|
@ -0,0 +1,23 @@
|
|||
using src.Managers;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class BombsSpawner : MonoBehaviour
|
||||
{
|
||||
public GameObject bombPrefab;
|
||||
|
||||
private BombsUtilManager _bombsUtil = BombsUtilManager.Instance;
|
||||
|
||||
public void PlaceBomb(Transform transform)
|
||||
{
|
||||
var absX = Mathf.RoundToInt(transform.position.x);
|
||||
var absY = Mathf.RoundToInt(transform.position.y);
|
||||
Vector3 position = new Vector3(absX, absY, 0);
|
||||
if (_bombsUtil.CanPlaceBomb(position))
|
||||
{
|
||||
Instantiate(bombPrefab, position, Quaternion.identity);
|
||||
_bombsUtil.PlaceBomb(position);
|
||||
}
|
||||
}
|
||||
}
|
11
Assets/Scripts/src/Ammo/BombsSpawner.cs.meta
Normal file
11
Assets/Scripts/src/Ammo/BombsSpawner.cs.meta
Normal file
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: cd3bf3610d18aa14e805185b5e3f2d4b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -5,7 +5,7 @@ using UnityEngine;
|
|||
|
||||
public class Explosion : MonoBehaviour
|
||||
{
|
||||
private readonly BombStatsManager _bombUtil = BombStatsManager.Instance;
|
||||
private readonly BombsUtilManager _bombUtil = BombsUtilManager.Instance;
|
||||
|
||||
public void Start()
|
||||
{
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
namespace src.Managers
|
||||
{
|
||||
public sealed class BombStatsManager
|
||||
{
|
||||
private const int MaxPower = 7;
|
||||
|
||||
public int Power { get; private set; } = 3;
|
||||
|
||||
public float Timer { get; } = 3.0f;
|
||||
|
||||
public float ExplosionDuration { get; } = 0.55f;
|
||||
|
||||
private BombStatsManager()
|
||||
{
|
||||
}
|
||||
|
||||
public static BombStatsManager Instance { get; } = new BombStatsManager();
|
||||
|
||||
public void IncreasePower()
|
||||
{
|
||||
if (Power <= MaxPower)
|
||||
{
|
||||
Power++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
68
Assets/Scripts/src/Managers/BombsUtilManager.cs
Normal file
68
Assets/Scripts/src/Managers/BombsUtilManager.cs
Normal file
|
@ -0,0 +1,68 @@
|
|||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace src.Managers
|
||||
{
|
||||
public sealed class BombsUtilManager
|
||||
{
|
||||
private HashSet<Vector3> _usedPosition = new HashSet<Vector3>();
|
||||
|
||||
private const int MaxPower = 7;
|
||||
private const int MaxAllowedBombs = 10;
|
||||
|
||||
public int Power { get; private set; } = 3;
|
||||
|
||||
public int AllowedBombs { get; private set; } = 2;
|
||||
|
||||
public int PlacedBombs { get; private set; } = 0;
|
||||
|
||||
public float Timer { get; } = 3.0f;
|
||||
|
||||
public float ExplosionDuration { get; } = 0.55f;
|
||||
|
||||
private BombsUtilManager()
|
||||
{
|
||||
}
|
||||
|
||||
public static BombsUtilManager Instance { get; } = new BombsUtilManager();
|
||||
|
||||
public void IncreasePower()
|
||||
{
|
||||
if (Power <= MaxPower)
|
||||
{
|
||||
Power++;
|
||||
}
|
||||
}
|
||||
|
||||
public void IncreaseAllowedBombs()
|
||||
{
|
||||
if(AllowedBombs <= MaxAllowedBombs)
|
||||
{
|
||||
AllowedBombs++;
|
||||
}
|
||||
}
|
||||
|
||||
public void PlaceBomb(Vector3 position)
|
||||
{
|
||||
if(CanPlaceBomb(position))
|
||||
{
|
||||
PlacedBombs++;
|
||||
_usedPosition.Add(position);
|
||||
}
|
||||
}
|
||||
|
||||
public void RemoveBomb(Vector3 position)
|
||||
{
|
||||
if(_usedPosition.Contains(position))
|
||||
{
|
||||
PlacedBombs--;
|
||||
_usedPosition.Remove(position);
|
||||
}
|
||||
}
|
||||
|
||||
public bool CanPlaceBomb(Vector3 position)
|
||||
{
|
||||
return (!_usedPosition.Contains(position) && (PlacedBombs < AllowedBombs));
|
||||
}
|
||||
}
|
||||
}
|
|
@ -9,8 +9,6 @@ namespace src.Player
|
|||
{
|
||||
public Transform respawnPosition;
|
||||
|
||||
public GameObject bombPrefab;
|
||||
|
||||
protected new void Start()
|
||||
{
|
||||
base.Start();
|
||||
|
@ -57,9 +55,8 @@ namespace src.Player
|
|||
|
||||
private void PlaceBomb()
|
||||
{
|
||||
var absX = Mathf.RoundToInt(transform.position.x);
|
||||
var absY = Mathf.RoundToInt(transform.position.y);
|
||||
Instantiate(bombPrefab, new Vector3(absX, absY, 0), Quaternion.identity);
|
||||
GameObject bombsSpawnerObject = GameObject.Find("BombSpawner");
|
||||
bombsSpawnerObject.GetComponent<BombsSpawner>().PlaceBomb(transform);
|
||||
}
|
||||
|
||||
private void HandleBomb()
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
using UnityEngine;
|
||||
|
||||
using src.Base;
|
||||
|
||||
namespace src.Wall
|
||||
{
|
||||
public class DestructibleWall : GameplayComponent
|
||||
public class DestructibleWall : GameplayComponent, IExplosable
|
||||
{
|
||||
private bool _spawnExit;
|
||||
private bool _spawnUpgrade;
|
||||
|
@ -32,5 +34,10 @@ namespace src.Wall
|
|||
// to get random / desired upgrade
|
||||
}
|
||||
}
|
||||
|
||||
public void onExplosion()
|
||||
{
|
||||
Debug.Log("Destructible wall hitted by explosion");
|
||||
}
|
||||
}
|
||||
}
|
8
Assets/Sprites/Ammo.meta
Normal file
8
Assets/Sprites/Ammo.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a0b88f6f6b139144eb92d1dd69215345
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/Ammo/bman_spritesheet_bomb_v01-02.png
Normal file
BIN
Assets/Sprites/Ammo/bman_spritesheet_bomb_v01-02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
729
Assets/Sprites/Ammo/bman_spritesheet_bomb_v01-02.png.meta
Normal file
729
Assets/Sprites/Ammo/bman_spritesheet_bomb_v01-02.png.meta
Normal file
|
@ -0,0 +1,729 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1611b607563ac5b4d919348f10e92487
|
||||
TextureImporter:
|
||||
fileIDToRecycleName:
|
||||
21300000: bman_spritesheet_bomb_v01-02_0
|
||||
21300002: bman_spritesheet_bomb_v01-02_1
|
||||
21300004: bman_spritesheet_bomb_v01-02_2
|
||||
21300006: bman_spritesheet_bomb_v01-02_3
|
||||
21300008: bman_spritesheet_bomb_v01-02_4
|
||||
21300010: bman_spritesheet_bomb_v01-02_5
|
||||
21300012: bman_spritesheet_bomb_v01-02_6
|
||||
21300014: bman_spritesheet_bomb_v01-02_7
|
||||
21300016: bman_spritesheet_bomb_v01-02_8
|
||||
21300018: bman_spritesheet_bomb_v01-02_9
|
||||
21300020: bman_spritesheet_bomb_v01-02_10
|
||||
21300022: bman_spritesheet_bomb_v01-02_11
|
||||
21300024: bman_spritesheet_bomb_v01-02_12
|
||||
21300026: bman_spritesheet_bomb_v01-02_13
|
||||
21300028: bman_spritesheet_bomb_v01-02_14
|
||||
21300030: bman_spritesheet_bomb_v01-02_15
|
||||
21300032: bman_spritesheet_bomb_v01-02_16
|
||||
21300034: bman_spritesheet_bomb_v01-02_17
|
||||
21300036: bman_spritesheet_bomb_v01-02_18
|
||||
21300038: bman_spritesheet_bomb_v01-02_19
|
||||
21300040: bman_spritesheet_bomb_v01-02_20
|
||||
21300042: bman_spritesheet_bomb_v01-02_21
|
||||
21300044: bman_spritesheet_bomb_v01-02_22
|
||||
21300046: bman_spritesheet_bomb_v01-02_23
|
||||
21300048: bman_spritesheet_bomb_v01-02_24
|
||||
21300050: bman_spritesheet_bomb_v01-02_25
|
||||
21300052: bman_spritesheet_bomb_v01-02_26
|
||||
21300054: bman_spritesheet_bomb_v01-02_27
|
||||
21300056: bman_spritesheet_bomb_v01-02_28
|
||||
21300058: bman_spritesheet_bomb_v01-02_29
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
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: 0
|
||||
aniso: -1
|
||||
mipBias: -100
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 2
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 32
|
||||
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: 2
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 128
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: b0c20672577706641abd7309c61c3565
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_1
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 64
|
||||
y: 128
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: d2d06b2ac4ff8ed4bad9af8893161ab5
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_2
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 128
|
||||
y: 128
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 465d88bed5ce89847b9c4c86fd9d0e5a
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_3
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 192
|
||||
y: 128
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: adf33d39a4254174d8aa8f2f7cd652df
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_4
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 256
|
||||
y: 128
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: df2fb6db235f37c4eac4d0bf3d3c59d8
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_5
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 320
|
||||
y: 128
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 40b067f081db23943b3011260cff0362
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_6
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 384
|
||||
y: 128
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: f8f38e63c5eb7ab439a7aa35c66e61ad
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_7
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 448
|
||||
y: 128
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 149842df8bd90654a834cc9246613080
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_8
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 512
|
||||
y: 128
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 90d30a7859030814d85dca2df59fe185
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_9
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 576
|
||||
y: 128
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: ec482ee990d6fa8408f95f2ec3a7e56c
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_10
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 64
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: fed0a376c6487c24b9db6f0d4483d7a9
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_11
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 64
|
||||
y: 64
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 1aaccf8750ac9c5479f1a1a00b81b366
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_12
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 128
|
||||
y: 64
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: a228da321e1db0f40a8cfa1b8b5cca16
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_13
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 192
|
||||
y: 64
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 2e280e3e62d75da47853e2d7adb42cc7
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_14
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 256
|
||||
y: 64
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: a06fd3a804a64fc4287e85a537773224
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_15
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 320
|
||||
y: 64
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 287dc276a377d57498acd540a974273f
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_16
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 384
|
||||
y: 64
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: cda54dd69b3415d4b921bddbd94fcd21
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_17
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 448
|
||||
y: 64
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 43faf17eae2fee34d9aef056b72ed036
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_18
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 512
|
||||
y: 64
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 9b728f48432e90e4c871fcc3ba1496ec
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_19
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 576
|
||||
y: 64
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: bd1b03a7ba0738b48ab38a266cd7b681
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_20
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: bceae07a09f694342a9c70ada3bbd9dd
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_21
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 64
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 6d1beb74e36b36b49a61612169bbc4ff
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_22
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 128
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: c560df39ac2a3604782611799772aa36
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_23
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 192
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 55ed614f1402aa848a2fc0e2eedd09bd
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_24
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 256
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: f1a7fa1569abf2b4f8bd2b49ebfa87b7
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_25
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 320
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 4429983f17f8f25439b626305814013f
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_26
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 384
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 33653ed274633224a9d3fb552553d241
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_27
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 448
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: c4d04de551b512a47a7f7378a2c8c027
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_28
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 512
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: f160aae890ba6a84c9629b22208ab793
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: bman_spritesheet_bomb_v01-02_29
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 576
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 6
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 7f082556b32efc946817e57604b37acb
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 872d2b0dc8e810445bd902a3be67fdd4
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Reference in a new issue