22 lines
395 B
C#
22 lines
395 B
C#
using UnityEngine;
|
|
|
|
public class InteractableObject : MonoBehaviour, IInteractable
|
|
{
|
|
public GameObject tipUI;
|
|
public void OnEnterInteractionRange()
|
|
{
|
|
Debug.Log("Enter");
|
|
}
|
|
|
|
public void OnExitInteractionRange()
|
|
{
|
|
Debug.Log("Exit");
|
|
}
|
|
|
|
public void OnInteract()
|
|
{
|
|
GameFlowMgr.instance?.StartGame();
|
|
Debug.Log("Interact");
|
|
}
|
|
}
|