ScoreFlash Push Method ScoreFlash API Documentation V4.6.0
Overload List

  NameDescription
Public methodStatic memberPush(Object)
Shows msg nicely. This is the one method you need to know. Usually, you'll use ScoreFlash.Push(object msg) from anywhere in your code.
Public methodStatic memberPush(Object, Color)
Shows msg nicely in the given color!
Public methodStatic memberPush(Object, GUIStyle)
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.
Public methodStatic memberPush(Object, GUIStyle, GUIStyle)
Shows msg using style or styleHighDensity depending on whether we are on a normal density or high density screen (determined using IsHighDensityDisplay. 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.
Back to Top
See Also