Class SceneLoadedSensor
Inheritance
SceneLoadedSensor
Assembly: Xareus.Unity.Librairies.dll
Syntax
[Renamed("SEVEN.Unity.SceneLoadedSensor", "Assembly-CSharp")]
public class SceneLoadedSensor : AUnitySensor
Constructors
SceneLoadedSensor(Event, Dictionary<string, Parameter>, IContext, IContext, IContext)
Declaration
protected SceneLoadedSensor(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
Fields
SCENEID
Declaration
[EventContextEntry]
public static readonly string SCENEID
Field Value
eventContext
Declaration
protected SimpleDictionary eventContext
Field Value
sceneID
Declaration
[ConfigurationParameter("SceneID", Necessity.Optional, Description = "The Id of the scene to check. -1 (default) for any scene", InitialValue = -1)]
protected int sceneID
Field Value
sceneLoaded
Declaration
protected bool sceneLoaded
Field Value
Methods
SafeReset()
Reset a sensor. 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()
Overrides
SafeSensorCheck()
This method is called at each scenario update. Note that this code will be executed in unity's thread
Declaration
public override ASensor.Result SafeSensorCheck()
Returns
Overrides
SafeStopCheck()
Stops a sensor. 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 SafeStopCheck()
Overrides