Files
Unity20GameJam/Assets/Gameplay/Scripts/GameFlowMgr/InteractableObject.cs
2025-11-09 13:26:17 +08:00

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");
}
}