Search Results for

    Show / Hide Table of Contents

    Skyworth Interactive Tools

    Why use Skyworth interactive tools? Skyworth interactive tools include the following functions:

    • Handle model
    • Anchor interaction
    • Event system
    • Can automatically switch between handle interaction or anchor point interaction
    • Anchor Point Countdown Click
    • Keyboard

    Quick start

    Please follow the steps below to build your apk. First, please import Skyworth Plugin SDK, please refer to the document Build the first APK

    Steps:

    1. Import Skyworth Intercation Toolkit.unitypackage to the project, and you will see the file in the picture after importing.

      interaction1

    2. Create a new scene and name it SkyworthDemo.

      interaction2

    3. Click Skyworth Interaction Tools/XR GameObject/Player in the menu bar. This will convert the Main Camera in the scene into a Player.

      interaction3 interaction4

    4. Click Skyworth Interaction Tools/XR GameObject/UI Canvas in the menu bar. This will create a Canvas in the scene, and then create a Button in this Canvas.

      interaction5

    5. Add the SkyworthDemo scene to Scenes In Build, and then click Build And Run.

      interaction6

    Introduction of key components

    Component Description
    GvrControllerInput Mainly used for device connection judgment and event forwarding
    GvrReticlePointer Head Control Anchor Point Components
    GvrPointerInputModule An important component of EventSystem, completes the triggering of UI events
    GvrEditorEmulator Hold down the Alt key to simulate head rotation in the editor
    SvrTrackDevices Key classes of different handle models

    Anchor point countdown click

    When the anchor point is hovered to the button, a countdown circle will be displayed on the anchor point, and a click event will be triggered when the countdown ends. interaction7

    1. Find the SvrReticleDownClick prefab in the Assets> SkyworthInteraction> Assets> Resources> Prefab folder.

    2. Drag the prefab into the Player> Main Camera> GvrReticlePointer node in the Hierarchy.

      interaction8

    3. Click Add Component on the Button to be triggered, enter Svr in the input box, click Svr Auto Click Enable, and then a SvrAutoClickEnable script will be hung on this Button.

      interaction9

    SvrReticleDownClick Introduction
    OnelySvrAutoClickEnable Tis used to determine whether to enable global event triggering, set to true can only be used on the component with the SvrAutoClickEnable script hanging, set to false can be used globally
    • Improve this Doc
    In This Article
    Back to top Copyright © Shenzhen Skyworth New World Technology Co. ,Ltd.
    Generated by DocFX