Skip to main content

Struct FillBarController.FillBarTextMeshInfo

Holds information about a TextMeshPro text object to display the fill value.

[Serializable]
public struct FillBarController.FillBarTextMeshInfo

Fields​

TextFormat​

Optional custom format string for displaying the text value.

[Tooltip("Optional custom text format (e.g., '{0:0.0}%'). If not set, a default format is used.")]
[SerializeField]
public Optional<string> TextFormat

Field Value​

Optional<string>

textMesh​

The TextMeshPro UI text element to update.

[Tooltip("TextMeshPro component to display the fill bar value.")]
[SerializeField]
public TMP_Text textMesh

Field Value​

TMP_Text