LockRotation
Class in Zigurous.Utility
Declaration
public sealed class LockRotation : MonoBehaviourDescription
Locks the rotation of the transform to a specified value.
Properties
| constraints | The rotation axes to lock. |
| lockToStartRotation | Sets the locked rotation to the transform's rotation at startup. |
| lockedRotation | The locked rotation of the transform. |