Click or drag to resize
Typewriter Class
An ITextSource component that spells out one letter at a time. To use it with a HyperText component, add it to the HyperText and assign it as the InputTextSource.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Candlelight.UITypewriter

Namespace: Candlelight.UI
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public class Typewriter : MonoBehaviour, ITextSource

The Typewriter type exposes the following members.

Properties
  NameDescription
Public propertyCharacterDelay
Gets or sets the delay between characters.
Public propertyCursor
Gets or sets the cursor to append at the end of the effect.
Public propertyCursorBlink
Gets or sets the cursor blink interval in seconds.
Public propertyFinished
Gets a callback for whenever the effect has finished.
Public propertyInputTextSource
Gets or sets the input text source. If a value is assigned, its OutputText will be used in place of the value in the InputText property of this HyperTextProcessor.
Public propertyOnFinished Obsolete.
Public propertyOnTypedCharacter Obsolete.
Public propertyOutputText
Gets the output text.
Public propertyProgress
Gets or sets the progress.
Public propertyShouldUseUnscaledTime
Gets or sets a value indicating whether this instance should use unscaled time.
Public propertyText
Gets or sets the text.
Public propertyTypedCharacter
Gets a callback for whenever a character has been typed out.
Top
Events
  NameDescription
Public eventBecameDirty
Occurs whenever the text on this instance has changed.
Top
Extension Methods
  NameDescription
Public Extension MethodGetPrefabName
Gets the name of the prefab associated with the supplied instance.
(Defined by ObjectX.)
Public Extension MethodOpenReferencePage
Opens a reference web page generated for the specified object.
(Defined by ObjectX.)
Top
See Also