Feel  4.0.1
The best way to improve your game's feel and make it extra juicy
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 More...
 

Static Public Attributes

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

Protected Member Functions

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

Properties

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

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 
)
protectedvirtual

On Play we start our chain

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ 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.

◆ 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: