Feel
4.0.1
The best way to improve your game's feel and make it extra juicy
|
A variant of the Camera Shaker that acts on the rotation instead of the position. Careful, can cause vertigo to some users. More...
Public Member Functions | |
override void | ShakeCamera (float duration, float amplitude, float frequency, float amplitudeX, float amplitudeY, float amplitudeZ, bool useUnscaledTime) |
Shakes the camera for Duration seconds, by the desired amplitude and frequency More... | |
Public Member Functions inherited from MoreMountains.Feedbacks.MMCameraShaker | |
virtual void | OnCameraShakeEvent (float duration, float amplitude, float frequency, float amplitudeX, float amplitudeY, float amplitudeZ, bool infinite, MMChannelData channelData, bool useUnscaledTime) |
When a MMCameraShakeEvent is caught, shakes the camera More... | |
Additional Inherited Members | |
Public Attributes inherited from MoreMountains.Feedbacks.MMCameraShaker | |
MMChannelModes | ChannelMode = MMChannelModes.Int |
int | Channel = 0 |
the channel to listen to - has to match the one on the feedback More... | |
MMChannel | MMChannelDefinition = null |
float | CooldownBetweenShakes = 0f |
a cooldown, in seconds, after a shake, during which no other shake can start More... | |
Protected Member Functions inherited from MoreMountains.Feedbacks.MMCameraShaker | |
virtual void | Awake () |
On Awake, grabs the MMShaker component More... | |
virtual void | OnEnable () |
On enable, starts listening for events More... | |
virtual void | OnDisable () |
On disable, stops listening to events More... | |
Protected Attributes inherited from MoreMountains.Feedbacks.MMCameraShaker | |
MMWiggle | _wiggle |
float | _shakeStartedTimestamp = -Single.MaxValue |
A variant of the Camera Shaker that acts on the rotation instead of the position. Careful, can cause vertigo to some users.
|
virtual |
Shakes the camera for Duration seconds, by the desired amplitude and frequency
duration | Duration. |
amplitude | Amplitude. |
frequency | Frequency. |
Reimplemented from MoreMountains.Feedbacks.MMCameraShaker.