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

This feedback allows you to destroy a target gameobject, either via Destroy, DestroyImmediate, or SetActive:False More...

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

Public Types

enum  Modes { Destroy , DestroyImmediate , Disable }
 sets the inspector color for this feedback More...
 

Public Attributes

GameObject TargetGameObject
 the gameobject we want to change the active state of More...
 
Modes Mode
 the selected destruction mode 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 change the state of our Behaviour if needed More...
 
virtual void ProceedWithDestruction (GameObject go)
 Changes the status of the Behaviour More...
 

Additional Inherited Members

Detailed Description

This feedback allows you to destroy a target gameobject, either via Destroy, DestroyImmediate, or SetActive:False

Member Enumeration Documentation

◆ Modes

sets the inspector color for this feedback

the possible ways to destroy an object

Enumerator
Destroy 
DestroyImmediate 
Disable 

Member Function Documentation

◆ CustomPlayFeedback()

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

On Play we change the state of our Behaviour if needed

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ ProceedWithDestruction()

virtual void MoreMountains.Feedbacks.MMF_Destroy.ProceedWithDestruction ( GameObject  go)
protectedvirtual

Changes the status of the Behaviour

Parameters
state

Member Data Documentation

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_Destroy.FeedbackTypeAuthorized = true
static

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

◆ Mode

Modes MoreMountains.Feedbacks.MMF_Destroy.Mode

the selected destruction mode

◆ TargetGameObject

GameObject MoreMountains.Feedbacks.MMF_Destroy.TargetGameObject

the gameobject we want to change the active state of


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