{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method CreatePlayable | Netcode for Entities | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreatePlayable

    CreatePlayable(GhostAnimationController, PlayableGraph, List<GhostPlayableBehaviour>)

    Create a playable for this node. The behaviours List must be populated with all GhostPlayableBehaviour which require a call to PreparePredictedData. If a GhostPlayableBehaviour is not added to that list the prediction update will not be called. This can create a GhostPlayableBehaviour which contains mixers, clips, references to other assets etc.

    Declaration
    public abstract Playable CreatePlayable(GhostAnimationController controller, PlayableGraph graph, List<GhostPlayableBehaviour> behaviours)
    Parameters
    Type Name Description
    GhostAnimationController controller

    GhostAnimationController to construct playable from.

    PlayableGraph graph

    PlayableGraph used to manage creation and destruction of playables.

    List<GhostPlayableBehaviour> behaviours

    Populated list to call PreparePredictedData(NetworkTick, float, bool) on.

    Returns
    Type Description
    Playable

    Playable constructed for this node.

    In This Article
    Back to top
    Copyright © 2023 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)