docs.unity.cn
    Show / Hide Table of Contents

    Data Streaming Component

    Data streaming is using RTCDataChannel of the WebRTC package internally.

    Using the data streaming feature, Unity Render Streaming provides a component to send messages of Input System.

    InputSender component reference

    This component sends input events fired from all input devices connected machine.

    InputSender inspector

    Properties

    Parameter Description Default
    Local Channel is local or remote False
    Label Channel label Empty

    InputReceiver component reference

    This component receives input events from Unity.

    InputReceiver inspector

    Properties

    Parameter Description Default
    Local Channel is local or remote. False
    Label Channel label. Empty
    Actions The set of Input Actions associated with the player. To receive input, each player must have an associated set of Actions. See documentation on Actions for details. None
    Default Map Which Action Map in Actions to enable by default. If set to None, then the player starts with no Actions being enabled. None
    Events Uses a separate UnityEvent for each individual type of message. Empty
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, February 24, 2023
    Terms of use