private static void OnPlayModeState(PlayModeStateChange state) { if (Settings.Profile.AutoAtlasEnabled && Settings.Profile.PlayModeEnabled) { if (state == PlayModeStateChange.ExitingEditMode) { AutoAtlas.CreateAtlases(); } else if (state == PlayModeStateChange.EnteredEditMode) { AutoAtlas.DeleteAtlases(); } } }
private static void DeleteAtlases() { AutoAtlas.DeleteAtlases(); }
public void OnPostprocessBuild(BuildReport report) { AutoAtlas.DeleteAtlases(); }