void OnTriggerEnter(Collider coll) { if ((coll.gameObject.CompareTag("Player")) && !used) { dialogueScript.callScene(sceneNum); used = true; } }
public void Dialogue() { dialogueScript.callScene(sceneNum); used = true; }