Feel  4.0.1
The best way to improve your game's feel and make it extra juicy
MoreMountains.FeedbacksForThirdParty.MMCinemachinePriorityListener Class Reference

Add this to a Cinemachine virtual camera and it'll be able to listen to MMCinemachinePriorityEvent, usually triggered by a MMFeedbackCinemachineTransition More...

Inheritance diagram for MoreMountains.FeedbacksForThirdParty.MMCinemachinePriorityListener:

Public Member Functions

virtual float GetTime ()
 
virtual float GetDeltaTime ()
 

Public Attributes

TimescaleModes TimescaleMode = TimescaleModes.Scaled
 
MMChannelModes ChannelMode = MMChannelModes.Int
 
int Channel = 0
 the channel to listen to - has to match the one on the feedback More...
 
MMChannel MMChannelDefinition = null
 

Protected Member Functions

virtual void Awake ()
 On Awake we store our virtual camera More...
 
virtual void SetPriority (int newPriority)
 
virtual void OnEnable ()
 On enable we start listening for events More...
 
virtual void OnDisable ()
 Stops listening for events More...
 

Detailed Description

Add this to a Cinemachine virtual camera and it'll be able to listen to MMCinemachinePriorityEvent, usually triggered by a MMFeedbackCinemachineTransition

Member Function Documentation

◆ Awake()

virtual void MoreMountains.FeedbacksForThirdParty.MMCinemachinePriorityListener.Awake ( )
protectedvirtual

On Awake we store our virtual camera

◆ GetDeltaTime()

virtual float MoreMountains.FeedbacksForThirdParty.MMCinemachinePriorityListener.GetDeltaTime ( )
virtual

◆ GetTime()

virtual float MoreMountains.FeedbacksForThirdParty.MMCinemachinePriorityListener.GetTime ( )
virtual

◆ OnDisable()

virtual void MoreMountains.FeedbacksForThirdParty.MMCinemachinePriorityListener.OnDisable ( )
protectedvirtual

Stops listening for events

◆ OnEnable()

virtual void MoreMountains.FeedbacksForThirdParty.MMCinemachinePriorityListener.OnEnable ( )
protectedvirtual

On enable we start listening for events

◆ SetPriority()

virtual void MoreMountains.FeedbacksForThirdParty.MMCinemachinePriorityListener.SetPriority ( int  newPriority)
protectedvirtual

Member Data Documentation

◆ Channel

int MoreMountains.FeedbacksForThirdParty.MMCinemachinePriorityListener.Channel = 0

the channel to listen to - has to match the one on the feedback

◆ ChannelMode

MMChannelModes MoreMountains.FeedbacksForThirdParty.MMCinemachinePriorityListener.ChannelMode = MMChannelModes.Int

◆ MMChannelDefinition

MMChannel MoreMountains.FeedbacksForThirdParty.MMCinemachinePriorityListener.MMChannelDefinition = null

the MMChannel definition asset to use to listen for events. The feedbacks targeting this shaker will have to reference that same MMChannel definition to receive events - to create a MMChannel, right click anywhere in your project (usually in a Data folder) and go MoreMountains > MMChannel, then name it with some unique name

◆ TimescaleMode

TimescaleModes MoreMountains.FeedbacksForThirdParty.MMCinemachinePriorityListener.TimescaleMode = TimescaleModes.Scaled

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