Files
Unity20GameJam/Assets/Gameplay/Scripts/Frist/PianoInteractable.cs
2025-11-09 23:36:29 +08:00

19 lines
379 B
C#

using UnityEngine;
public class PianoInteractable : MonoBehaviour, IInteractable
{
public void OnEnterInteractionRange()
{
Debug.Log("OnEnterInteractionRange");
}
public void OnExitInteractionRange()
{
Debug.Log("OnExitInteractionRange");
}
public async void OnInteract()
{
await MusicGame.instance.openGameUI();
}
}