LockPosition
Class in Zigurous.Utility
Declaration
public sealed class LockPosition : MonoBehaviour
Description
Locks the position of the transform to a specified value.
Properties
constraints | The position axes to lock. |
lockToStartPosition | Sets the locked position to the transform's position at startup. |
lockedPosition | The locked position of the transform. |