Search Unity

Question Duplicating animation clip keyframe behaviour in multiple clips

Discussion in '2D' started by Dakkerst, May 10, 2020.

  1. Dakkerst

    Dakkerst

    Joined:
    Oct 24, 2016
    Posts:
    9
    I have a top-down game with a character that has animations for up, down, left, right. I have an animation clip where the player falls down. The player can fall down in each of these directions and has a separate animation clip for each. I have a 2D blend tree that manages which direction based off of the direction.

    During the fall animation, I want to set an animation clip property at a keyframe. However, from what I can tell, I have to do this exact same logic for each direction as they're separate clips. Is there a better way to do this?