LockTransform


Declaration

public sealed class LockTransform : MonoBehaviour

Description

Locks the transform properties to specified values.

Properties

spaceThe coordinate space the transform is updated in.
constraintsThe transform properties to lock.
useTransformValuesSets the locked values to the transform's values at startup.
lockedPositionThe locked position of the transform.
lockedRotationThe locked rotation of the transform.
lockedScaleThe locked scale of the transform.