Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Feedback One click undo?

Discussion in 'General Discussion' started by Funwill, Oct 25, 2022.

  1. Funwill

    Funwill

    Joined:
    Nov 10, 2018
    Posts:
    128
    Greets!

    Just wonderin if there's a shortcut via the mouse to undo ur last action, instead of passin by history?

    Cheers!
     
  2. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    8,228
    That is a per-mouse feature rather specific to Unity itself.

    If your mouse has fancy extra buttons you'd need to use its appropriate software to set up a CRTL-Z action.
     
    Last edited: Oct 25, 2022
    Antypodish likes this.
  3. Funwill

    Funwill

    Joined:
    Nov 10, 2018
    Posts:
    128
    Thxs, and nowhere to click otherwise?
     
  4. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    8,228
    What do you actually mean by that?
     
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,510
  6. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    10,275
    Why not just use CTRL-Z?
     
    MadeFromPolygons and r31o like this.
  7. Funwill

    Funwill

    Joined:
    Nov 10, 2018
    Posts:
    128
    That's what i mean mgear, but didn't know about ctrl-z. Though i'm not much on keyboard at the moment.
     
  8. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,510
    actually Edit/Shortcuts - allows binding undo into extra mouse buttons also
    upload_2022-10-25_13-57-22.png
     
  9. Funwill

    Funwill

    Joined:
    Nov 10, 2018
    Posts:
    128
    Ok, but got only 3 button on my basic mouse, might upgrade it later.
     
  10. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,510
  11. Funwill

    Funwill

    Joined:
    Nov 10, 2018
    Posts:
    128
    Thxs, but i'm afraid i don't know yet how to use the scripts... :s
     
  12. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    10,275
    ...you didn't know about the universal undo shortcut that OSX, Windows, Linux, and a whole host of other operating systems have had for literal decades?
     
    arkano22 likes this.
  13. Funwill

    Funwill

    Joined:
    Nov 10, 2018
    Posts:
    128
    Nops... Had nothin to undo till now....
     
  14. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    10,275
    In anything? At all? Never in a Word Processor? Never to reopen a closed tab? Never in an IDE? Never in an image editor? Never in your life?

    Also just use your keyboard. If you're going to be making games, you're going to be using the keyboard a lot.
     
  15. Funwill

    Funwill

    Joined:
    Nov 10, 2018
    Posts:
    128
    Yes, i'll get the keyboard habit soon i guess. Trouble is, got an azerty keyboard, and i can't find a way to rebind it...
     
    Last edited: Oct 25, 2022
  16. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    10,275
    It's not a difficult keystroke to reach even on azerty.
     
  17. BIGTIMEMASTER

    BIGTIMEMASTER

    Joined:
    Jun 1, 2017
    Posts:
    5,181
    i have a logitech g502 mouse and i set the little index finger button next to left to undo. The other i set to redo.
    The side squeeze button i set to middle mouse.
    the other side buttons are delete and enter.

    I've found this to be generally useful for many game development software's. I've had this setup for several years now and haven't been able to improve it.