Class ActionIn<Input>
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 ActionIn<Input> : ActionBase
Type Parameters
Name | Description |
---|---|
Input | Specifies what kind of data enters your actions. |
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(Input, bool) | Used to validate/modify the input before the action is actually executed |
run(Input) | 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) |