Advertisement
benimaru

Unity3D Quick Save Everything with Ctrl-Shift E

Dec 16th, 2014
457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.42 KB | None | 0 0
  1. using UnityEngine;
  2. using UnityEditor;
  3. using System.Collections;
  4.  
  5. //From @ben_throop
  6. //Hope it saves you some pain
  7. //Copy to a new .cs file named SaveEverything.cs in /Editor folder or put the Save() method in some other editor script
  8. public class SaveEverything : MonoBehaviour
  9. {
  10.     [MenuItem ("File/Save Everything %#e")]
  11.     static void Save () {
  12.         EditorApplication.SaveAssets();
  13.         EditorApplication.SaveScene();
  14.     }  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement