Class ButtonClickedSensor
Inheritance
ButtonClickedSensor
Assembly: Xareus.Unity.Librairies.dll
[Renamed("SEVEN.Unity.UI.ButtonClickedSensor", "Assembly-CSharp")]
public class ButtonClickedSensor : AUnitySensor
Constructors
ButtonClickedSensor(Event, Dictionary<string, Parameter>, IContext, IContext, IContext)
Declaration
public ButtonClickedSensor(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
Fields
Declaration
[EventContextEntry]
public static readonly string BUTTON
Field Value
Declaration
[ConfigurationParameter("Button", Necessity.Required)]
protected Button button_clicked
Field Value
eventContext
Declaration
protected SimpleDictionary eventContext
Field Value
Methods
Declaration
public void ReceiveClick()
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
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
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