| commands | 要执行的 CapsulecastCommands 的 NaviveArray。 |
| results | 存储命令结果的 RaycastHit 的 NavtiveArray。 |
| minCommandsPerJob | The minimum number of commands to perform in a single job. |
| dependsOn | 必须在执行胶囊体投射之前完成的作业的 jobHandle。 |
| maxHits | The maximum number of Colliders the CapsuleCast can hit. |
JobHandle 返回要执行胶囊体投射的作业的 JobHandle。
Schedules a batch of capsule casts to perform in a job.
| commands | 要执行的 CapsulecastCommands 的 NaviveArray。 |
| results | 存储命令结果的 RaycastHit 的 NavtiveArray。 |
| minCommandsPerJob | The minimum number of commands to perform in a single job. |
| dependsOn | 必须在执行胶囊体投射之前完成的作业的 jobHandle。 |
JobHandle 返回要执行胶囊体投射的作业的 JobHandle。
Schedules a batch of capsule casts to perform in a job.
By default maxHits in this variant is set to 1.