private void InteractShow() { if (nextInteractShow <= 0) { activePrompt = Instantiate(interactPrompt, promptParent); activePrompt.SetText(interactTarget.displayText); } }
private void InteractHide() { if (activePrompt == null) { return; } Destroy(activePrompt.gameObject); activePrompt = null; }