void OnCollisionEnter2D(Collision2D coll) { if (coll.collider.tag == "Player" && !speaker.isTalking) { Debug.Log("hello"); speaker.StartSpeaking(""); } }
// Update is called once per frame void Update() { if (!speaker.isTalking) { speaker.StartSpeaking(""); //spoke = true; } }