temp
This commit is contained in:
21
Assets/Gameplay/Scripts/GameFlowMgr/InteractableObject.cs
Normal file
21
Assets/Gameplay/Scripts/GameFlowMgr/InteractableObject.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user