DecisionFlex
Utilty AI for Unity
 All Classes Namespaces Functions Variables Events Pages
Public Member Functions | List of all members
TenPN.DecisionFlex.ToggleScriptAction Class Reference

helper action that toggles state of target behaviour More...

Inheritance diagram for TenPN.DecisionFlex.ToggleScriptAction:
TenPN.DecisionFlex.Action TenPN.DecisionFlex.IAction

Public Member Functions

override void Perform (IContext context)
 

Detailed Description

helper action that toggles state of target behaviour

if you have a script that you want enabled when the action is chosen, and disabled when not, this helper action is useful.

Member Function Documentation

override void TenPN.DecisionFlex.ToggleScriptAction.Perform ( IContext  context)
inlinevirtual

Called once DecisionFlex has decided you can run.

Parameters
[in]contextthe IContext in which DecisionFlex decided to run this action

Implements TenPN.DecisionFlex.Action.


The documentation for this class was generated from the following file: