Class SelectComponents
Inheritance
SelectComponents
Assembly: Xareus.Unity.Librairies.dll
Syntax
[Renamed("SelectComponents", "Assembly-CSharp")]
public class SelectComponents : AUnityEffector
Constructors
SelectComponents(Event, Dictionary<string, Parameter>, IContext, IContext, IContext, IContext)
Declaration
protected SelectComponents(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Fields
componentType
Declaration
[ConfigurationParameter("Component Type", Necessity.Required)]
[ProvideConstraint(typeof(Component))]
protected Type componentType
Field Value
components
Declaration
[ContextVariable("Components", "")]
protected ContextVariable<List<Component>> components
Field Value
includeChildren
Declaration
[ConfigurationParameter("Include Children", "Also check recursively in all children", Necessity.Required)]
protected bool includeChildren
Field Value
number
Declaration
[ContextVariable("Number", "Number of components found")]
protected ContextVariable<int> number
Field Value
parentObject
Declaration
[ConfigurationParameter("Object", "The object whose components will all be selected", Necessity.Required)]
protected GameObject parentObject
Field Value
Type |
Description |
GameObject |
|
Methods
SafeEffectorUpdate()
Actual effector code. Note that this code will be executed in unity's thread
Declaration
public override void SafeEffectorUpdate()
Overrides