class MAGES::Analytics::Editor::ErrorsStateMachine¶
Overview¶
The state machine for the errors. More…
class ErrorsStateMachine: public MAGES::Analytics::Editor::BaseAnalyticsStateMachine { public: // methods ErrorsStateMachine(string selectedSceneGraphDataGUID); virtual override void State0(ScrollView parent); virtual override void State1( ScrollView parent, Action onValueChanged, bool reset ); virtual override void State2( ScrollView parent, Action onValueChanged, bool reset ); };
Inherited Members¶
public:
// properties
string SelectedSceneGraphDataGUID;
// methods
BaseAnalyticsStateMachine(string selectedSceneGraphData);
virtual void State0(ScrollView parent);
virtual void State1(ScrollView parent, Action onValueChanged, bool reset);
virtual void State2(ScrollView parent, Action onValueChanged, bool reset);
VisualElement CreateExistingItemButton(
AnalyticsScriptableObject so,
string assetName,
AnalyticsTypes.Type analyticsType,
ScrollView parent,
string buttonText,
Type entryType,
ScrollView existingItemsView,
List> items,
bool allTypesMode
);
Detailed Documentation¶
The state machine for the errors.
Methods¶
ErrorsStateMachine(string selectedSceneGraphDataGUID)
Initializes a new instance of the ErrorsStateMachine class.
Parameters:
selectedSceneGraphDataGUID |
The name of the selected scene graph data. |
virtual override void State0(ScrollView parent)
The first state of the state machine.
Parameters:
parent |
The parent UI element. |
virtual override void State1(
ScrollView parent,
Action onValueChanged,
bool reset
)
The second state of the state machine.
Parameters:
parent |
The parent UI element. |
onValueChanged |
Lambda to be called when the value changes. |
reset |
Whether or not to reset the parent. |
virtual override void State2(
ScrollView parent,
Action onValueChanged,
bool reset
)
The third state of the state machine.
Parameters:
parent |
The parent UI element. |
onValueChanged |
Lambda to be called when the value changes. |
reset |
Whether or not to reset the parent. |