보스 스크립트 추가(랜덤 좌우이동, 낭떠러지 체크)

This commit is contained in:
Mingu Kim
2025-08-07 20:51:14 +09:00
parent be68b2da4d
commit 286e0a0b24
3 changed files with 100 additions and 18 deletions

View File

@@ -644,7 +644,7 @@ GameObject:
- component: {fileID: 114042779}
- component: {fileID: 114042778}
- component: {fileID: 114042777}
- component: {fileID: 114042776}
- component: {fileID: 114042780}
m_Layer: 9
m_Name: False Knight
m_TagString: Enemy
@@ -652,18 +652,6 @@ GameObject:
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &114042776
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 114042775}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0de3500b3118bd04ebf644b811d74319, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!70 &114042777
CapsuleCollider2D:
m_ObjectHideFlags: 0
@@ -698,8 +686,8 @@ CapsuleCollider2D:
m_UsedByEffector: 0
m_CompositeOperation: 0
m_CompositeOrder: 0
m_Offset: {x: 0, y: 0.18}
m_Size: {x: 1.1, y: 1.03}
m_Offset: {x: 0, y: 0}
m_Size: {x: 4.11, y: 0.0001}
m_Direction: 0
--- !u!50 &114042778
Rigidbody2D:
@@ -737,13 +725,26 @@ Transform:
m_GameObject: {fileID: 114042775}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 10.09, y: 0.76, z: 0}
m_LocalPosition: {x: -11.15, y: 2.55, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 268751596}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &114042780
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 114042775}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 69b79b76424d246f4b6e65cea814d386, type: 3}
m_Name:
m_EditorClassIdentifier:
nextMove: 0
--- !u!1 &119726257
GameObject:
m_ObjectHideFlags: 0
@@ -1972,7 +1973,7 @@ Transform:
m_GameObject: {fileID: 268751595}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 7.59, y: 2.32, z: 0}
m_LocalPosition: {x: 0.12, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -2791,7 +2792,7 @@ Transform:
m_GameObject: {fileID: 442352395}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 4.408833, y: 3.880091, z: 0}
m_LocalPosition: {x: 13.91, y: 7.58, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []