Feel
4.3
The best way to improve your game's feel and make it extra juicy
|
This class forces a transform to stay at a fixed position, rotation and/or scale. More...
Public Types | |
enum | Spaces { Spaces.World, Spaces.Local } |
enum | UpdateModes { UpdateModes.Update, UpdateModes.FixedUpdate, UpdateModes.LateUpdate } |
Public Attributes | |
UpdateModes | UpdateMode = UpdateModes.LateUpdate |
Spaces | Space = Spaces.World |
bool | FixedPosition = true |
bool | FixedRotation = true |
bool | FixedScale = true |
bool | OverridePosition = false |
Vector3 | OverridePositionValue |
bool | OverrideRotation = false |
Vector3 | OverrideRotationValue |
bool | OverrideScale = false |
Vector3 | OverrideScaleValue |
Protected Member Functions | |
virtual void | Awake () |
virtual void | Initialization () |
virtual void | Update () |
virtual void | FixedUpdate () |
virtual void | LateUpdate () |
virtual void | StayInPlace () |
Protected Attributes | |
Vector3 | _initialPosition |
Quaternion | _initialRotation |
Vector3 | _initialScale |
This class forces a transform to stay at a fixed position, rotation and/or scale.
|
strong |
|
strong |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
bool MoreMountains.Tools.MMStayInPlace.FixedPosition = true |
bool MoreMountains.Tools.MMStayInPlace.FixedRotation = true |
bool MoreMountains.Tools.MMStayInPlace.FixedScale = true |
bool MoreMountains.Tools.MMStayInPlace.OverridePosition = false |
Vector3 MoreMountains.Tools.MMStayInPlace.OverridePositionValue |
bool MoreMountains.Tools.MMStayInPlace.OverrideRotation = false |
Vector3 MoreMountains.Tools.MMStayInPlace.OverrideRotationValue |
bool MoreMountains.Tools.MMStayInPlace.OverrideScale = false |
Vector3 MoreMountains.Tools.MMStayInPlace.OverrideScaleValue |
Spaces MoreMountains.Tools.MMStayInPlace.Space = Spaces.World |
UpdateModes MoreMountains.Tools.MMStayInPlace.UpdateMode = UpdateModes.LateUpdate |