Пример #1
0
    private IEnumerator SayLineCo()
    {
        yield return(new WaitForSeconds(GameHiddenOptions.Instance.TimeBeforeReadingLine));

        SayItService.Instance().WhiteColor = IsWhite;
        SayItService.Instance().SayLine(DialogText, () =>
        {
            IsInUse = false;
            _onSayLineFinished();
        }, Slowdown);
    }
Пример #2
0
 void Awake()
 {
     _instance = this;
 }