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.
Namespace: (Default Namespace)Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
public static ScoreMessage Push( Object message, GUIStyle style )
Parameters
- message
- Type:
System Object
The message to be animated by ScoreFlash. This can be a string, a fully configured custom renderer, an int, long, float, double or any object with a useful ToString() method
- style
- Type: GUIStyle
a custom style, or null to use the custom style ScoreFlash of skin (this parameter is optional!) If you have a specific color assigned to that style that you want to be used, you need to have "Colors / Color Selection Mode" set to UseColorFromSkin (see colorSelectionMode, ScoreFlash ColorControl).
Return Value
the ScoreMessage representing the messageRemarks
See Also