Documentation

Unity Engine

Unity Engine

implicit operator PhysicsJoint

Cast to the base PhysicsJoint.
Read time 1 minuteLast updated a month ago

Definition

implicit operator PhysicsJoint(PhysicsJoin)

Cast to the base PhysicsJoint.
public static implicit operator PhysicsJoint(PhysicsSliderJoint joint)

Parameters

The current joint.

Returns

Type

Description

PhysicsJoint

implicit operator PhysicsSliderJoint(PhysicsSliderJoin)

Cast to a PhysicsSliderJoint from the base PhysicsJoint. The provided joint must be a joint type of PhysicsJoint.JointType.SliderJoint.
public static implicit operator PhysicsSliderJoint(PhysicsJoint joint)

Parameters

Returns

Type

Description

PhysicsSliderJoint