Пример #1
0
    public void OnShowText(DialogueSource source, Dialogue.Snippet snippet)
    {
        if (source != null)
        {
            Label.color = source.SubtitleColor;
        }

        Label.SetText(snippet.Render(source));
        Label.gameObject.SetActive(true);
    }
Пример #2
0
 private void OnShowText(DialogueSource source, Dialogue.Snippet snippet)
 {
     Debug.Log(snippet.Render(source));
 }