Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

Question How to change speed of custom playable?

Discussion in 'Timeline' started by XyeCkr, Dec 7, 2022.

  1. XyeCkr


    Apr 21, 2018
    Hi all, I'm using Timeline for building abilities using custom Playable Tracks in my game. I need to be able to set the playback speed to change the attack speed.

    Currently I'm using
    Code (CSharp):
    1. parent.GetComponent<PlayableDirector>().playableGraph.GetRootPlayable(0).SetSpeed(newSpeed);
    ...But it's not doing anything.
    I really need to be able to do this. Is there a workaround?