Unity3d editor: how to prevent changes from being undone upon exiting play mode?

FotisK

Apparently this is some beginner's question (and that I am) but it's driving me crazy and I couldn't find any mention:

I Occasionally forget to exit Play mode and go on building my UI making objects and changes, only to realize that I'm still in Play Mode and as soon as I unpress the play button, these will be purged! I suppose the Unity Editor has its reasons for allowing editing of Scripts/Scenes while in Play Mode (would be happy to hear some examples-maybe testing scenes?) but my main question here is:

Is there some way for me to prevent this behavior? Or at least some trick that you use to prevent me from making changes while in play mode? (Other than becoming paranoid about it and checking constantly...)

Thank you

PS. sigh time to head back to Unity and rebuild that UI that I lost...

yinch

Other Unity coders have had this problem before me and they came up with a neat solution. Setting the UI to a different colour while in playmode "Playmode tint".

You can read the details here (originally posted 2009 but I have checked it still works in latest Unity 5.3):

http://answers.unity3d.com/questions/9159/best-strategies-for-not-accidently-editing-whilst.html

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can one prevent a Windows Scheduled Task from being killed upon OS sleep?

From Dev

How to prevent the NodeJS event loop from exiting?

From Java

Mobaxterm: how to prevent ssh session from exiting?

From Dev

Prevent exiting maximized window mode

From Dev

Prevent page from exiting

From Dev

In Unity change color of the editor during Play Mode

From Dev

Unity3D: void OnEnable() is called Unpredictably in Editor Mode

From Dev

Unity3d - Load a specific scene on play mode

From Dev

Play: How to prevent the body parser from being invoked in case the action code does not get executed

From Dev

How to prevent cron jobs from being run during certain times in Debian? (a 'gaming' / 'performance mode')

From Dev

How to prevent files from being shown in Unity dash?

From Dev

how to prevent mocha from exiting process with status 1

From Dev

How to prevent my threads from exiting before their work is done?

From Dev

Prevent a nodejs application from exiting

From Dev

Prevent container from exiting, conditionally

From Dev

JRuby - Prevent JVM from exiting

From Dev

Is it possible to prevent a file from being deleted unless in safe mode?

From Dev

How Can Get String From Players On Play Mode With Unity

From Dev

Prevent save changes dialog box upon closing

From Dev

How to prevent timestamp from being reorder out?

From Dev

How to prevent class instance from being modified?

From Dev

How to prevent the JPanel from being updated?

From Dev

How to prevent the Content of a UserControl from being overridden?

From Dev

How to prevent a process from being killed?

From Dev

How to prevent embedded manifest from being used?

From Dev

How to prevent files from being modified in elFinder?

From Dev

How to prevent a custom QWidget from being resized?

From Dev

How to prevent RSpec helper from being loaded

From Dev

DBGrid: how to prevent a row from being selected?

Related Related

  1. 1

    How can one prevent a Windows Scheduled Task from being killed upon OS sleep?

  2. 2

    How to prevent the NodeJS event loop from exiting?

  3. 3

    Mobaxterm: how to prevent ssh session from exiting?

  4. 4

    Prevent exiting maximized window mode

  5. 5

    Prevent page from exiting

  6. 6

    In Unity change color of the editor during Play Mode

  7. 7

    Unity3D: void OnEnable() is called Unpredictably in Editor Mode

  8. 8

    Unity3d - Load a specific scene on play mode

  9. 9

    Play: How to prevent the body parser from being invoked in case the action code does not get executed

  10. 10

    How to prevent cron jobs from being run during certain times in Debian? (a 'gaming' / 'performance mode')

  11. 11

    How to prevent files from being shown in Unity dash?

  12. 12

    how to prevent mocha from exiting process with status 1

  13. 13

    How to prevent my threads from exiting before their work is done?

  14. 14

    Prevent a nodejs application from exiting

  15. 15

    Prevent container from exiting, conditionally

  16. 16

    JRuby - Prevent JVM from exiting

  17. 17

    Is it possible to prevent a file from being deleted unless in safe mode?

  18. 18

    How Can Get String From Players On Play Mode With Unity

  19. 19

    Prevent save changes dialog box upon closing

  20. 20

    How to prevent timestamp from being reorder out?

  21. 21

    How to prevent class instance from being modified?

  22. 22

    How to prevent the JPanel from being updated?

  23. 23

    How to prevent the Content of a UserControl from being overridden?

  24. 24

    How to prevent a process from being killed?

  25. 25

    How to prevent embedded manifest from being used?

  26. 26

    How to prevent files from being modified in elFinder?

  27. 27

    How to prevent a custom QWidget from being resized?

  28. 28

    How to prevent RSpec helper from being loaded

  29. 29

    DBGrid: how to prevent a row from being selected?

HotTag

Archive