Class VariantsManager.Switch<T>
A switch allow to select and set a current variant as active
Inherited Members
Namespace: UnityEngine.PixyzPlugin4Unity.Components
Assembly: Unity.Pixyz.Plugin4Unity.dll
Syntax
[Serializable]
public abstract class VariantsManager.Switch<T> : VariantsManager.Switch
Type Parameters
Name | Description |
---|---|
T | The type of variant that the class should manage |
Constructors
Name | Description |
---|---|
Switch(string) | Construct Switch |
Fields
Name | Description |
---|---|
name | The name of the variant set |
state | The currently selected variant |
variants | The list of all available variants |
Methods
Name | Description |
---|---|
getState() | Returns the currently selected variant |
getVariants() | Returns the variants handled by the switch |