The ScoreFlashLayout type exposes the following members.
Back to Top
Fields
| Name | Description | |
|---|---|---|
| defaultScoreFlash |
If assigned, instead of using ScoreFlash.Instance, this ScoreFlashLayout
will use the assigned ScoreFlash instance when messages are pushed directly
via Push(Object).
| |
| designText |
Message that is shown while in design mode.
| |
| enableDeselectHack |
Unity doesn't properly support updating the GameView when an object is
deselected, so if you disable this, the design will stay in the game
view until it is updated once more. I have a hack for this - but
unfortunately, it's causing trouble when the object is being deleted
(there's an exception that I cannot catch). Both is not a real problem,
it's just a little annoying.
| |
| freezeOnRead |
Freeze any message pushed directly to this ScoreFlashLayout at its
read state.
| |
| innerAnchor |
Use this to control the anchor / alignment of the messages sent
using this instance of ScoreFlashLayout.
| |
| isDesignMode |
Design mode allows you to use the scene view to set up the positioning
of this ScoreFlashLayout. This works both while playing and while not playing,
however, if you have moving options, you might want to pause the game to set
things up (otherwise you might chase your messages around ;-) ).
| |
| isTestAutogenerateMessages |
Use this to show random messages.
| |
| lockInnerAnchor |
Locks the innerAnchor to screenAlign.
| |
| lockScreenAlign |
Locks the screen alignment. This is only used by the visual designer.
| |
| maxWidth |
Maximum width of the message before it's wrapped. This
works together with minPaddingX.
| |
| minPaddingX |
Minimum distance between the message and the left/right screen
borders before the message is wrapped in two (or more) lines.
This works together with maxWidth.
| |
| position |
Position for messages pushed with PushLocal(Object)
in normalized pixels relative to NGAlignment ScreenAlign.
| |
| screenAlign |
Controls whether the message is aligned to top, middle or bottom
of the screen. Defines how position is applied.
Possible values are defined by NGAlignment ScreenAlign.
| |
| testMessageDelaySeconds |
The usual delay between two messages in seconds.
Use this to increase or decrease the frequency in which test messages
are being sent to ScoreFlash. NOTE: This does not
have an effect on messages sent via includeMessageSpam (these are
always sent in a burst without any delay.
Also be aware that this is based on real time (so Time.timeScale
has no effect).
|
See Also