Overload List
Name | Description | |
---|---|---|
Push(Object) |
Shows msg nicely. This is the one method you need to know.
Usually, you'll use ScoreFlash.Push(object msg)
from anywhere in your code.
| |
Push(Object, Color) |
Shows msg nicely in the given color!
| |
Push(Object, GUIStyle) |
Shows msg using style regardless of normal density or
high density screen. It's up to you to make sure that style
works correctly. It is recommended that it has alignment set to
UpperCenter and wordWrap set to false (word wrap is
automatically activated if the message is too long to be properly
displayed on screen with minPaddingX.
| |
Push(Object, GUIStyle, GUIStyle) |
Shows msg using style or styleHighDensity
depending on whether we are on a normal density or high density
screen (determined using IsHighDensityDisplay.
It's up to you to make sure that style
works correctly. It is recommended that it has alignment set to
UpperCenter and wordWrap set to false (word wrap is
automatically activated if the message is too long to be properly
displayed on screen with minPaddingX.
|
See Also