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