docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DeviceSimulator

    Class for interacting with a Device Simulator window from a script. You can get an instance of this class by extending DeviceSimulatorPlugin.

    Inheritance
    object
    DeviceSimulator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.DeviceSimulation
    Assembly: Unity.DeviceSimulator.Editor.dll
    Syntax
    public class DeviceSimulator

    Events

    Name Description
    touchScreenInput

    Event invoked when the screen of the simulated device is clicked.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)