mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-09-11 08:17:01 +00:00
14 lines
307 B
C#
14 lines
307 B
C#
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;
|
|
}
|
|
}
|