2using System.Collections.Generic;
11 public List<DramaChoice>
choices =
new List<DramaChoice>();
29 if (_idActor.Contains(
"?"))
33 idActor = _idActor.Replace(
"?",
"");
37 public DramaEventTalk(
string _idActor,
string _text, List<DramaChoice> listChoice =
null)
39 if (_idActor.Contains(
"?"))
43 idActor = _idActor.Replace(
"?",
"");
45 if (listChoice ==
null)
60 public override bool Play()
67 sequence.firstTalk =
this;
72 sequence.message =
"";
77 timer += Time.deltaTime;
111 string inputString = Input.inputString;
112 if ((
bool)choice.
button && inputString == ((num + 1).ToString() ??
""))
118 choice.
button.onClick.Invoke();
126 if (
EClass.
ui.GetTopLayer() == base.layer)
129 if ((
bool)typewriter && !typewriter.
IsFinished)
134 base.actor.gameObject.SetActive(value:
false);
165 base.manager.SetDialog(
"Mono");
169 base.manager.SetDialog(
"Default2");
171 base.manager.imageBG.color = ((
idActor ==
"*") ?
new Color(0.6f, 0.6f, 0.6f) :
Color.white);
176 base.manager.imageBG.color =
Color.white;
179 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