ScoreFlashRendererTextMesh MembersScoreFlash API Documentation V4.6.0

The ScoreFlashRendererTextMesh type exposes the following members.
Constructors

  NameDescription
Public methodScoreFlashRendererTextMesh
Back to Top
Methods

  NameDescription
Public methodCreateInstance
Creates a new instance of this renderer that will handle rendering for a given message. Used internally by ScoreFlash. Default implementation simply uses OnlineInstantiate().
(Overrides ScoreFlashRendererBase CreateInstance(Transform).)
Public methodGetSize
The size of the message on screen. This is using UILabel.relativeSize.
(Overrides ScoreFlashRendererBase GetSize(ScoreMessage).)
Public methodInitialize (Overrides ScoreFlashRendererBase Initialize(ScoreMessage).)
Public methodUpdateMessage
Update the message.
(Overrides ScoreFlashRendererBase UpdateMessage(ScoreMessage).)
Back to Top
Fields

  NameDescription
Public fieldtextMesh
Back to Top
Properties

  NameDescription
Public propertyRequiresCustomParent
Returns true because we need a custom camera for pixel perfect rendering into "screen coordinates".
(Overrides ScoreFlashRendererBase RequiresCustomParent.)
Public propertyUsesGUISkin
Returns false because Text Mesh does not make use of GUISkins.
(Overrides ScoreFlashRendererBase UsesGUISkin.)
Back to Top
See Also