Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.닫기
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.닫기
|halfExtents||Half the size of the box in each dimension.|
|direction||스윕 테스트를 위한 구(sphere)로의 방향.|
|results||The buffer to store the results in.|
|orientation||Rotation of the box.|
|layermask||Layer mask는 캡슐 캐스팅을 할 때 선택적으로 콜라이더를 무시할 때에 사용됩니다.|
|queryTriggerInteraction||Specifies whether this query should hit Triggers.|
The amount of hits stored to the
Cast the box along the direction, and store hits in the provided buffer.