Search Unity

How to get the sprite name in Sprite Animation Editor?

Discussion in '2D' started by Bagazi, Dec 2, 2019.

  1. Bagazi

    Bagazi

    Joined:
    Apr 18, 2018
    Posts:
    151
    upload_2019-12-3_1-34-46.png

    I want to know the sprite name , is there some way to ping the object in asset?
     
  2. eses

    eses

    Joined:
    Feb 26, 2013
    Posts:
    1,489
    Hi @Bagazi

    Try this;

    Scrub over the sprite you want in Animation view.

    Check the Inspector, and make sure your GameObject that has the animator is selected. From there check the Sprite Renderer component.

    The Sprite field will show currently active animation clip's sprite = the sprite you want. You will see that it updates while you move / scrub time marker in Animation view.

    Clicking this sprite will show the sprite asset in Project Assets view.
     
    Bagazi likes this.
  3. Bagazi

    Bagazi

    Joined:
    Apr 18, 2018
    Posts:
    151
    Thanks very much:)
     
  4. eses

    eses

    Joined:
    Feb 26, 2013
    Posts:
    1,489
    @Bagazi

    No problems. But if my answer helped, why not press that like button :)