Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FillAmount

The progress fill amount displayed on the referenced node's accent bar, expressed as a percentage.
Read time 1 minuteLast updated 14 days ago

Definition

public float FillAmount { get; set; }

Remarks

Accepted values range from -100 to 100. A positive value fills the bar from left to right. A negative value fills it from right to left. A value of
0
hides the bar. This field is an override applied on top of INode.FillAmount. The default value is
0
, but it has no effect. Call the setter to start applying the override. Call NodeReference.ClearCustomization to remove the override. Setting this property has no effect when the NodeReference has no associated NodeReference.Context, such as when it is
default
. Throws ObjectDisposedException when you access this method after you call Context.Dispose on the context.