ScoreFlashLayout Push Method (Object, )ScoreFlash API Documentation V4.6.0
Shortcut for pushing messages in a specific color directly using this ScoreFlashLayout instance.

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

public ScoreMessage Push(
	Object message,
	Color color
)

Parameters

message
Type: OnlineSystem Object
the message to send, could also be a custom renderer (or any object)
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

return the ScoreMessage representing msg
Remarks

Calls PushLocal(Object, Color) on defaultScoreFlash (or using the single ScoreFlash instance if defaultScoreFlash wasn't assigned).
See Also