Method Run
Run(IList<GameObject>)
Abstract execution method. When creating a new Action, this method implementation will hold all the processing code. Executed on a background thread if IsAsync is true.
Declaration
public override IList<GameObject> Run(IList<GameObject> input)
Parameters
Type | Name | Description |
---|---|---|
IList<GameObject> | input | Input data, of the given InputType |
Returns
Type | Description |
---|---|
IList<GameObject> | Output data, of the given OutputType |
Overrides
Run(OccurrenceList)
Runs in Pixyz context. To be overriden in the derived class.
Declaration
protected virtual OccurrenceList Run(OccurrenceList occurrences)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | Input GameObjects as Pixyz occurrences |
Returns
Type | Description |
---|---|
OccurrenceList | Output occurrences that will be converted back to GameObjects |