Class SetEnabledEffector
Set the enabled property of the given behaviour to the enabledValue.
Inheritance
SetEnabledEffector
Assembly: Xareus.Unity.Librairies.dll
Syntax
[Renamed("SEVEN.Unity.SetEnabledEffector", "Assembly-CSharp")]
[FunctionDescription("Enable or disable the behaviour component of an object")]
public class SetEnabledEffector : AUnityEffector
Constructors
SetEnabledEffector(Event, Dictionary<string, Parameter>, IContext, IContext, IContext, IContext)
Declaration
protected SetEnabledEffector(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Fields
behaviour
Declaration
[ConfigurationParameter("Behaviour", Necessity.Required)]
protected Behaviour behaviour
Field Value
enabledValue
Declaration
[ConfigurationParameter("Enabled Value", Necessity.Required)]
protected bool enabledValue
Field Value
Methods
SafeEffectorUpdate()
Actual effector code. Note that this code will be executed in unity's thread
Declaration
public override void SafeEffectorUpdate()
Overrides