Files
Unity20GameJam/Assets/Gameplay/Scripts/Frist/PianoInteractable.cs
2025-11-09 18:00:06 +08:00

19 lines
361 B
C#

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