Class RandomXareusObjectWithTypeEffector
Selects elements from the list of objects of the given type. The selection is random.
Inheritance
RandomXareusObjectWithTypeEffector
Assembly: Xareus.Unity.Librairies.dll
Syntax
[Renamed("SEVEN.SelectFromTypeEffector", "Assembly-CSharp")]
[Renamed("SEVEN.FIVE.SelectFromFiveTypeEffector", "Assembly-CSharp")]
public class RandomXareusObjectWithTypeEffector : AUnityEffector
Constructors
RandomXareusObjectWithTypeEffector(Event, Dictionary<string, Parameter>, IContext, IContext, IContext, IContext)
Declaration
public RandomXareusObjectWithTypeEffector(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Fields
nbElem
Declaration
[ConfigurationParameter("nbElem", Necessity.Required)]
protected int nbElem
Field Value
resultList
Declaration
[ConfigurationParameter("resultList", Necessity.Required)]
protected string resultList
Field Value
type
Declaration
[ConfigurationParameter("type", Necessity.Required)]
[ProvideConstraint(typeof(XUType))]
protected Type type
Field Value
Methods
SafeEffectorUpdate()
Actual effector code. Note that this code will be executed in unity's thread
Declaration
public override void SafeEffectorUpdate()
Overrides