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

This feedback will let you turn the BlocksRaycast parameter of a target CanvasGroup on or off on play More...

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

Public Attributes

override bool HasAutomatedTargetAcquisition => true
 
CanvasGroup TargetCanvasGroup
 the target canvas group we want to control the BlocksRaycasts parameter on More...
 
bool ShouldBlockRaycasts = true
 if this is true, on play, the target canvas group will block raycasts, if false it won't 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 AutomateTargetAcquisition ()
 A method meant to be implemented per feedback letting you specify what happens (usually setting a target) More...
 
override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On play we turn raycast block on or off More...
 
override void CustomRestoreInitialValues ()
 On restore, we restore our initial state More...
 

Protected Attributes

bool _initialState
 

Additional Inherited Members

Detailed Description

This feedback will let you turn the BlocksRaycast parameter of a target CanvasGroup on or off on play

Member Function Documentation

◆ AutomateTargetAcquisition()

override void MoreMountains.Feedbacks.MMF_CanvasGroupBlocksRaycasts.AutomateTargetAcquisition ( )
protectedvirtual

A method meant to be implemented per feedback letting you specify what happens (usually setting a target)

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomPlayFeedback()

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

On play we turn raycast block on or off

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomRestoreInitialValues()

override void MoreMountains.Feedbacks.MMF_CanvasGroupBlocksRaycasts.CustomRestoreInitialValues ( )
protectedvirtual

On restore, we restore our initial state

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ _initialState

bool MoreMountains.Feedbacks.MMF_CanvasGroupBlocksRaycasts._initialState
protected

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_CanvasGroupBlocksRaycasts.FeedbackTypeAuthorized = true
static

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

◆ HasAutomatedTargetAcquisition

override bool MoreMountains.Feedbacks.MMF_CanvasGroupBlocksRaycasts.HasAutomatedTargetAcquisition => true

◆ ShouldBlockRaycasts

bool MoreMountains.Feedbacks.MMF_CanvasGroupBlocksRaycasts.ShouldBlockRaycasts = true

if this is true, on play, the target canvas group will block raycasts, if false it won't

◆ TargetCanvasGroup

CanvasGroup MoreMountains.Feedbacks.MMF_CanvasGroupBlocksRaycasts.TargetCanvasGroup

the target canvas group we want to control the BlocksRaycasts parameter on


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