Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


locked

Locks the offset and rotation at rest.
Read time 1 minuteLast updated 6 days ago

Definition

public bool locked { get; set; }

Remarks

In Edit mode, unlocks the constraint to update its offsets. In Play mode, the constraint is always locked.