Exemplo n.º 1
0
 public void PlayInteraction()
 {
     if (CurrentIO.name == "")
     {
         gameState.enabled = true;
         StartCoroutine(cautionTouch(CurrentIO.GetCurrnetText()));
     }
     else
     {
         interactionPanel.SetActive(true);
         Debug.Log(CurrentIO.GetCurrnetText());
         interactionPanel.transform.GetChild(0).GetComponent <Text>().text = CurrentIO.GetCurrnetText();
     }
 }