Is there a way to bypass Ctrl + S for Windows or + S for Apple default behaviour (save scene) in a custom editor window?

  • \$\begingroup\$ Maybe a script that is marked as [ExecuteInEditMode]? Not the best solution, since it will still trigger the default behaviour as well, but I don't think you can actually overwrite this (I've tried it before to bind save project to it). \$\endgroup\$
    – Athos vk
    Jan 4 '16 at 11:38
  • \$\begingroup\$ @Athosvk I don't think it's possible either, but I'm still asking just in case I am wrong and someone knows how to do the trick. Thanks for your comment anyway. \$\endgroup\$
    – lvictorino
    Jan 4 '16 at 11:41
  • 1
    \$\begingroup\$ Have you taken a look at this post on Unity Answers? You can get a callback just before the scene is saved, and modify the set of content that gets written. \$\endgroup\$
    – DMGregory
    Jan 4 '16 at 11:55

You must log in to answer this question.

Browse other questions tagged .