/// <summary> /// Remove dialog box /// Enable movement script /// Set Line to 0 /// </summary> public void stopTalking() { isTalking = false; playerScript.enabled = true; gameScripts.closeText(); aiGraph.toPC.setTalkNPC(null); curLine = 0; speechGraph.goToRoot(); }
void OnTriggerExit(Collider coll) { gameScripts.closeText(); viewed = false; }