implicit operator PhysicsJoint
Cast to the base PhysicsJoint.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Operator
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
implicit operator PhysicsJoint(PhysicsJoin)
Cast to the base PhysicsJoint.
public static implicit operator PhysicsJoint(PhysicsIgnoreJoint joint)
Parameters
The current joint.
Returns
Type | Description |
|---|---|
| PhysicsJoint |
implicit operator PhysicsIgnoreJoint(PhysicsIgnoreJoin)
Cast to a PhysicsIgnoreJoint from the base PhysicsJoint. The provided joint must be a joint type of PhysicsJoint.JointType.IgnoreJoint.
public static implicit operator PhysicsIgnoreJoint(PhysicsJoint joint)
Parameters
Returns
Type | Description |
|---|---|
| PhysicsIgnoreJoint |