fixed all triggers

This commit is contained in:
cyndrdev 2021-05-12 20:10:58 +01:00
parent 23b7c07c03
commit 220ae7b8d2
4 changed files with 1989 additions and 2587 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -13,6 +13,9 @@ public class ScriptedDialogueTrigger : MonoBehaviour
private void OnTriggerEnter(Collider other) private void OnTriggerEnter(Collider other)
{ {
if ( !other.CompareTag( "Player" ) )
return;
if (_log) if (_log)
{ {
Debug.Log($"{other} triggered dialogue {_key}"); Debug.Log($"{other} triggered dialogue {_key}");