Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


locked

Lock or unlock the offset and position at rest.
Read time 1 minuteLast updated 7 days ago

Definition

bool locked { get; set; }

Remarks

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