19 lines
344 B
C#
19 lines
344 B
C#
using System.Threading.Tasks;
|
|
using UnityEngine;
|
|
|
|
namespace Rokojori
|
|
{
|
|
|
|
public abstract class DialogBlock : ScriptableObject
|
|
{
|
|
public DialogBlock next = null;
|
|
|
|
// default behaviour: just continue to the next block in sequence
|
|
public virtual Task<DialogBlock> Run( IDialogDisplay display )
|
|
{
|
|
return Task.FromResult( next );
|
|
}
|
|
}
|
|
|
|
}
|