Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

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,467
    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,467
  3. Peter77

    Peter77

    QA Jesus

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

    Peter77

    QA Jesus

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

    Midiphony-panda

    Joined:
    Feb 10, 2020
    Posts:
    236