[ProgressBar]

Displays a numeric field as a visual progress bar.

Support Types

Type
Description

int

Integer value

float

Float value

Parameters

Parameter Name
Arguments
Description

text

string

Text displayed on the progress bar.

Height

float

Height of the progress bar in pixels.

UpdateInterval

double

Update interval in seconds for auto-refresh. Zero means no auto-update. Use for animated progress bars or real-time value monitoring.

Examples

using UnityEngine;
using RenownedGames.Apex;

public class ProgressBarExample : MonoBehaviour
{
    [ProgressBar("Health")]
    [Range(0, 100)]
    public float health = 75;

    [ProgressBar("Mana", Height = 30)]
    [Range(0, 50)]
    public int mana = 25;
}

Last updated