docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class InputSettings.iOSSettings

    Project-wide input settings for the iOS/tvOS platform.

    Inheritance
    object
    InputSettings.iOSSettings
    Namespace: UnityEngine.InputSystem
    Assembly: Unity.InputSystem.dll
    Syntax
    [Serializable]
    public class InputSettings.iOSSettings

    Properties

    motionUsage

    Setting for access to the device's motion sensors (such as StepCounter).

    Declaration
    public PrivacyDataUsage motionUsage { get; set; }
    Property Value
    Type Description
    PrivacyDataUsage
    Remarks

    Alternatively, you can manually add Privacy - Motion Usage Description to the Info.plist file.

    See Also
    StepCounter
    https://developer.apple.com/documentation/bundleresources/information_property_list/nsmotionusagedescription
    In This Article
    Back to top
    Copyright © 2024 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)