Class PlayableDirectorExtensions | DOTS Timeline | 0.8.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class PlayableDirectorExtensions

    Inheritance
    Object
    PlayableDirectorExtensions
    Namespace: Unity.Timeline.Hybrid
    Syntax
    public static class PlayableDirectorExtensions

    Methods

    GatherDirectors(PlayableDirector, List<PlayableDirector>)

    Given a playable director, fills a list of all referenced PlayableDirectors from clips

    Declaration
    public static void GatherDirectors(this PlayableDirector director, List<PlayableDirector> subDirectors)
    Parameters
    Type Name Description
    PlayableDirector director
    List<PlayableDirector> subDirectors

    GatherDOTSTrackBindings(PlayableDirector, ICollection<TrackBaseBinding>)

    Gathers the list of DOTS Track related bindings

    Declaration
    public static void GatherDOTSTrackBindings(this PlayableDirector director, ICollection<TrackBaseBinding> bindings)
    Parameters
    Type Name Description
    PlayableDirector director
    ICollection<TrackBaseBinding> bindings

    GatherTags(PlayableDirector, ICollection<Hash128>)

    Gathers all tags on a playable director.

    Declaration
    public static void GatherTags(this PlayableDirector director, ICollection<Hash128> tags)
    Parameters
    Type Name Description
    PlayableDirector director
    ICollection<Hash128> tags
    Exceptions
    Type Condition
    ArgumentNullException

    HasDOTSTimeline(PlayableDirector)

    Returns whether this playable director has a timeline requires DOTS

    Declaration
    public static bool HasDOTSTimeline(this PlayableDirector director)
    Parameters
    Type Name Description
    PlayableDirector director
    Returns
    Type Description
    Boolean
    Exceptions
    Type Condition
    ArgumentNullException
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023