class MAGES::SceneGraph::CallFunctionStep

Overview

Call a function given a gameobject either in the scene or as a prefab. If a prefab is selected, spawn the prefab first. More…

class CallFunctionStep: public MAGES::Step
{
public:
    // methods

    virtual override void Execute(BaseActionData action, StepEvent stepEvent);
};

Inherited Members

public:
    // properties

    string Description;

    // methods

    virtual abstract void Execute(BaseActionData action, StepEvent stepEvent) = 0;

Detailed Documentation

Call a function given a gameobject either in the scene or as a prefab. If a prefab is selected, spawn the prefab first.

Methods

virtual override void Execute(BaseActionData action, StepEvent stepEvent)

Executes the step.

Parameters:

action

The action this step is stored in.

stepEvent

The event that triggered this step.