Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

Assigning to a custom timeline clip from animation clip?

Discussion in 'Timeline' started by jp-glue, Mar 26, 2021.

  1. jp-glue

    jp-glue

    Joined:
    Jan 13, 2021
    Posts:
    2
    Hi,

    If a custom timeline clip has animation curves in it, an internal animation clip asset is created within the timeline asset. Is there an easy way to assign animation curves from an existing animation clip into that one á la "Create from animation clip"? I did some digging through the code already and found that adding an AnimationClip member variable into the PlayableAsset makes that context menu option available, but this doesn't really help me because I don't know how to get the curves into the actual clip.

    Thanks!
     
unityunity