2using System.Collections.Generic;
11 public List<DramaChoice>
choices =
new List<DramaChoice>();
31 if (_idActor.Contains(
"?"))
35 idActor = _idActor.Replace(
"?",
"");
39 public DramaEventTalk(
string _idActor,
string _text, List<DramaChoice> listChoice =
null)
41 if (_idActor.Contains(
"?"))
45 idActor = _idActor.Replace(
"?",
"");
47 if (listChoice ==
null)
62 public override bool Play()
69 sequence.firstTalk =
this;
74 sequence.message =
"";
79 timer += Time.deltaTime;
116 string inputString = Input.inputString;
117 if ((
bool)choice.
button && inputString == ((num + 1).ToString() ??
""))
123 choice.
button.onClick.Invoke();
131 if (
EClass.
ui.GetTopLayer() == base.layer)
134 if ((
bool)typewriter && !typewriter.
IsFinished)
139 base.actor.gameObject.SetActive(value:
false);
173 base.manager.SetDialog(
"Mono");
177 base.manager.SetDialog(
"Default2");
179 base.manager.imageBG.color = ((
idActor ==
"*") ?
new Color(0.6f, 0.6f, 0.6f) :
Color.white);
184 base.manager.imageBG.color =
Color.white;
187 base.manager.SetDialog();
Func< bool > activeCondition
void AddChoice(DramaChoice choice)
DramaEventTalk(string _idActor, string _text, List< DramaChoice > listChoice=null)
DramaEventTalk(string _idActor, Func< string > func)
List< DramaChoice > choices
List< DramaEvent > tempEvents
static SoundManager Sound