TopDown Engine v5.0
Loading...
Searching...
No Matches
MoreMountains.FeedbacksForThirdParty.MMCinemachinePriorityListener Class Reference

Add this to a Cinemachine 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
MMChannel MMChannelDefinition = null

Protected Member Functions

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

Detailed Description

Add this to a Cinemachine 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 CM 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:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacksForThirdParty/Cinemachine/Shakers/MMCinemachinePriorityListener.cs