1. 新建梦境专用场景 2. 增加单行对话框,梦境中全程使用该对话框 3. 增加已选择选项标记功能 TODO 1. 增加梦境选择框 2. 为选项增加已选择表现
20 lines
523 B
C#
20 lines
523 B
C#
using System.Collections;
|
|
using Yarn.Unity;
|
|
|
|
namespace AibisDream
|
|
{
|
|
public static class OutsideYarnCommand
|
|
{
|
|
[YarnCommand("outside_play_timeline")]
|
|
public static IEnumerator PlayTimeline()
|
|
{
|
|
yield return OutsideCenter.Instance.PlayTimelineCoroutine();
|
|
}
|
|
|
|
[YarnCommand("outside_play_timeline_nowait")]
|
|
public static void PlayTimelineAsync(string timelinePath)
|
|
{
|
|
OutsideCenter.Instance.PlayTimelineAsync(timelinePath);
|
|
}
|
|
}
|
|
} |