Created
July 15, 2015 09:42
-
-
Save JiboStore/dfe0fdfbd8f7de6f0af7 to your computer and use it in GitHub Desktop.
that'll auto serialise all your changed prefabs (ie write to disk) anytime you play or build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEditor; | |
using UnityEditor.Callbacks; | |
public class AutoSerialiseAssets : Editor { | |
[PostProcessScene(-2)] | |
public static void OnPostprocessScene() { | |
EditorApplication.SaveAssets(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment