Class ChangeParentEffector
Inheritance
ChangeParentEffector
Assembly: Xareus.Unity.Librairies.dll
Syntax
[FunctionDescription("Change the parent of an object. If no parent is specified, the object will be put at the root of the scene")]
public class ChangeParentEffector : AUnityEffector
Constructors
ChangeParentEffector(Event, Dictionary<string, Parameter>, IContext, IContext, IContext, IContext)
Declaration
public ChangeParentEffector(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Fields
object
Declaration
[ConfigurationParameter("Object", Necessity.Required)]
protected Transform @object
Field Value
parent
Declaration
[ConfigurationParameter("Parent", "If not specified, the object will be put at the root of the scene", Necessity.Optional)]
protected Transform parent
Field Value
Methods
SafeEffectorUpdate()
Actual effector code. Note that this code will be executed in unity's thread
Declaration
public override void SafeEffectorUpdate()
Overrides