Pushes a message to the screen, at screenPosition.
Aside of using screenPosition instead of the layout
settings of the ScoreFlash instance this is called on, this does the
same as PushLocal(Object).
Namespace: NarayanaGames.ScoreFlashComponentAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
ScoreMessage PushScreen( Vector2 screenPosition, Object message )
Parameters
- screenPosition
- Type: Vector2
where should the message have its reference point on the screen?
- 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
Return Value
the ScoreMessage representing this textRemarks
See Also