Corgi Engine  v8.8
MoreMountains.CorgiEngine.ButtonPrompt Class Reference
Inheritance diagram for MoreMountains.CorgiEngine.ButtonPrompt:
MoreMountains.CorgiEngine.CorgiMonoBehaviour

Public Member Functions

virtual void Initialization ()
 
virtual void SetText (string newText)
 
virtual void SetBackgroundColor (Color newColor)
 
virtual void SetTextColor (Color newColor)
 
virtual void Show ()
 
virtual void Hide ()
 

Public Attributes

Image Border
 the image to use as the border for this prompt More...
 
Image Background
 the background image of the prompt More...
 
CanvasGroup ContainerCanvasGroup
 the canvas group containing the prompt More...
 
Text PromptText
 the text component displaying this prompt's contents More...
 
float FadeInDuration = 0.2f
 the duration of the prompt's fade in, in seconds More...
 
float FadeOutDuration = 0.2f
 the duration of the prompt's fade out, in seconds More...
 

Protected Member Functions

virtual IEnumerator HideCo ()
 

Protected Attributes

Color _alphaZero = new Color(1f, 1f, 1f, 0f)
 
Color _alphaOne = new Color(1f, 1f, 1f, 1f)
 
Coroutine _hideCoroutine
 
Color _tempColor
 

Member Function Documentation

◆ Hide()

virtual void MoreMountains.CorgiEngine.ButtonPrompt.Hide ( )
virtual

◆ HideCo()

virtual IEnumerator MoreMountains.CorgiEngine.ButtonPrompt.HideCo ( )
protectedvirtual

◆ Initialization()

virtual void MoreMountains.CorgiEngine.ButtonPrompt.Initialization ( )
virtual

◆ SetBackgroundColor()

virtual void MoreMountains.CorgiEngine.ButtonPrompt.SetBackgroundColor ( Color  newColor)
virtual

◆ SetText()

virtual void MoreMountains.CorgiEngine.ButtonPrompt.SetText ( string  newText)
virtual

◆ SetTextColor()

virtual void MoreMountains.CorgiEngine.ButtonPrompt.SetTextColor ( Color  newColor)
virtual

◆ Show()

virtual void MoreMountains.CorgiEngine.ButtonPrompt.Show ( )
virtual

Member Data Documentation

◆ _alphaOne

Color MoreMountains.CorgiEngine.ButtonPrompt._alphaOne = new Color(1f, 1f, 1f, 1f)
protected

◆ _alphaZero

Color MoreMountains.CorgiEngine.ButtonPrompt._alphaZero = new Color(1f, 1f, 1f, 0f)
protected

◆ _hideCoroutine

Coroutine MoreMountains.CorgiEngine.ButtonPrompt._hideCoroutine
protected

◆ _tempColor

Color MoreMountains.CorgiEngine.ButtonPrompt._tempColor
protected

◆ Background

Image MoreMountains.CorgiEngine.ButtonPrompt.Background

the background image of the prompt

◆ Border

Image MoreMountains.CorgiEngine.ButtonPrompt.Border

the image to use as the border for this prompt

◆ ContainerCanvasGroup

CanvasGroup MoreMountains.CorgiEngine.ButtonPrompt.ContainerCanvasGroup

the canvas group containing the prompt

◆ FadeInDuration

float MoreMountains.CorgiEngine.ButtonPrompt.FadeInDuration = 0.2f

the duration of the prompt's fade in, in seconds

◆ FadeOutDuration

float MoreMountains.CorgiEngine.ButtonPrompt.FadeOutDuration = 0.2f

the duration of the prompt's fade out, in seconds

◆ PromptText

Text MoreMountains.CorgiEngine.ButtonPrompt.PromptText

the text component displaying this prompt's contents


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