mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-09-11 08:17:01 +00:00
worked on interactions
This commit is contained in:
1 parent
e4bb5027a5
commit
8b5c99ae8d
9 files changed
+259
-11
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user