Modular 3D Text
  • ✉️Contact Support
  • ⭐Read me first
  • Introduction
    • ⚡Namespace
    • ⚡Assembly Definition
    • ⚡Scripting define symbol
    • 3D UI for XR
      • Internal documentation
  • Text
    • Modular 3D Text
      • Script documentation
        • UpdateText
        • MeshPostProcess
        • Internal Documentation
    • Text Updater
    • Fonts
      • Creating fonts
        • Troubleshoot
      • Letter
  • Input
    • Button/Key
      • Button Input System
      • Button Input Processor
    • Mouse/Touch
      • Raycast Selector
      • Raycast Input Processor
    • Troubleshoot
  • Modules
    • Modules
  • UI
    • List
      • Script documentation
    • Button
      • Script documentation
    • Toggle
      • Script documentation
    • Slider
      • Script documentation
        • UpdateValue
        • IncreaseValue
        • DecreaseValue
      • SliderHandle
    • Input Field
      • Script documentation
        • UpdateText
        • ContentType
    • Horizontal Selector
      • Script documentation
  • Layout System
  • Modules
  • Package Importer
  • Utility
    • UI States
    • Asset Settings
  • Version History
Powered by GitBook
On this page
  • UpdateText ()
  • UpdateText (string newText)
  • UpdateText (int newTextInt)
  • UpdateText (float newFloat)

Was this helpful?

  1. UI
  2. Input Field
  3. Script documentation

UpdateText

Method in InputField.cs

Automatically opens the touchscreen keyboard when trying to update the text.

Directly assigning the Text property makes a sound If it has both Audioclip and Audio Source.

UpdateText ()

UpdateText (string newText)

Assigns a new string to the text without sound.

UpdateText (int newTextInt)

Converts the int to a string and assigns the new string to the text without sound.

UpdateText (float newFloat)

Converts the int to a string and assigns the new string to the text without sound.

PreviousScript documentationNextContentType

Last updated 2 years ago

Was this helpful?