22 lines
460 B
C#
22 lines
460 B
C#
/*
|
|
Yarn Spinner is licensed to you under the terms found in the file LICENSE.md.
|
|
*/
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
#nullable enable
|
|
|
|
namespace Yarn.Unity
|
|
{
|
|
interface ICommandDispatcher : IActionRegistration
|
|
{
|
|
CommandDispatchResult DispatchCommand(string command, MonoBehaviour coroutineHost);
|
|
|
|
void SetupForProject(YarnProject yarnProject);
|
|
|
|
IEnumerable<ICommand> Commands { get; }
|
|
}
|
|
}
|