Infinite Runner Engine v1.9
Public Types | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
MoreMountains.Feedbacks.MMF_SetActive Class Reference

Turns an object active or inactive at the various stages of the feedback More...

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

Public Types

enum  PossibleStates { Active , Inactive , Toggle }
 sets the inspector color for this feedback More...
 

Public Attributes

GameObject TargetGameObject
 the gameobject we want to change the active state of More...
 
bool SetStateOnInit = false
 whether or not we should alter the state of the target object on init More...
 
PossibleStates StateOnInit = PossibleStates.Inactive
 how to change the state on init More...
 
bool SetStateOnPlay = false
 whether or not we should alter the state of the target object on play More...
 
PossibleStates StateOnPlay = PossibleStates.Inactive
 how to change the state on play More...
 
bool SetStateOnStop = false
 whether or not we should alter the state of the target object on stop More...
 
PossibleStates StateOnStop = PossibleStates.Inactive
 how to change the state on stop More...
 
bool SetStateOnReset = false
 whether or not we should alter the state of the target object on reset More...
 
PossibleStates StateOnReset = PossibleStates.Inactive
 how to change the state on reset 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 change the state of our object if needed More...
 
override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On Play we change the state of our object if needed More...
 
override void CustomStopFeedback (Vector3 position, float feedbacksIntensity=1)
 On Stop we change the state of our object if needed More...
 
override void CustomReset ()
 On Reset we change the state of our object if needed More...
 
virtual void SetStatus (PossibleStates state)
 Changes the status of the object More...
 

Additional Inherited Members

Detailed Description

Turns an object active or inactive at the various stages of the feedback

Member Enumeration Documentation

◆ PossibleStates

sets the inspector color for this feedback

the possible effects the feedback can have on the target object's status

Enumerator
Active 
Inactive 
Toggle 

Member Function Documentation

◆ CustomInitialization()

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

On init we change the state of our object if needed

Parameters
owner

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomPlayFeedback()

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

On Play we change the state of our object if needed

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomReset()

override void MoreMountains.Feedbacks.MMF_SetActive.CustomReset ( )
protectedvirtual

On Reset we change the state of our object if needed

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomStopFeedback()

override void MoreMountains.Feedbacks.MMF_SetActive.CustomStopFeedback ( Vector3  position,
float  feedbacksIntensity = 1 
)
protectedvirtual

On Stop we change the state of our object if needed

Parameters
position
feedbacksIntensity

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ SetStatus()

virtual void MoreMountains.Feedbacks.MMF_SetActive.SetStatus ( PossibleStates  state)
protectedvirtual

Changes the status of the object

Parameters
state

Member Data Documentation

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_SetActive.FeedbackTypeAuthorized = true
static

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

◆ SetStateOnInit

bool MoreMountains.Feedbacks.MMF_SetActive.SetStateOnInit = false

whether or not we should alter the state of the target object on init

◆ SetStateOnPlay

bool MoreMountains.Feedbacks.MMF_SetActive.SetStateOnPlay = false

whether or not we should alter the state of the target object on play

◆ SetStateOnReset

bool MoreMountains.Feedbacks.MMF_SetActive.SetStateOnReset = false

whether or not we should alter the state of the target object on reset

◆ SetStateOnStop

bool MoreMountains.Feedbacks.MMF_SetActive.SetStateOnStop = false

whether or not we should alter the state of the target object on stop

◆ StateOnInit

PossibleStates MoreMountains.Feedbacks.MMF_SetActive.StateOnInit = PossibleStates.Inactive

how to change the state on init

◆ StateOnPlay

PossibleStates MoreMountains.Feedbacks.MMF_SetActive.StateOnPlay = PossibleStates.Inactive

how to change the state on play

◆ StateOnReset

PossibleStates MoreMountains.Feedbacks.MMF_SetActive.StateOnReset = PossibleStates.Inactive

how to change the state on reset

◆ StateOnStop

PossibleStates MoreMountains.Feedbacks.MMF_SetActive.StateOnStop = PossibleStates.Inactive

how to change the state on stop

◆ TargetGameObject

GameObject MoreMountains.Feedbacks.MMF_SetActive.TargetGameObject

the gameobject we want to change the active state of


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