fixed all triggers
This commit is contained in:
parent
23b7c07c03
commit
220ae7b8d2
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
|
@ -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}");
|
||||||
|
|
Loading…
Reference in New Issue