[Refactor] Final fix GameManager & GameController

This commit is contained in:
2026-03-04 07:20:42 +07:00
parent 3031d2e4c2
commit 3793686dcf
10 changed files with 47 additions and 81 deletions
+6 -7
View File
@@ -158,9 +158,9 @@ MonoBehaviour:
shopCatalog: {fileID: 11400000, guid: 7efc21139c0b2234194047239dcf8a71, type: 2}
scoringSystem: {fileID: 1016044386}
currencyBank: {fileID: 389543052}
gameManager: {fileID: 2136136801}
gameLoopController: {fileID: 2136136801}
diceManager: {fileID: 822363842}
gameController: {fileID: 1035691492}
gamePresentationRoot: {fileID: 1035691492}
shopController: {fileID: 1102794499}
inventoryController: {fileID: 2034939427}
maxActiveModifierSlots: 5
@@ -802,7 +802,7 @@ GameObject:
- component: {fileID: 1035691491}
- component: {fileID: 1035691492}
m_Layer: 0
m_Name: GameController
m_Name: GamePresentationRoot
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@@ -834,11 +834,10 @@ MonoBehaviour:
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 06752cfc00e8dc24f8004581af1a1933, type: 3}
m_Name:
m_EditorClassIdentifier: YachtDice.Runtime::YachtDice.UI.GameController
m_EditorClassIdentifier: YachtDice.Runtime::YachtDice.UI.GamePresentationRoot
scoreCardView: {fileID: 0}
dicePanelView: {fileID: 0}
gameInfoView: {fileID: 0}
maxRollsPerTurn: 3
--- !u!4 &1077005091 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6590077607741954368, guid: b59e9f48ded300a44bdf1f3f3a43e1ae, type: 3}
@@ -1466,7 +1465,7 @@ GameObject:
- component: {fileID: 2136136800}
- component: {fileID: 2136136801}
m_Layer: 0
m_Name: GameManager
m_Name: GameLoopController
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@@ -1498,7 +1497,7 @@ MonoBehaviour:
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 187be5e60b9cc014fbe755fbe18578be, type: 3}
m_Name:
m_EditorClassIdentifier: YachtDice.Runtime::YachtDice.Game.GameManager
m_EditorClassIdentifier: YachtDice.Runtime::YachtDice.Game.GameLoopController
maxRollsPerTurn: 3
--- !u!1001 &3765562131710099387
PrefabInstance: