UnityEditor.DeviceSimulatorModule Class for interacting with a Device Simulator window from a script. Calls the methods in its invocation list when the simulated device of the device simulator changes. This includes when Unity creates or loads the simulator. Event invoked when the screen of the simulated device is clicked. Extend this class to create a Device Simulator plug-in. Device Simulator in which this plug-in is instantiated. Title for the plug-in UI. Called when Unity creates the Device Simulator window. The VisualElement that this method returns is embedded in the Device Simulator window. If the method returns null, plug-in UI is not embedded. Called when Device Simulator window is destroyed. Representation of a single touch event coming from a Device Simulator. Subscribe to DeviceSimulator.touchScreenInput to receive these events. Phase of the touch event. On-screen position of the touch event. The zero point is at the bottom-left corner of the screen in pixel coordinates. The unique identifier for the touch. Unity reuses identifiers after the touch ends. Indicates where in its lifecycle a given touch is. A touch has begun. Only the first touch event in any given touch will have this phase. A touch has ended in a way other than through user interaction. A touch has ended. Only the last touch event in a given touch will have this phase. A touch has changed position. A touch has not moved.