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

This feedback will let you change the scene's skybox on play, replacing it with another one, either a specific one, or one picked at random among multiple skyboxes. More...

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

Public Types

enum  Modes { Modes.Single, Modes.Random }
 sets the inspector color for this feedback More...
 

Public Attributes

Modes Mode = Modes.Single
 the selected mode More...
 
Material SingleSkybox
 the skybox to assign when in Single mode More...
 
Material[] RandomSkyboxes
 the skyboxes to pick from when in Random 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 set the scene's skybox to a new one More...
 
override void CustomRestoreInitialValues ()
 On restore, we put our object back at its initial position More...
 

Protected Attributes

Material _initialSkybox
 

Additional Inherited Members

Detailed Description

This feedback will let you change the scene's skybox on play, replacing it with another one, either a specific one, or one picked at random among multiple skyboxes.

Member Enumeration Documentation

◆ Modes

sets the inspector color for this feedback

whether skyboxes are selected at random or not

Enumerator
Single 
Random 

Member Function Documentation

◆ CustomPlayFeedback()

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

On play, we set the scene's skybox to a new one

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomRestoreInitialValues()

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

On restore, we put our object back at its initial position

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ _initialSkybox

Material MoreMountains.Feedbacks.MMF_Skybox._initialSkybox
protected

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_Skybox.FeedbackTypeAuthorized = true
static

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

◆ Mode

Modes MoreMountains.Feedbacks.MMF_Skybox.Mode = Modes.Single

the selected mode

◆ RandomSkyboxes

Material [] MoreMountains.Feedbacks.MMF_Skybox.RandomSkyboxes

the skyboxes to pick from when in Random mode

◆ SingleSkybox

Material MoreMountains.Feedbacks.MMF_Skybox.SingleSkybox

the skybox to assign when in Single mode


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