Essential Systems
  • Welcome
  • Getting Started
    • Quickstart
    • ‼️Installation Guide
  • Systems
    • Object Pooling
    • Audio
    • Camera Shake
    • Console
    • Dialogue
    • Interface
    • Inputs
    • Proximity
    • Spawner
    • UI Components
    • Particles
    • Objects
    • Editor
    • Scenes
    • Utility
Powered by GitBook
On this page
  1. Systems

UI Components

Every game needs some UI. We have made some components to make the UI process a bit more modular and scalable.

PreviousSpawnerNextParticles

Last updated 3 months ago

Components

Change Text Color - changes the color of a text object.

To change the color we simply call:

public ChangeTextColor colorChanger;
colorChanger.DoColor();

To later reset the color we do:

public ChangeTextColor colorChanger;
colorChanger.DoResetColor();
Dot Dot Dot - adds an ellipsis ... to the end of a text

To change the text in runtime we don't call textObject.text = "" but instead call:

public DotDotDot textObject;
textObject.Set("Hello World!");
Fade In - fades a UI element (can be applied to parent of UI components)

Works out of the box!

Impact - creates an impact effect on spawn

Works out of the box!

Type Writer - simulates a typewriter effect

To change the text in runtime we don't call textObject.text = "" but instead call:

public TypeWriter textObject;
textObject.Set("Hello World!");