Dialogue box class. Don't add this directly to your game, look at DialogueZone instead.
More...
|
virtual void | ChangeText (string newText) |
| Changes the text. More...
|
|
virtual void | ButtonActive (bool state) |
| Activates the ButtonA prompt More...
|
|
virtual void | ChangeColor (Color backgroundColor, Color textColor) |
| Changes the color of the dialogue box to the ones in parameters More...
|
|
virtual void | FadeIn (float duration) |
| Fades the dialogue box in. More...
|
|
virtual void | FadeOut (float duration) |
| Fades the dialogue box out. More...
|
|
virtual void | HideArrow () |
| Hides the dialogue box arrow. More...
|
|
Dialogue box class. Don't add this directly to your game, look at DialogueZone instead.
◆ ButtonActive()
virtual void MoreMountains.CorgiEngine.DialogueBox.ButtonActive |
( |
bool |
state | ) |
|
|
virtual |
Activates the ButtonA prompt
- Parameters
-
state | If set to true state. |
◆ ChangeColor()
virtual void MoreMountains.CorgiEngine.DialogueBox.ChangeColor |
( |
Color |
backgroundColor, |
|
|
Color |
textColor |
|
) |
| |
|
virtual |
Changes the color of the dialogue box to the ones in parameters
- Parameters
-
backgroundColor | Background color. |
textColor | Text color. |
◆ ChangeText()
virtual void MoreMountains.CorgiEngine.DialogueBox.ChangeText |
( |
string |
newText | ) |
|
|
virtual |
Changes the text.
- Parameters
-
◆ FadeIn()
virtual void MoreMountains.CorgiEngine.DialogueBox.FadeIn |
( |
float |
duration | ) |
|
|
virtual |
Fades the dialogue box in.
- Parameters
-
◆ FadeOut()
virtual void MoreMountains.CorgiEngine.DialogueBox.FadeOut |
( |
float |
duration | ) |
|
|
virtual |
Fades the dialogue box out.
- Parameters
-
◆ HideArrow()
virtual void MoreMountains.CorgiEngine.DialogueBox.HideArrow |
( |
| ) |
|
|
virtual |
Hides the dialogue box arrow.
◆ _backgroundColor
Color MoreMountains.CorgiEngine.DialogueBox._backgroundColor |
|
protected |
◆ _buttonSpriteRenderer
SpriteRenderer MoreMountains.CorgiEngine.DialogueBox._buttonSpriteRenderer |
|
protected |
◆ _textColor
Color MoreMountains.CorgiEngine.DialogueBox._textColor |
|
protected |
◆ ButtonA
GameObject MoreMountains.CorgiEngine.DialogueBox.ButtonA |
◆ DialogueText
Text MoreMountains.CorgiEngine.DialogueBox.DialogueText |
◆ TextPanel
Image MoreMountains.CorgiEngine.DialogueBox.TextPanel |
the text panel background
◆ TextPanelArrowDown
Image MoreMountains.CorgiEngine.DialogueBox.TextPanelArrowDown |
the arrow pointing down on the dialogue box
The documentation for this class was generated from the following file: