/* * author: sai puay * date: 11/8/2024 * description: interaction prompt demo with a probuilder donut */ /// /// demo donut interactable class /// public class PlaygroundDonut : CommonInteractable { /// /// set the interaction prompt /// private void Awake() { interactionPrompt = "This is a Donut"; } // private void OnTriggerEnter(Collider other) // { // GameManager.Instance.SetInteractionPrompt("This is a Donut"); // } // // private void OnTriggerExit(Collider other) // { // GameManager.Instance.ClearInteractionPrompt(); // } }