Pushes a message to the screen, at worldPosition, with
a screen offset of screenOffset, using a specific color.
Namespace: NarayanaGames.ScoreFlashComponentAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
ScoreMessage PushWorld( Vector3 worldPosition, Vector2 screenOffset, Object message, Color color )
Parameters
- worldPosition
- Type: Vector3
where should the message have its reference point on the screen?
- screenOffset
- Type: Vector2
offset in screen coordinates (e.g. to place the message above an object)
- 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
- color
- Type: Color
Use this to control the color the message is sent with. Uses RGB from color, and multiplies color.a with the current alpha value depending on the settings in the ScoreFlash instance that this message was pushed to
Return Value
the ScoreMessage representing this textRemarks
See Also