IScoreFlash PushLocal Method (Object, )ScoreFlash API Documentation V4.6.0
Pushes a message to the screen, using the layout settings specified on the instance of ScoreFlash you are using this on but using a specific GUIStyle.

Namespace: NarayanaGames.ScoreFlashComponent
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax

ScoreMessage PushLocal(
	Object message,
	GUIStyle style
)

Parameters

message
Type: OnlineSystem 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 this text
Remarks

See ScoreFlash for several usage examples and links to tutorial videos.
See Also