diff options
Diffstat (limited to 'Assets/Scripts/SoulCoreGameLoop/UI/AreaHintGenerator.cs')
| -rw-r--r-- | Assets/Scripts/SoulCoreGameLoop/UI/AreaHintGenerator.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Assets/Scripts/SoulCoreGameLoop/UI/AreaHintGenerator.cs b/Assets/Scripts/SoulCoreGameLoop/UI/AreaHintGenerator.cs index efc5e5f..c016ad9 100644 --- a/Assets/Scripts/SoulCoreGameLoop/UI/AreaHintGenerator.cs +++ b/Assets/Scripts/SoulCoreGameLoop/UI/AreaHintGenerator.cs @@ -18,6 +18,8 @@ namespace SoulCoreGameLoop.UI private void OnTriggerEnter(Collider other) { + if (! other.CompareTag("Player")) return; + Debug.Log("AreaHintGenerator OnTriggerEnter"); // 向监听器发送消息 UIEventListener.Send(new AreaHintMessage(name)); |
