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

A class collecting target acquisition settings More...

Public Types

enum  Modes {
  Modes.None, Modes.Self, Modes.AnyChild, Modes.ChildAtIndex,
  Modes.Parent, Modes.FirstReferenceHolder, Modes.PreviousReferenceHolder, Modes.ClosestReferenceHolder,
  Modes.NextReferenceHolder, Modes.LastReferenceHolder
}
 

Static Public Member Functions

static MMF_ReferenceHolder GetReferenceHolder (MMFeedbackTargetAcquisition settings, MMF_Player owner, int currentFeedbackIndex)
 
static GameObject FindAutomatedTargetGameObject (MMFeedbackTargetAcquisition settings, MMF_Player owner, int currentFeedbackIndex)
 
static T FindAutomatedTarget< T > (MMFeedbackTargetAcquisition settings, MMF_Player owner, int currentFeedbackIndex)
 

Public Attributes

Modes Mode = Modes.None
 
int ChildIndex = 0
 

Detailed Description

A class collecting target acquisition settings

Member Enumeration Documentation

◆ Modes

Enumerator
None 
Self 
AnyChild 
ChildAtIndex 
Parent 
FirstReferenceHolder 
PreviousReferenceHolder 
ClosestReferenceHolder 
NextReferenceHolder 
LastReferenceHolder 

Member Function Documentation

◆ FindAutomatedTarget< T >()

static T MoreMountains.Feedbacks.MMFeedbackTargetAcquisition.FindAutomatedTarget< T > ( MMFeedbackTargetAcquisition  settings,
MMF_Player  owner,
int  currentFeedbackIndex 
)
static

◆ FindAutomatedTargetGameObject()

static GameObject MoreMountains.Feedbacks.MMFeedbackTargetAcquisition.FindAutomatedTargetGameObject ( MMFeedbackTargetAcquisition  settings,
MMF_Player  owner,
int  currentFeedbackIndex 
)
static

◆ GetReferenceHolder()

static MMF_ReferenceHolder MoreMountains.Feedbacks.MMFeedbackTargetAcquisition.GetReferenceHolder ( MMFeedbackTargetAcquisition  settings,
MMF_Player  owner,
int  currentFeedbackIndex 
)
static

Member Data Documentation

◆ ChildIndex

int MoreMountains.Feedbacks.MMFeedbackTargetAcquisition.ChildIndex = 0

◆ Mode

Modes MoreMountains.Feedbacks.MMFeedbackTargetAcquisition.Mode = Modes.None

the selected mode for target acquisition None : nothing will happen Self : the target will be picked on the MMF Player's game object AnyChild : the target will be picked on any of the MMF Player's child objects ChildAtIndex : the target will be picked on the child at index X of the MMF Player Parent : the target will be picked on the first parent where a matching target is found Various reference holders : the target will be picked on the specified reference holder in the list (either the first one, previous : first one found before this feedback in the list, closest in any direction from this feedback, the next one found, or the last one in the list)


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