UIMenuPercentagePanel

image

This panel is a progressive panel value is float and goes from 0.0 to 100.0.

Constructor

public UIMenuPercentagePanel(string title, string MinText = "0%", string MaxText = "100%", float initialValue = 0)
UIMenuPercentagePanel.New(title, minText, maxText, initialValue)

Parameters

Percentage

Gets or Sets the panel current percentage.

float Percentage { get; set; }
percPanel:Percentage(value)

Events

###

PercentagePanelChangedEvent OnPercentagePanelChange(UIMenuItem item, UIMenuPercentagePanel panel, float value)
percPanel.OnPercentagePanelChange = function(item, panel, value)
end