implicit operator PhysicsJoint
Cast to the base PhysicsJoint.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Operator
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
implicit operator PhysicsJoint(PhysicsJoin)
Cast to the base PhysicsJoint.
public static implicit operator PhysicsJoint(PhysicsWheelJoint joint)
Parameters
The current joint.
Returns
Type | Description |
|---|---|
| PhysicsJoint |
implicit operator PhysicsWheelJoint(PhysicsWheelJoin)
Cast to a PhysicsWheelJoint from the base PhysicsJoint. The provided joint must be a joint type of PhysicsJoint.JointType.WheelJoint.
public static implicit operator PhysicsWheelJoint(PhysicsJoint joint)
Parameters
Returns
Type | Description |
|---|---|
| PhysicsWheelJoint |