[Feat] 리플레이 씬에서 이전, 다음 버튼 작동

This commit is contained in:
HaeinLEE 2025-03-19 20:40:56 +09:00
parent 465a575483
commit 580abf1d4a
3 changed files with 6 additions and 7 deletions

View File

@ -1093,7 +1093,7 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_text: "16\uAE09" m_text: "18\uAE09"
m_isRightToLeft: 0 m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 85a19688db53c77469fc4406b01045da, type: 2} m_fontAsset: {fileID: 11400000, guid: 85a19688db53c77469fc4406b01045da, type: 2}
m_sharedMaterial: {fileID: -2477908578676791210, guid: 85a19688db53c77469fc4406b01045da, type: 2} m_sharedMaterial: {fileID: -2477908578676791210, guid: 85a19688db53c77469fc4406b01045da, type: 2}
@ -1690,7 +1690,7 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_text: "\uD14C\uC2A4\uD2B801" m_text: test1
m_isRightToLeft: 0 m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 85a19688db53c77469fc4406b01045da, type: 2} m_fontAsset: {fileID: 11400000, guid: 85a19688db53c77469fc4406b01045da, type: 2}
m_sharedMaterial: {fileID: -2477908578676791210, guid: 85a19688db53c77469fc4406b01045da, type: 2} m_sharedMaterial: {fileID: -2477908578676791210, guid: 85a19688db53c77469fc4406b01045da, type: 2}

View File

@ -208,8 +208,6 @@ public class ReplayManager : Singleton<ReplayManager>
} }
} }
#region ReplayControll
public void ReplayNext(Move nextMove ) public void ReplayNext(Move nextMove )
{ {
// 보드에 돌을 설정하기 위해 gameLogic의 SetNewBoardValue호출 // 보드에 돌을 설정하기 위해 gameLogic의 SetNewBoardValue호출
@ -238,11 +236,9 @@ public class ReplayManager : Singleton<ReplayManager>
_gameLogic.SetNewBoardValue(Enums.PlayerType.PlayerB, targetMove.columnIndex, targetMove.rowIndex); _gameLogic.SetNewBoardValue(Enums.PlayerType.PlayerB, targetMove.columnIndex, targetMove.rowIndex);
} }
ReplayManager.Instance.PushUndoMove(targetMove); ReplayManager.Instance.PushUndoMove(targetMove);
//TODO: 화면상에서 돌 치우기 _gameLogic.RemoveStone(targetMove.columnIndex, targetMove.rowIndex);
} }
#endregion
#region for tests #region for tests
public void OnClickSaveButton(string winnerPlayerType = "PlayerA") public void OnClickSaveButton(string winnerPlayerType = "PlayerA")

View File

@ -17,4 +17,7 @@ EditorBuildSettings:
- enabled: 1 - enabled: 1
path: Assets/LYC/GameCopyLYC.unity path: Assets/LYC/GameCopyLYC.unity
guid: c7eedd59cc78a7648a2168fd25540b88 guid: c7eedd59cc78a7648a2168fd25540b88
- enabled: 1
path: Assets/Scenes/Replay.unity
guid: 393dbf55b04641847ae9b882a54856af
m_configObjects: {} m_configObjects: {}