Search Unity

Deleting shapes in Sprite Editor

Discussion in '2D' started by rockpin-games, Nov 26, 2013.

  1. rockpin-games

    rockpin-games

    Joined:
    Feb 4, 2013
    Posts:
    17
    Is it possible to delete a shape in Sprite Editor? I want to merge two automatic created slices.
     
  2. TomasJ

    TomasJ

    Joined:
    Sep 26, 2010
    Posts:
    256
    Yes, select it and press the DELETE key. Then adjust the other shape.
     
    andreialex109 likes this.
  3. rockpin-games

    rockpin-games

    Joined:
    Feb 4, 2013
    Posts:
    17
    Wow, wasn't working for me this morning on Mac. Now it works on Windows. :confused:

    Problem is used sprites get corrupted.

    Thanks!


    Edit:
    I can confirm delete key does not work on mac. Any idea?
     
    Last edited: Nov 29, 2013
  4. grit

    grit

    Joined:
    Nov 12, 2013
    Posts:
    14
    I looked for how you can emulate the forward delete key on a mac, so try CMD + DEL (backspace del).
    This worked for me.
    (An older post suggested FN + DEL, maybe applicable for older Macs.)


    Another solution might be plugging a Windows keyboard, but this would be rather odd. :p
     
    Last edited: Dec 13, 2013
    Milleappeal likes this.
  5. agstanescu

    agstanescu

    Joined:
    Jan 31, 2013
    Posts:
    13
    After I deleted some sprites in the Sprite Editor, I discovered that all my GameObjects completely lost their link to the correct sprites. And unfortunately I couldn't find an easy Undo action for this.

    It appears as though GameObjects keep an index in the sprite sheet, and when a sprite is deleted then all GameObjects still use the old indices (which now point to completely other sprites) => total mess
     
  6. leissler

    leissler

    Joined:
    Mar 21, 2013
    Posts:
    18
    I agree! That totally needs to be fixed. After deleting sprites, Unity should intelligently re-index references to sprites within GameObjects.
    Shouldn't be such a big thing, code-wise.
     
  7. shinriyo_twitter

    shinriyo_twitter

    Joined:
    Aug 12, 2011
    Posts:
    328
    command + delete key is right
     
    Milleappeal likes this.
  8. benblo

    benblo

    Joined:
    Aug 14, 2007
    Posts:
    476
    OMG, this is so full of fail!
    When I first noticed this I was certain I was doing something wrong, if not for this thread I'd still be looking, I couldn't believe they would ship this!
    Unity's reference system is one of its absolute best features, but for sprites it's just completely broken because of this...
     
  9. Photonic4140412

    Photonic4140412

    Joined:
    Apr 23, 2013
    Posts:
    3
    I know I am necroing a thread. However, did anyone figure out a way to deal with this?

    Is there a better pipeline?
     
    Ash-Blue likes this.
  10. TomasJ

    TomasJ

    Joined:
    Sep 26, 2010
    Posts:
    256
  11. Mahtub

    Mahtub

    Joined:
    Nov 21, 2016
    Posts:
    1
    command + backspace
     
  12. CuongNV31

    CuongNV31

    Joined:
    Mar 25, 2017
    Posts:
    1
    Dear All members.
    Please using Command + Delete
     
  13. kskjadav007

    kskjadav007

    Joined:
    Aug 2, 2017
    Posts:
    8
    command+backspace. in mac
     
    ikasapoglu likes this.
  14. amirna2

    amirna2

    Joined:
    Jul 10, 2018
    Posts:
    2
    command + backspace does not work on recent MacBooks. But command + delete does. But I agree, this should be fixed to just use delete.