class MAGES::Analytics::Editor::ObjectivesStateMachine¶
Overview¶
The state machine for the objectives. More…
class ObjectivesStateMachine: public MAGES::Analytics::Editor::BaseAnalyticsStateMachine { public: // methods ObjectivesStateMachine(string selectedSceneGraphData); 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 SelectedSceneGraphData;
// 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 objectives.
Methods¶
ObjectivesStateMachine(string selectedSceneGraphData)
Initializes a new instance of the ObjectivesStateMachine class.
Parameters:
selectedSceneGraphData |
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. |