Board

Board.Input.Simulation

BoardContactSimulation Class

Provides a mechanism to simulate input on a Board device in the Unity Editor.

public class BoardContactSimulation

Inheritance UnityEngine.MonoBehaviour 🡒 BoardContactSimulation

Properties  
currentIcon Gets or sets the current BoardContactSimulationIcon.
instance Gets the current instance of BoardContactSimulation.
useMouseAsFinger Gets or sets a value determining whether the mouse should be simulated as a finger.
Methods  
ClearAllContacts() Clears all simulated contacts.
ClearCurrentContact() Clears the current simulated contact.
Destroy() Destroys the current instance.
Disable() Disables the current instance.
Enable() Enables the current instance.
Events  
iconChanged Occurs when the current BoardContactSimulationIcon is changed.
iconCleared Occurs when the current BoardContactSimulationIcon is cleared.