Class ActionVoid
Abstract class for In Actions. Inherit from this class to create an Action that do something from a given input.
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.UI
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public abstract class ActionVoid : ActionBase
Remarks
Can be used to create RuleEngine Actions (end points).
Properties
Name | Description |
---|---|
inputType | Input type. Specifies what kind of data enters your actions. |
outputType | Output type. This is always null in the case of a In-only Action. |
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) |