19 lines
379 B
C#
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();
|
|
}
|
|
} |