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

This feedback allows you to control one or more target MMF Players More...

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

Public Types

enum  Modes {
  Modes.PlayFeedbacks, Modes.StopFeedbacks, Modes.PauseFeedbacks, Modes.ResumeFeedbacks,
  Modes.Initialization, Modes.PlayFeedbacksInReverse, Modes.PlayFeedbacksOnlyIfReversed, Modes.PlayFeedbacksOnlyIfNormalDirection,
  Modes.ResetFeedbacks, Modes.Revert, Modes.SetDirectionTopToBottom, Modes.SetDirectionBottomToTop,
  Modes.RestoreInitialValues, Modes.SkipToTheEnd, Modes.RefreshCache
}
 

Public Attributes

override bool HasChannel => false
 sets the inspector color for this feedback More...
 
List< MMF_PlayerTargetPlayers
 a list of target MMF_Players to play More...
 
Modes Mode = Modes.PlayFeedbacks
 

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 CustomInitialization (MMF_Player owner)
 On init we turn the light off if needed More...
 
override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On Play we trigger the selected method on our target players More...
 

Additional Inherited Members

Detailed Description

This feedback allows you to control one or more target MMF Players

Member Enumeration Documentation

◆ Modes

Enumerator
PlayFeedbacks 
StopFeedbacks 
PauseFeedbacks 
ResumeFeedbacks 
Initialization 
PlayFeedbacksInReverse 
PlayFeedbacksOnlyIfReversed 
PlayFeedbacksOnlyIfNormalDirection 
ResetFeedbacks 
Revert 
SetDirectionTopToBottom 
SetDirectionBottomToTop 
RestoreInitialValues 
SkipToTheEnd 
RefreshCache 

Member Function Documentation

◆ CustomInitialization()

override void MoreMountains.Feedbacks.MMF_PlayerControl.CustomInitialization ( MMF_Player  owner)
protectedvirtual

On init we turn the light off if needed

Parameters
owner

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomPlayFeedback()

override void MoreMountains.Feedbacks.MMF_PlayerControl.CustomPlayFeedback ( Vector3  position,
float  feedbacksIntensity = 1.0f 
)
protectedvirtual

On Play we trigger the selected method on our target players

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_PlayerControl.FeedbackTypeAuthorized = true
static

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

◆ HasChannel

override bool MoreMountains.Feedbacks.MMF_PlayerControl.HasChannel => false

sets the inspector color for this feedback

◆ Mode

Modes MoreMountains.Feedbacks.MMF_PlayerControl.Mode = Modes.PlayFeedbacks

◆ TargetPlayers

List<MMF_Player> MoreMountains.Feedbacks.MMF_PlayerControl.TargetPlayers

a list of target MMF_Players to play


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