Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Is it possible to "preview" Markers (create a Mixer Behavior for Markers)?

Discussion in 'Timeline' started by Sangemdoko, Jan 13, 2021.

  1. Sangemdoko


    Dec 15, 2013

    I'm working on a custom Track that will spawn waves of enemies.
    Just like the space ship example from this video:

    I went through the example project and the code, thanks to that I was able to replicate the same behaviour in my project.

    In Edit mode I can preview the timeline and see my enemies spawn and move in a certain direction.

    The only thing I found a bit weird is that the clip duration is not used, the only important part is the clip position which is used to spawn the enemy at a specific time.

    So I tried replicating the same thing but with markers instead of clips... and so far I haven't been able to.
    It seems to me that since Markers aren't PlayableAssets it's not really possible. There is no Mixer for markers.

    So out of curiosity does anyone know if it is possible to "preview" markers?

    If not that ins't a problem, I'll simply fix the clip size to a certain duration/length that make sense.