Set Text Gimmick component
Set Text Gimmick is a gimmick that sets the read message to the Text component.
Property
Property | function |
---|---|
Target | Specifies the target of the message to be read. For details, see the common setting items for gimmicks. The Target of this gimmick can be Global, Item or Local Player. To configure LocalPlayer, you must be a child of the Player Local UI. |
Key | Specifies the distinguished name of the message to read. For details, see the common setting items for gimmicks. |
Parameter Type | Specifies the type of message (value type) that can be read. |
-Signal | Signal Reads when the message was sent. The default Format sets the date. |
-Bool | Reads two values like on / off. The default Format sets True or False. |
-Float | Reads a real number message. |
-Integer | Reads an integer message. |
-Vector2 | Reads a 2D vector message. |
-Vector3 | Read the message of the 3D vector. |
Format | Specifies how the value is a string. If left blank, the default format will be used. |
Set [Composite Formatting] (https://docs.microsoft.com/en-us/dotnet/standard/base-types/composite-formatting) for Format.
For example, if you specify value is {0}
in Format and read a message with Value set to 5 in Integer, the text of the Text component is set to value is 5
. Please see [here] (https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings) for the detailed format for receiving numbers.
If you want to display the time instead of the Signal date, you can use a format such as {0: T}
. Please see [here] (https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings) for the detailed format for reading the signal. ..