🔹ValueToString

Overview

This component converts any value coming from an event or a scriptable variable to string. After converting the value it will invoke its Event ToString() so it can be connected to any Text UI component.

Parameters

Float Decimals

If the value send is a float value, how many decimals, the value converted to string will have.

Prefix

A prefix added to the converted string value. (Optional)

Suffix

A Suffix added to the converted string value. (Optional)

To String Event

After the value is converted; by calling the method ToString(); This event will be invoked.

Methods

ToString(..)

Converts any value to string (int, bool, float, gameObject, Component, Vector3, Vector2).

Last updated