Feel 5.9.1
The best way to improve your game's feel and make it extra juicy
Loading...
Searching...
No Matches
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 { Single , Random }
 sets the inspector color for this feedback More...

Public Attributes

Modes Mode = Modes.Single
 the selected mode
Material SingleSkybox
 the skybox to assign when in Single mode
Material[] RandomSkyboxes
 the skyboxes to pick from when in Random mode

Static Public Attributes

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

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On play, we set the scene's skybox to a new one.
override void CustomRestoreInitialValues ()
 On restore, we put our object back at its initial position.

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 )
protected

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

Parameters
position
feedbacksIntensity

◆ 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:
  • H:/Code/MoreMountains/feel/Assets/Feel/MMFeedbacks/MMFeedbacks/Feedbacks/MMF_Skybox.cs