feat: Implement core visual novel systems for variable management, character layout, and script handling

This commit is contained in:
2025-11-29 22:45:25 +09:00
parent 3562440120
commit 1528cc3202
4 changed files with 245 additions and 77 deletions

View File

@@ -37,6 +37,13 @@ public class Script
return null;
}
public ScriptAction PeekNext()
{
if (_currentIndex < _actions.Count - 1)
return _actions[_currentIndex + 1];
return null;
}
public void JumpTo(string labelName)
{
_currentIndex = _labelMap[labelName] - 1; // Continue() 호출 시 해당 인덱스가 되도록 -1