unity-roject-test/Assets/Scripts/Rokojori/Dialog/DialogOption.cs

17 lines
404 B
C#

namespace Rokojori
{
// The choices offered by a PlayerChoice block. Not a ScriptableObject of its
// own - it only ever exists embedded inside a single PlayerChoice asset.
[System.Serializable]
public class DialogOption
{
public Locale label = null;
public DialogBlock next = null;
// optional: state change applied when the player picks this option
public GameStateAction action = null;
}
}