Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Feedbacks.MMF_PlayerEvents Class Reference

A subclass of MMFeedbacks, contains UnityEvents that can be played, More...

Public Member Functions

virtual void Initialization ()
 On init we store for each event whether or not we have one to invoke More...
 
virtual void TriggerOnPlay (MMF_Player source)
 Fires Play events if needed More...
 
virtual void TriggerOnPause (MMF_Player source)
 Fires pause events if needed More...
 
virtual void TriggerOnResume (MMF_Player source)
 Fires resume events if needed More...
 
virtual void TriggerOnRevert (MMF_Player source)
 Fires revert events if needed More...
 
virtual void TriggerOnComplete (MMF_Player source)
 Fires complete events if needed More...
 

Public Attributes

bool TriggerMMFeedbacksEvents = false
 whether or not this MMFeedbacks should fire MMFeedbacksEvents More...
 
bool TriggerUnityEvents = true
 whether or not this MMFeedbacks should fire Unity Events More...
 
UnityEvent OnPlay
 This event will fire every time this MMFeedbacks gets played. More...
 
UnityEvent OnPause
 This event will fire every time this MMFeedbacks starts a holding pause. More...
 
UnityEvent OnResume
 This event will fire every time this MMFeedbacks resumes after a holding pause. More...
 
UnityEvent OnRevert
 This event will fire every time this MMFeedbacks reverts its play direction. More...
 
UnityEvent OnComplete
 This event will fire every time this MMFeedbacks plays its last MMFeedback. More...
 

Properties

virtual bool OnPlayIsNull [get, protected set]
 
virtual bool OnPauseIsNull [get, protected set]
 
virtual bool OnResumeIsNull [get, protected set]
 
virtual bool OnRevertIsNull [get, protected set]
 
virtual bool OnCompleteIsNull [get, protected set]
 

Detailed Description

A subclass of MMFeedbacks, contains UnityEvents that can be played,

Member Function Documentation

◆ Initialization()

virtual void MoreMountains.Feedbacks.MMF_PlayerEvents.Initialization ( )
virtual

On init we store for each event whether or not we have one to invoke

◆ TriggerOnComplete()

virtual void MoreMountains.Feedbacks.MMF_PlayerEvents.TriggerOnComplete ( MMF_Player  source)
virtual

Fires complete events if needed

Parameters
source

◆ TriggerOnPause()

virtual void MoreMountains.Feedbacks.MMF_PlayerEvents.TriggerOnPause ( MMF_Player  source)
virtual

Fires pause events if needed

Parameters
source

◆ TriggerOnPlay()

virtual void MoreMountains.Feedbacks.MMF_PlayerEvents.TriggerOnPlay ( MMF_Player  source)
virtual

Fires Play events if needed

Parameters
source

◆ TriggerOnResume()

virtual void MoreMountains.Feedbacks.MMF_PlayerEvents.TriggerOnResume ( MMF_Player  source)
virtual

Fires resume events if needed

Parameters
source

◆ TriggerOnRevert()

virtual void MoreMountains.Feedbacks.MMF_PlayerEvents.TriggerOnRevert ( MMF_Player  source)
virtual

Fires revert events if needed

Parameters
source

Member Data Documentation

◆ OnComplete

UnityEvent MoreMountains.Feedbacks.MMF_PlayerEvents.OnComplete

This event will fire every time this MMFeedbacks plays its last MMFeedback.

◆ OnPause

UnityEvent MoreMountains.Feedbacks.MMF_PlayerEvents.OnPause

This event will fire every time this MMFeedbacks starts a holding pause.

◆ OnPlay

UnityEvent MoreMountains.Feedbacks.MMF_PlayerEvents.OnPlay

This event will fire every time this MMFeedbacks gets played.

◆ OnResume

UnityEvent MoreMountains.Feedbacks.MMF_PlayerEvents.OnResume

This event will fire every time this MMFeedbacks resumes after a holding pause.

◆ OnRevert

UnityEvent MoreMountains.Feedbacks.MMF_PlayerEvents.OnRevert

This event will fire every time this MMFeedbacks reverts its play direction.

◆ TriggerMMFeedbacksEvents

bool MoreMountains.Feedbacks.MMF_PlayerEvents.TriggerMMFeedbacksEvents = false

whether or not this MMFeedbacks should fire MMFeedbacksEvents

◆ TriggerUnityEvents

bool MoreMountains.Feedbacks.MMF_PlayerEvents.TriggerUnityEvents = true

whether or not this MMFeedbacks should fire Unity Events

Property Documentation

◆ OnCompleteIsNull

virtual bool MoreMountains.Feedbacks.MMF_PlayerEvents.OnCompleteIsNull
getprotected set

◆ OnPauseIsNull

virtual bool MoreMountains.Feedbacks.MMF_PlayerEvents.OnPauseIsNull
getprotected set

◆ OnPlayIsNull

virtual bool MoreMountains.Feedbacks.MMF_PlayerEvents.OnPlayIsNull
getprotected set

◆ OnResumeIsNull

virtual bool MoreMountains.Feedbacks.MMF_PlayerEvents.OnResumeIsNull
getprotected set

◆ OnRevertIsNull

virtual bool MoreMountains.Feedbacks.MMF_PlayerEvents.OnRevertIsNull
getprotected set

The documentation for this class was generated from the following file: