Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


locked

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

Definition

public bool locked { get; set; }

Remarks

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