16 lines
332 B
C#
16 lines
332 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace InfallibleCode
|
|
{
|
|
public class InteractionEventTrigger : MonoBehaviour, IInteractable
|
|
{
|
|
[SerializeField] EventTrigger eventTrigger;
|
|
|
|
public void Interact()
|
|
{
|
|
eventTrigger.Invoke();
|
|
}
|
|
}
|
|
} |