Search Unity

Two questions about the animation editor

Discussion in 'Animation' started by unity_K_mbpWDxwZoqew, Mar 8, 2019.

  1. unity_K_mbpWDxwZoqew

    unity_K_mbpWDxwZoqew

    Joined:
    Mar 8, 2019
    Posts:
    2
    I want to make a 2d platform game with sprite animation but I have 2 questions about the animation editor: First one is if there is a way to set a specific speed for each frame of the sprite or a way to maintain the original speed of a sprite gif, and the second one is if there is a easy way to call a function or script from a specific frame of a sprite, so that, for example, on a jump sprite where the first frame has the character still on the ground and the actual jump occurs only after the second frame, then a script is called on the second frame to set the onGround variable as false. Is that possible? Thank you.