Added independent layers for bullets
This commit is contained in:
parent
42706712aa
commit
2793e1464a
5 changed files with 8 additions and 8 deletions
|
@ -13,7 +13,7 @@ GameObject:
|
|||
- component: {fileID: 7819471670070814052}
|
||||
- component: {fileID: 7819471670070814051}
|
||||
- component: {fileID: 7819471670070814050}
|
||||
m_Layer: 9
|
||||
m_Layer: 10
|
||||
m_Name: EnemyBullet
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
|
|
|
@ -74,7 +74,7 @@ SpriteRenderer:
|
|||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Sprite: {fileID: 21300000, guid: 1fe77f169e8b4289c95cae0cff058bee, type: 3}
|
||||
m_Sprite: {fileID: 21300000, guid: 694b327da5c00d01398eb9ea19758eb7, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
|
@ -157,4 +157,4 @@ MonoBehaviour:
|
|||
_shotsPerSecond: 2
|
||||
_bullet: {fileID: 4369719273071165554, guid: 5dcbc4e2919ffde8a9d89514fd293e8e, type: 3}
|
||||
_direction: {x: 1, y: 0}
|
||||
_offset: {x: 1, y: 0}
|
||||
_offset: {x: 1, y: 0.125}
|
||||
|
|
|
@ -13,7 +13,7 @@ GameObject:
|
|||
- component: {fileID: 4369719273071165559}
|
||||
- component: {fileID: 4369719273071165552}
|
||||
- component: {fileID: 4369719273071165553}
|
||||
m_Layer: 8
|
||||
m_Layer: 11
|
||||
m_Name: PlayerBullet
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
|
@ -124,5 +124,5 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
_damage: 1
|
||||
_speed: 5
|
||||
_speed: 9
|
||||
_direction: {x: 1, y: 0}
|
||||
|
|
|
@ -53,4 +53,4 @@ Physics2DSettings:
|
|||
m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
|
||||
m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
|
||||
m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
|
||||
m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffdffcffffffffffffffffffffdffeffffdffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffdff0ffffffffffffffffffffdff6ffffdff9ffffdff1ffffdff2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
|
|
|
@ -15,8 +15,8 @@ TagManager:
|
|||
-
|
||||
- Player
|
||||
- Enemy
|
||||
-
|
||||
-
|
||||
- Enemy_Bullet
|
||||
- Player_Bullet
|
||||
-
|
||||
-
|
||||
-
|
||||
|
|
Loading…
Add table
Reference in a new issue