class MAGES::Step

Overview

A step is a single behavior that can be performed when an action is initialized, performed, or reverted. More…

class Step
{
public:
    // properties

    string Description;

    // methods

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

// direct descendants

class SetRaycastsEnabledStep;
class CallFunctionStep;
class DestroyActionObjectStep;
class DestroyStep;
class SendMessageStep;
class SetAnimatorPropertyStep;
class SpawnActionObjectStep;
class SpawnStep;

Detailed Documentation

A step is a single behavior that can be performed when an action is initialized, performed, or reverted.

Properties

string Description

Gets or sets the description of the step.

Methods

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

Executes the step.

Parameters:

action

The action this step is stored in.

stepEvent

The event that triggered this step.