Feel
5.1
The best way to improve your game's feel and make it extra juicy
|
Add this component to an object to randomize its position/rotation/scale on demand or automatically More...
Public Types | |
enum | AutoExecutionModes { AutoExecutionModes.Never, AutoExecutionModes.OnAwake, AutoExecutionModes.OnStart, AutoExecutionModes.OnEnable } |
the possible ways to automatically randomize More... | |
Public Member Functions | |
virtual void | Randomize () |
Randomizes position, rotation, scale, and cleanups if necessary More... | |
Public Attributes | |
bool | RandomizePosition = true |
whether or not to randomize position More... | |
Vector3 | MinRandomPosition |
the minimum position to apply when randomizing More... | |
Vector3 | MaxRandomPosition |
the maximum position to apply when randomizing More... | |
bool | RandomizeRotation = true |
whether or not to randomize rotation More... | |
Vector3 | MinRandomRotation |
the minimum rotation to apply when randomizing (in degrees) More... | |
Vector3 | MaxRandomRotation |
the maximum rotation to apply when randomizing (in degrees) More... | |
bool | RandomizeScale = true |
whether or not to randomize scale More... | |
Vector3 | MinRandomScale |
the minimum scale to apply when randomizing More... | |
Vector3 | MaxRandomScale |
the maximum scale to apply when randomizing More... | |
bool | AutoRemoveAfterRandomize = false |
whether or not to remove this component after randomizing its attributes More... | |
bool | RemoveAllColliders = false |
whether or not to remove all colliders attached to this object More... | |
AutoExecutionModes | AutoExecutionMode = AutoExecutionModes.Never |
the selected auto execution mode More... | |
Protected Member Functions | |
virtual void | Awake () |
On Awake we randomize if needed More... | |
virtual void | Start () |
On Start we randomize if needed More... | |
virtual void | OnEnable () |
On Enable we randomize if needed More... | |
virtual void | ProcessRandomizePosition () |
Randomizes the position More... | |
virtual void | ProcessRandomizeRotation () |
Randomizes the rotation More... | |
virtual void | ProcessRandomizeScale () |
Randomizes the scale More... | |
virtual void | RemoveColliders () |
Removes all colliders attached to this object or its children More... | |
virtual void | Cleanup () |
Destroys this component More... | |
Add this component to an object to randomize its position/rotation/scale on demand or automatically
|
protectedvirtual |
On Awake we randomize if needed
|
protectedvirtual |
Destroys this component
|
protectedvirtual |
On Enable we randomize if needed
|
protectedvirtual |
Randomizes the position
|
protectedvirtual |
Randomizes the rotation
|
protectedvirtual |
Randomizes the scale
|
virtual |
Randomizes position, rotation, scale, and cleanups if necessary
|
protectedvirtual |
Removes all colliders attached to this object or its children
|
protectedvirtual |
On Start we randomize if needed
AutoExecutionModes MoreMountains.Tools.MMTransformRandomizer.AutoExecutionMode = AutoExecutionModes.Never |
the selected auto execution mode
bool MoreMountains.Tools.MMTransformRandomizer.AutoRemoveAfterRandomize = false |
whether or not to remove this component after randomizing its attributes
Vector3 MoreMountains.Tools.MMTransformRandomizer.MaxRandomPosition |
the maximum position to apply when randomizing
Vector3 MoreMountains.Tools.MMTransformRandomizer.MaxRandomRotation |
the maximum rotation to apply when randomizing (in degrees)
Vector3 MoreMountains.Tools.MMTransformRandomizer.MaxRandomScale |
the maximum scale to apply when randomizing
Vector3 MoreMountains.Tools.MMTransformRandomizer.MinRandomPosition |
the minimum position to apply when randomizing
Vector3 MoreMountains.Tools.MMTransformRandomizer.MinRandomRotation |
the minimum rotation to apply when randomizing (in degrees)
Vector3 MoreMountains.Tools.MMTransformRandomizer.MinRandomScale |
the minimum scale to apply when randomizing
bool MoreMountains.Tools.MMTransformRandomizer.RandomizePosition = true |
whether or not to randomize position
bool MoreMountains.Tools.MMTransformRandomizer.RandomizeRotation = true |
whether or not to randomize rotation
bool MoreMountains.Tools.MMTransformRandomizer.RandomizeScale = true |
whether or not to randomize scale
bool MoreMountains.Tools.MMTransformRandomizer.RemoveAllColliders = false |
whether or not to remove all colliders attached to this object