void EndDialog() { dialogText.text = ""; animator.SetBool("IsOpen", false); dialogTrigger.SetIsDialogOpen(false); //dialogTrigger = null; Debug.Log("bool animator end : " + animator.GetBool("IsOpen")); }
void EndDialog() { dialogText.text = ""; animator.SetBool("IsOpen", false); dialogTrigger.SetIsDialogOpen(false); //dialogTrigger = null; Debug.Log("bool animator end : " + animator.GetBool("IsOpen")); }