Exemple #1
0
    void EndDialogue()
    {
        //animator.SetBool("IsOpen", false);
        //animator.Play("achievement");
        //Bookopen = true;
        //animator.Play("on");

        Debug.Log("book");
        PapayaEvents.Fire("OnDialogueEnd", currentDialogue);
    }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     PapayaEvents.Register("OnDialogueEnd", OnDialogueEnd);
     gameObject.SetActive(false);
 }
Exemple #3
0
 void Awake()
 {
     currentPapayaEvents = this;
     events = new Dictionary <string, List <DialogueEventAction> >();
 }