class MAGES::ExampleScene::ChoiceActionUI

Overview

Class to handle the UI for the ChoiceActionData. More…

class ChoiceActionUI:
    public MonoBehaviour,
    public MAGES::SceneGraph::ChoiceActionData::IDecisionHandler
{
public:
    // methods

    void SetCallbackHandle(Action completeAction);
    void SelectChoice(int choice);
};

Inherited Members

public:
    // methods

    void SetCallbackHandle(Action completeAction);

Detailed Documentation

Class to handle the UI for the ChoiceActionData.

Methods

void SetCallbackHandle(Action completeAction)

Method to set the callback handle for the decision.

Parameters:

completeAction

The given Action.

void SelectChoice(int choice)

Slects the choice for the ChoiceActionData.

Parameters:

choice

The id of the path.