docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Gyroscope Sample

    This sample shows ways to operate the direction of a camera on the remote PC from the mobile device that equipped gyro sensor.

    Usage

    Procedure

    1. Launch the signaling server using public mode. Please refer to this link for launching.

    Launch web server

    1. Build an app in Unity Editor, and launch an application on mobile device.

    2. Open Menu scene in Unity Editor and click Broadcast button.

    Open Broadcast scene

    1. On mobile device, configure signaling settings, and click Gyro button.

    Open Gyro scene

    1. Push the Start button on the device and check streaming video.

    Play Gyro sample

    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)