Files
FebGameJam/Assets/Scripts/BookTrigger.cs
T
2022-02-26 18:45:46 -06:00

15 lines
288 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BookTrigger : Trigger
{
public GameObject bookFinder;
public override void Action()
{
bookFinder.GetComponent<WorldScreenController>().OpenBook();
}
}