Class SetActiveEffector
Call the SetActive method of the given GameObject with the setActiveValue.
Inheritance
SetActiveEffector
Assembly: Xareus.Unity.Librairies.dll
Syntax
[Renamed("SEVEN.Unity.SetActiveEffector", "Assembly-CSharp")]
[FunctionDescription("Activates or deactivates a GameObject")]
public class SetActiveEffector : AUnityEffector
Constructors
SetActiveEffector(Event, Dictionary<string, Parameter>, IContext, IContext, IContext, IContext)
Declaration
protected SetActiveEffector(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Fields
gameObject
Declaration
[ConfigurationParameter("GameObject", Necessity.Required)]
protected GameObject gameObject
Field Value
Type |
Description |
GameObject |
|
setActiveValue
Declaration
[ConfigurationParameter("SetActive Value", Necessity.Required)]
protected bool setActiveValue
Field Value
Methods
SafeEffectorUpdate()
Actual effector code. Note that this code will be executed in unity's thread
Declaration
public override void SafeEffectorUpdate()
Overrides