Пример #1
0
 void Awake()
 {
     objName       = "Door";
     interactText  = "Escape this nightmare.";
     narrationText = FindObjectOfType <NarrationText>();
 }
Пример #2
0
 IEnumerator SetNarrationText(string _name)
 {
     narrationText.text = NarrationText.GetNarrationText(_name);
     yield return(StartCoroutine(corNarrationStartAnim()));
 }
Пример #3
0
 // Start is called before the first frame update
 void Start()
 {
     player        = playerObject.GetComponent <PlayerEngine>();
     narrationText = FindObjectOfType <NarrationText>();
 }