mirror of
https://github.com/AnnulusGames/Alchemy.git
synced 2025-01-23 08:48:24 -05:00
30 lines
470 B
Markdown
30 lines
470 B
Markdown
# Label Text Attribute
|
||
|
||
Overrides the label text of the field.
|
||
|
||
![img](../../../images/img-attribute-label-text.png)
|
||
|
||
```cs
|
||
[LabelText("FOO!")]
|
||
public float foo;
|
||
|
||
[LabelText("BAR!")]
|
||
public Vector3 bar;
|
||
|
||
[LabelText("BAZ!")]
|
||
public GameObject baz;
|
||
|
||
[Space]
|
||
[LabelText("α")]
|
||
public float alpha;
|
||
|
||
[LabelText("β")]
|
||
public Vector3 beta;
|
||
|
||
[LabelText("γ")]
|
||
public GameObject gamma;
|
||
```
|
||
|
||
| Parameter | Description |
|
||
| - | - |
|
||
| Text | The text to display on the field label | |