LPK_TypingText LPK_TypingText.cs

This component creates a typing text effect for an animated display.

Suggested use:

Text or Text Mesh components are used as vessels for this component to type out chosen text one character at a time at the given speed. It can be used as a UI element, or on a normal object. Any text properties, besides the letters, are configured in the Text or Text Mesh components.

Examples found in: Project 6

Components
Property Type Description Default Value
Component Properties
Text String Text to type out.
Character delay Float How long each character takes to type. 0.15
Comma Pause Time Float How long to pause for commas. 0.15
Punctuation Pause Time Float How long to pause for periods, question marks, colons, and exclamation points. 0.15
Typing Text Update/Completed Event Sending Info
Event LPK Event Object Event to dispatch when Update/Completed (respectively) conditions are met:
  • Update when the upcoming letter has been typed.
  • Completed when the last character in the text has been printed out.
None
Event Sending Mode LPK Event Sending Mode Who receives the event sent info when input is given from the input device. OWNER = only send to components on the same game object. ALL = send to all game objects. TAGS = send to specified tags. TAGS
Event Sending Mode - TAGS
Tags Array of Tags Which tags will receive this event. 0
Debug Properties
Print Debug Info Boolean Toggle console debug messages. False
Label String Notes for the user about this component. This does nothing to the game or build. None