Simulation Scope | Device Simulator | 2.0.0-preview
docs.unity3d.com

    Simulation Scope

    The scope in which calls to SystemInfo and Application return simulated results is limited in order to preserve functionality of the editor and editor extensions. Simulation can be turned ON or OFF for each assembly. By default simulation is ON for scripts that are outside of any custom assemblies.

    To simulate SystemInfo and Application class behavior in custom assemblies, assembly names have to be added to the list found in Project Settings -> Device Simulator.

    Screen simulation is not limited by assembly.

    Simulated API List

    Screen

    autorotateToLandscapeLeft\ autorotateToLandscapeRight\ autorotateToPortrait\ autorotateToPortraitUpsideDown\ currentResolution\ cutouts\ dpi\ fullScreen\ fullScreenMode\ height\ orientation\ safeArea\ width

    SystemInfo

    copyTextureSupport\ deviceModel\ deviceType\ graphicsDeviceID\ graphicsDeviceName\ graphicsDeviceType\ graphicsDeviceVendor\ graphicsDeviceVendorID\ graphicsDeviceVersion\ graphicsMemorySize\ graphicsMultiThreaded\ graphicsShaderLevel\ graphicsUVStartsAtTop\ hasDynamicUniformArrayIndexingInFragmentShaders\ hasHiddenSurfaceRemovalOnGPU\ hasMipMaxLevel\ hdrDisplaySupportFlags\ maxComputeBufferInputsCompute\ maxComputeBufferInputsDomain\ maxComputeBufferInputsFragment\ maxComputeBufferInputsGeometry\ maxComputeBufferInputsHull\ maxComputeBufferInputsVertex\ maxComputeWorkGroupSize\ maxComputeWorkGroupSizeX\ maxComputeWorkGroupSizeY\ maxComputeWorkGroupSizeZ\ maxCubemapSize\ maxTextureSize\ minConstantBufferOffsetAlignment\ npotSupport\ operatingSystem\ operatingSystemFamily\ processorCount\ processorFrequency\ processorType\ renderingThreadingMode\ supportedRandomWriteTargetCount\ supportedRenderTargetCount\ supports2DArrayTextures\ supports32bitsIndexBuffer\ supports3DRenderTextures\ supports3DTextures\ supportsAccelerometer\ supportsAsyncCompute\ supportsAsyncGPUReadback\ supportsAudio\ supportsComputeShaders\ supportsCubemapArrayTextures\ supportsGeometryShaders\ supportsGpuRecorder\ supportsGraphicsFence\ supportsGyroscope\ supportsHardwareQuadTopology\ supportsInstancing\ supportsLocationService\ supportsMipStreaming\ supportsMotionVectors\ supportsMultisampleAutoResolve\ supportsMultisampledTextures\ supportsRawShadowDepthSampling\ supportsRayTracing\ supportsSeparatedRenderTargetsBlend\ supportsSetConstantBuffer\ supportsShadows\ supportsSparseTextures\ supportsTessellationShaders\ supportsTextureWrapMirrorOnce\ supportsVibration\ systemMemorySize\ unsupportedIdentifier\ usesLoadStoreActions\ usesReversedZBuffer\

    Application

    internetReachability\ isConsolePlatform\ isEditor\ isMobilePlatform\ platform\ systemLanguage\ LowMemoryCallback

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023