Search Unity

Switching between timelines

Discussion in 'Timeline' started by Sergey_Droba, Dec 20, 2017.

  1. Sergey_Droba

    Sergey_Droba

    Joined:
    Nov 6, 2016
    Posts:
    24
    Hello,
    i got an idea to use Timelines like tool for creating sequences of effects for my game objects.
    It would be great to me gather all kind of animations and effects like
    - transform animations
    - sprite animations
    - particles
    - sounds

    Is it ok if i will use it in my match3 game for every game item so every item will have Playable Director?
    I want to create different animations like idle, explosions, moving.
    Is it proper use of Timelines and how can i switch between Timelines on fly or mb i can play just part of timeline?
    Thank you!
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    919
    I see no issue why this won't work. You can 'stack' timelines on top of state machines or other timelines, And using ease in/ease out on animation clips allows animation to blend from another timeline or state machine.
     
  3. Sergey_Droba

    Sergey_Droba

    Joined:
    Nov 6, 2016
    Posts:
    24
    Thank you for reply!
    Under state machine do you mean any particular technology like Animator?
    Or abstract code construction?
    Thank you!