기술 자료

Unity Engine

Unity Engine

BoxCollider

A box-shaped primitive collider.
읽는 시간 6분최근 업데이트: 한 달 전

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
  • Inherits from: Collider
[RequireComponent(typeof(Transform))]public class BoxCollider : Collider

Remarks

Properties

Property

Description

centerThe center of the box, measured in the object's local space.
sizeThe size of the box, measured in the object's local space.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.