TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.Feedbacks.MMF_PlayerChain Class Reference

This feedback allows you to chain any number of target MMF Players and play them in sequence, with optional delays before and after. More...

Inheritance diagram for MoreMountains.Feedbacks.MMF_PlayerChain:
MoreMountains.Feedbacks.MMF_Feedback

Classes

class  PlayerChainItem
 A class used to store and define items in a chain of MMF Players. More...

Public Attributes

List< PlayerChainItemPlayers
 the list of MMF Player that make up the chain. The chain's items will be played from index 0 to the last in the list

Static Public Attributes

static bool FeedbackTypeAuthorized = true
 a static bool used to disable all feedbacks of this type at once

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On Play we start our chain.
virtual IEnumerator PlayChain ()
 Plays all players in the chain in sequence.
virtual bool FeedbacksStillPlaying ()
override void CustomSkipToTheEnd (Vector3 position, float feedbacksIntensity=1.0f)
 On skip to the end, we skip for all players in our chain.
override void CustomRestoreInitialValues ()
 On restore, we put our object back at its initial position.

Properties

override float FeedbackDuration [get]
 sets the inspector color for this feedback

Additional Inherited Members

Detailed Description

This feedback allows you to chain any number of target MMF Players and play them in sequence, with optional delays before and after.

Member Function Documentation

◆ CustomPlayFeedback()

override void MoreMountains.Feedbacks.MMF_PlayerChain.CustomPlayFeedback ( Vector3 position,
float feedbacksIntensity = 1::0f )
protected

On Play we start our chain.

Parameters
position
feedbacksIntensity

◆ CustomRestoreInitialValues()

override void MoreMountains.Feedbacks.MMF_PlayerChain.CustomRestoreInitialValues ( )
protectedvirtual

On restore, we put our object back at its initial position.

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomSkipToTheEnd()

override void MoreMountains.Feedbacks.MMF_PlayerChain.CustomSkipToTheEnd ( Vector3 position,
float feedbacksIntensity = 1::0f )
protectedvirtual

On skip to the end, we skip for all players in our chain.

Parameters
position
feedbacksIntensity

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ FeedbacksStillPlaying()

virtual bool MoreMountains.Feedbacks.MMF_PlayerChain.FeedbacksStillPlaying ( )
protectedvirtual

◆ PlayChain()

virtual IEnumerator MoreMountains.Feedbacks.MMF_PlayerChain.PlayChain ( )
protectedvirtual

Plays all players in the chain in sequence.

Returns

Member Data Documentation

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_PlayerChain.FeedbackTypeAuthorized = true
static

a static bool used to disable all feedbacks of this type at once

◆ Players

List<PlayerChainItem> MoreMountains.Feedbacks.MMF_PlayerChain.Players

the list of MMF Player that make up the chain. The chain's items will be played from index 0 to the last in the list

Property Documentation

◆ FeedbackDuration

override float MoreMountains.Feedbacks.MMF_PlayerChain.FeedbackDuration
get

sets the inspector color for this feedback

the duration of this feedback is the duration of the chain


The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacks/Feedbacks/MMF_PlayerChain.cs