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.Actions
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public abstract class ActionIn<Input> : ActionBase
Type Parameters
Name | Description |
---|---|
Input | Specifies what kind of data enters the actions. |
Remarks
Can be used to create RuleEngine Actions (end points).
Properties
Name | Description |
---|---|
InputType | Input type. Specifies what kind of data enters the actions. |
OutputType | Output type. This is always null in the case of a In-only Action. |
Methods
Name | Description |
---|---|
PreProcess(ref Input) | Use to validate/modify the input before the 'Run' method is executed. Always executed on the main thread. |
Run(Input) | Abstract execution method. When creating a new Action, this method implementation will hold all the processing code. |