Unity Discussions
How to detect the closest enemy to the the player by using Physics.OverlapSphere?
Unity Engine
Scripting
kinguhdahood5
January 12, 2020, 4:29pm
2
I would check out this thread posted a while back:
show post in topic
Related topics
Topic
Replies
Views
Activity
Best way to find closest enemy
Unity Engine
Scripting
,
Performance
,
Question
6
592
October 9, 2023
Clean(est) way to find nearest object of many (C#)
Unity Engine
Scripting
40
226710
July 2, 2024
Trying to use "OverlapSphere" to detect closest enemy
Questions & Answers
legacy-topics
1
1720
April 2, 2013
Find nearest GameObject with specific tag
Unity Engine
Scripting
2
669
April 28, 2019
script to find nearest game object with tag
Unity Engine
Scripting
5
1746
May 27, 2017