Physics.OverlapSphere
Posted guomengkai
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Physics.OverlapSphere相关的知识,希望对你有一定的参考价值。
Physics.OverlapSphere
public static Collider[] OverlapSphere(Vector3 position, float radius, int layerMask = AllLayers, QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal);
Description:
Returns an array with all colliders touching or inside the sphere.
以上是关于Physics.OverlapSphere的主要内容,如果未能解决你的问题,请参考以下文章