Esempio n. 1
0
 public void OnPointerClick(PointerEventData pedata)
 {
     Debug.Log("works....");
     if (pedata.button == PointerEventData.InputButton.Left && DialogueSingletonManager.IsAvailable())
     {
         SceneTransition.GoToScene(ToGoTo);
     }
 }
Esempio n. 2
0
    public void OpenDialogueWindow()
    {
        Debug.Log("start");

        if (!DialogueSingletonManager.IsAvailable())
        {
            return;
        }

        dialogueHolder.SetActive(true);
        DialogueSingletonManager.SetDialogueRunning();
        story.Begin();
        open = true;
    }