mirror of
https://github.com/HoonTB/Project-AS.git
synced 2025-12-26 11:51:21 +09:00
feat: Implement core visual novel systems for variable management, character layout, and script handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user