Class ActionOut<Output>
Abstract class for Out Actions. Inherit from this class to create an Action that returns some data.
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.UI
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public abstract class ActionOut<Output> : ActionBase
Type Parameters
Name | Description |
---|---|
Output | Specifies what kind of data the actions outputs. |
Remarks
Can be used to create a RuleEngine Actions (starting points).
Properties
Name | Description |
---|---|
inputType | Input type. This is always null in the case of a Out-only Action. |
outputType | Output type. Specifies what kind of data the actions outputs. |
Methods
Name | Description |
---|---|
preProcess() | Used to validate/modify the input before the action is actually executed |
run() | Abstract execution method. When creating a new action, this method implementation will hold all the processing code. |
runAsync() | Abstract execution method. When creating a new action, this method implementation will hold all the processing code. (should be run async) |