코드 리팩토링

재사용성 및 확장성을 고려하여 코드 전반을 리팩토링함
This commit is contained in:
2026-01-21 01:45:15 +09:00
parent b4ac8f600f
commit db5db4b106
45 changed files with 2775 additions and 248 deletions

View File

@@ -14,6 +14,8 @@ GameObject:
- component: {fileID: 1378637490813329061}
- component: {fileID: 8775718735147868365}
- component: {fileID: 8186900164864976727}
- component: {fileID: 1850162772760692556}
- component: {fileID: 1697202366912309714}
m_Layer: 0
m_Name: Gate
m_TagString: Untagged
@@ -121,8 +123,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: aca054ee474238545a8a396d410bf5a3, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Gate
maxHealth: 50
currentHealth: 50
--- !u!65 &8186900164864976727
BoxCollider:
m_ObjectHideFlags: 0
@@ -144,3 +144,44 @@ BoxCollider:
serializedVersion: 3
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0.5, y: 0.5, z: 0.49999997}
--- !u!114 &1850162772760692556
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3321405240327640087}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.Netcode.Runtime::Unity.Netcode.NetworkObject
GlobalObjectIdHash: 2008860137
InScenePlacedSourceGlobalObjectIdHash: 0
DeferredDespawnTick: 0
Ownership: 1
AlwaysReplicateAsRoot: 0
SynchronizeTransform: 1
ActiveSceneSynchronization: 0
SceneMigrationSynchronization: 1
SpawnWithObservers: 1
DontDestroyWithOwner: 0
AutoObjectParentSync: 1
SyncOwnerTransformWhenParented: 1
AllowOwnerToParent: 0
--- !u!114 &1697202366912309714
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3321405240327640087}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a4b9c07450e6c9c4b8c741b633a2702e, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::HealthComponent
ShowTopMostFoldoutHeaderGroup: 1
maxHealth: 100
destroyOnDeath: 0
destroyDelay: 0