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

This feedback lets you unload a scene by name or build index More...

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

Public Types

enum  ColorModes { ColorModes.Instant, ColorModes.Gradient, ColorModes.Interpolate }
 
enum  Methods { Methods.BuildIndex, Methods.SceneName }
 sets the inspector color for this feedback More...
 

Public Attributes

Methods Method = Methods.SceneName
 whether to unload a scene by build index or by name More...
 
int BuildIndex = 0
 the build ID of the scene to unload, find it in your Build Settings More...
 
string SceneName = ""
 the name of the scene to unload More...
 
bool OutputWarningsIfNeeded = true
 whether or not to output warnings if the scene doesn't exist or can't be loaded 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 text of our target TMPText More...
 

Protected Attributes

Scene _sceneToUnload
 

Additional Inherited Members

Detailed Description

This feedback lets you unload a scene by name or build index

Member Enumeration Documentation

◆ ColorModes

Enumerator
Instant 
Gradient 
Interpolate 

◆ Methods

sets the inspector color for this feedback

Enumerator
BuildIndex 
SceneName 

Member Function Documentation

◆ CustomPlayFeedback()

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

On play we change the text of our target TMPText

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ _sceneToUnload

Scene MoreMountains.Feedbacks.MMF_UnloadScene._sceneToUnload
protected

◆ BuildIndex

int MoreMountains.Feedbacks.MMF_UnloadScene.BuildIndex = 0

the build ID of the scene to unload, find it in your Build Settings

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_UnloadScene.FeedbackTypeAuthorized = true
static

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

◆ Method

Methods MoreMountains.Feedbacks.MMF_UnloadScene.Method = Methods.SceneName

whether to unload a scene by build index or by name

◆ OutputWarningsIfNeeded

bool MoreMountains.Feedbacks.MMF_UnloadScene.OutputWarningsIfNeeded = true

whether or not to output warnings if the scene doesn't exist or can't be loaded

◆ SceneName

string MoreMountains.Feedbacks.MMF_UnloadScene.SceneName = ""

the name of the scene to unload


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