Search Unity

Getting the duration of the ease in on a timeline animation clip?

Discussion in 'Timeline' started by Duffking, Feb 14, 2018.

  1. Duffking

    Duffking

    Joined:
    Oct 3, 2014
    Posts:
    24
    Is it possible to do this? It seems there is hasBlendIn to check if there is one present, but not to get the duration of it. It would be really useful for me in a few places programatically to delay something happening until the ease in on a clip has finished.
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    TimelineClip.easeInDuration is what you want. Seems like it's missing from the documentation.
     
    daxiongmao and Duffking like this.