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

This feedback allows you to hold a reference, that can then be used by other feedbacks to automatically set their target. It doesn't do anything when played. More...

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

Public Attributes

override float FeedbackDuration => 0f
 sets the inspector color for this feedback More...
 
override bool DisplayFullHeaderColor => true
 
GameObject GameObjectReference
 the game object to set as the target (or on which to look for a specific component as a target) of all feedbacks that may look at this reference holder for a target More...
 
bool ForceReferenceOnAll = false
 whether or not to force this reference holder on all compatible feedbacks in the MMF Player's 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 CustomInitialization (MMF_Player owner)
 On init we force our reference on all feedbacks if needed More...
 
override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On Play we do nothing More...
 

Additional Inherited Members

Detailed Description

This feedback allows you to hold a reference, that can then be used by other feedbacks to automatically set their target. It doesn't do anything when played.

Member Function Documentation

◆ CustomInitialization()

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

On init we force our reference on all feedbacks if needed

Parameters
owner

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomPlayFeedback()

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

On Play we do nothing

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ DisplayFullHeaderColor

override bool MoreMountains.Feedbacks.MMF_ReferenceHolder.DisplayFullHeaderColor => true

◆ FeedbackDuration

override float MoreMountains.Feedbacks.MMF_ReferenceHolder.FeedbackDuration => 0f

sets the inspector color for this feedback

the duration of this feedback is 0

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_ReferenceHolder.FeedbackTypeAuthorized = true
static

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

◆ ForceReferenceOnAll

bool MoreMountains.Feedbacks.MMF_ReferenceHolder.ForceReferenceOnAll = false

whether or not to force this reference holder on all compatible feedbacks in the MMF Player's list

◆ GameObjectReference

GameObject MoreMountains.Feedbacks.MMF_ReferenceHolder.GameObjectReference

the game object to set as the target (or on which to look for a specific component as a target) of all feedbacks that may look at this reference holder for a target


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