docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreatePlayable

    CreatePlayable(PlayableGraph, GameObject)

    Implement this method to have your asset inject playables into the given graph.

    Declaration
    public override Playable CreatePlayable(PlayableGraph graph, GameObject owner)
    Parameters
    Type Name Description
    PlayableGraph graph

    The graph to inject playables into.

    GameObject owner

    The game object which initiated the build.

    Returns
    Type Description
    Playable

    The playable injected into the graph, or the root playable if multiple playables are injected.

    Overrides
    PlayableAsset.CreatePlayable(PlayableGraph, GameObject)
    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)