检测目标是否在视线范围内(附视线范围扇形画法) using UnityEngine; public class Test_CanSeeTarget : MonoBehaviour { public GameObject target; /// <summary> /// 视线范围-半径 ...