PercentageVariable

Inherits from ScriptableVariable<T>

Declaration

public class PercentageVariable : ScriptableVariable<float>

Description

A percentage variable saved as a ScriptableObject. Percentages are float values in the range [0..1].

Properties

valueThe value of the variable.
Inherited

Properties

defaultValueThe default value of the variable.
Inherited

Methods

ResetToDefaultResets the value to its default value.