sidebarUI Components

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

Components

chevron-rightChange Text Color - changes the color of a text object.hashtag

To change the color we simply call:

public ChangeTextColor colorChanger;
colorChanger.DoColor();

To later reset the color we do:

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

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

chevron-rightFade In - fades a UI element (can be applied to parent of UI components)hashtag

Works out of the box!

chevron-rightImpact - creates an impact effect on spawnhashtag

Works out of the box!

chevron-rightType Writer - simulates a typewriter effecthashtag

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

Last updated