Documentation

Unity Engine

Unity Engine

locked

Lock or unlock the offset and position at rest.
Read time 1 minuteLast updated a month 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.