worked on interactions

This commit is contained in:
Rizvee committed 2022-02-23 02:16:40 -06:00
1 parent e4bb5027a5
commit 8b5c99ae8d
9 files changed
+259 -11

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TextTrigger : Trigger
{
public Dialogue TextBox;
public override void Action()
{
TextBox.gameObject.SetActive(true);
TextBox.GetComponent<Dialogue>().isOpen = true;
}
}