31 lines
692 B
C#
31 lines
692 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
using Fungus;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 演出,以撒之童
|
||
|
/// </summary>
|
||
|
public class YiSaNoBoy : Stage
|
||
|
{
|
||
|
private bool conversationEnd = false;
|
||
|
protected override void Init(){
|
||
|
base.Init();
|
||
|
}
|
||
|
|
||
|
protected override IEnumerator Main(){
|
||
|
player.inputDir = 0;
|
||
|
yield return new WaitForSeconds(1);
|
||
|
Flowchart.BroadcastFungusMessage("以撒之童");
|
||
|
yield return new WaitUntil(
|
||
|
() => {
|
||
|
return conversationEnd;
|
||
|
}
|
||
|
);
|
||
|
StartCoroutine(base.Main());
|
||
|
}
|
||
|
|
||
|
public void ConversationEnd(){conversationEnd = true;}
|
||
|
|
||
|
}
|