protected YellNode Yell(GameObject talkObject, FluentString fluentString) { return(new YellNode(gameObject) { TalkingObject = talkObject, Text = fluentString, SecondsToPause = YellNode.DefaultSecondsToPause }); }
public override string StringInEditor() { string yeller = null; if (TalkingObject != null) { yeller = TalkingObject.name; } else { yeller = "This"; } if (!string.IsNullOrEmpty(yeller)) { return("<b>Yell <color=#ffffffff>[" + yeller + "]</color>: </b>" + FluentString.Join("+", Sentences)); } return("<b>Yell: </b>" + FluentString.Join("+", Sentences)); }
protected WriteNode Write(Text textUIElement, float secondsToPause, FluentString fluentString) { return(new WriteNode(gameObject, textUIElement, secondsToPause, fluentString)); }
protected WriteNode Write(Text textUIElement, FluentString fluentString) { return(new WriteNode(gameObject, textUIElement, WriteNode.DefaultSecondsToPause, fluentString)); }
protected WriteNode Write(FluentString fluentString) { return(new WriteNode(gameObject, WriteNode.DefaultSecondsToPause, fluentString)); }
public WriteNode(GameObject gameObject, Text textUIElement, float secondsToPause, FluentString fluentString) : this(gameObject, secondsToPause, fluentString) { TextUIElement = textUIElement; }
public WriteNode(GameObject gameObject, float secondsToPause, FluentString fluentString) : base(gameObject) { SecondsToPause = secondsToPause; Text = fluentString; }
public YellNode(GameObject gameObject, float secondsToPause, FluentString fluentString) : base(gameObject) { Text = fluentString; SecondsToPause = secondsToPause; }
public YellNode(GameObject gameObject, FluentString text) : base(gameObject) { Text = text; }
protected YellNode Yell(float secondsToPause, FluentString fluentString) { return(new YellNode(gameObject, secondsToPause, fluentString)); }
protected YellNode Yell(FluentString fluentString) { return(new YellNode(gameObject, fluentString)); }
public OptionNode Text(FluentString fluentString) { OptionText = fluentString; return(this); }
public OptionNode Text(string text) { this.OptionText = text; return(this); }
public OptionNode Option(FluentString optionText) { return(new OptionNode(gameObject).Text(optionText)); }