Search Unity

Question How to implement a custom GroupTrack?

Discussion in 'Timeline' started by Peter77, Aug 5, 2022.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,610
    I want to implement a custom Track Sub-Group. Inheriting from UnityEngine.Timeline.GroupTrack doesn't allow to add children to it. I just can't figure it out what I have to write to make that work.

    How can I implement a custom GroupTrack that allows me to add child-tracks to it? It doesn't need any mixing whatsoever, it just need to group a bunch of tracks to run some code at runtime over it.

    PS: I'm using Unity 2021.3 and Timeline 1.6.4.
     
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,610
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,610
  4. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,610
  5. Midiphony-panda

    Midiphony-panda

    Joined:
    Feb 10, 2020
    Posts:
    243