Class AnyInputSensor
Inheritance
AnyInputSensor
Assembly: Xareus.Unity.Librairies.dll
[Renamed("AnyInputSensor", "Assembly-CSharp")]
[Renamed("SEVEN.Unity.AnyInputSensor", "Assembly-CSharp")]
[FunctionDescription("New Input System : Check if any device key or button is currently pressed or not.\nOld Input System : check if any keyboard key or mouse button was just pressed at each frame.")]
public class AnyInputSensor : AUnitySensor
Constructors
AnyInputSensor(Event, Dictionary<string, Parameter>, IContext, IContext, IContext)
Declaration
public AnyInputSensor(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
Fields
Declaration
Field Value
Declaration
protected bool valueMustBeChecked
Field Value
Methods
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