Highroad Engine v1.3
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
MoreMountains.Tools.MMSceneLoadingTextProgress Class Reference

A very simple class, meant to be used within a MMSceneLoading screen, to update a Text based on loading progress More...

Inheritance diagram for MoreMountains.Tools.MMSceneLoadingTextProgress:

Public Member Functions

virtual void SetProgress (float newValue)
 Updates the Text with the progress value More...
 

Public Attributes

float RemapMin = 0f
 the value to which the progress' zero value should be remapped to More...
 
float RemapMax = 100f
 the value to which the progress' one value should be remapped to More...
 
int NumberOfDecimals = 0
 the amount of decimals to display More...
 

Protected Member Functions

virtual void Awake ()
 On Awake we grab our Text and store it More...
 

Protected Attributes

Text _text
 

Detailed Description

A very simple class, meant to be used within a MMSceneLoading screen, to update a Text based on loading progress

Member Function Documentation

◆ Awake()

virtual void MoreMountains.Tools.MMSceneLoadingTextProgress.Awake ( )
protectedvirtual

On Awake we grab our Text and store it

◆ SetProgress()

virtual void MoreMountains.Tools.MMSceneLoadingTextProgress.SetProgress ( float  newValue)
virtual

Updates the Text with the progress value

Parameters
newValue

Member Data Documentation

◆ _text

Text MoreMountains.Tools.MMSceneLoadingTextProgress._text
protected

◆ NumberOfDecimals

int MoreMountains.Tools.MMSceneLoadingTextProgress.NumberOfDecimals = 0

the amount of decimals to display

◆ RemapMax

float MoreMountains.Tools.MMSceneLoadingTextProgress.RemapMax = 100f

the value to which the progress' one value should be remapped to

◆ RemapMin

float MoreMountains.Tools.MMSceneLoadingTextProgress.RemapMin = 0f

the value to which the progress' zero value should be remapped to


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