Class RandomXareusObjectEffector
Inherited Members
Namespace: Xareus.Scenarios.Relations
Assembly: Xareus.Unity.Librairies.dll
Syntax
[Renamed("SEVEN.RandomFiveObjectEffector", "Assembly-CSharp")]
[Renamed("SEVEN.FIVE.RandomFiveObjectEffector", "Assembly-CSharp")]
public class RandomXareusObjectEffector : AUnityEffector
Constructors
RandomXareusObjectEffector(Event, Dictionary<string, Parameter>, IContext, IContext, IContext, IContext)
Declaration
protected RandomXareusObjectEffector(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Type | Name | Description |
---|---|---|
Event | event | |
Dictionary<string, Parameter> | parameters | |
IContext | externalContext | |
IContext | scenarioContext | |
IContext | sequenceContext | |
IContext | eventContext |
Fields
type
Declaration
[ProvideConstraint(typeof(XUType))]
[ConfigurationParameter("type", "The Type of the objects to select from", Necessity.Required)]
public Type type
Field Value
Type | Description |
---|---|
Type |
variableName
The second operand
Declaration
[ConfigurationParameter("variableName", "The variable in which the selected Object will be stored", Necessity.Required)]
public string variableName
Field Value
Type | Description |
---|---|
string |
Methods
SafeEffectorUpdate()
Actual effector code. Note that this code will be executed in unity's thread
Declaration
public override void SafeEffectorUpdate()
Overrides
SafeReset()
Reset an effector. Note that this code will be executed in unity's thread and the declared parameters (using the ConfigurationParameter attribute) are already filled
Declaration
public override void SafeReset()