|
|
|
|
|
|
using System.Collections; |
|
|
|
using System.Collections.Generic; |
|
|
|
using UnityEngine; |
|
|
|
using TMPro; |
|
|
|
using TMPro; |
|
|
|
|
|
|
|
public class DialogueUIController : MonoBehaviour |
|
|
|
{ |
|
|
|
|
|
|
[SerializeField] |
|
|
|
TextMeshProUGUI actorNameText; |
|
|
|
public void SetDialogue(DialogueLineSO dialogueLine) { |
|
|
|
|
|
|
|
public void SetDialogue(DialogueLineSO dialogueLine) |
|
|
|
{ |
|
|
|
|
|
|
|
actorNameText.text = dialogueLine.Actor.ActorName; |
|
|
|
actorNameText.text = dialogueLine.Actor.ActorName; |
|
|
|
|
|
|
|
|
|
|
|
} |