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 CreateAtlases() { AutoAtlas.CreateAtlases(); }
public void OnPreprocessBuild(BuildReport report) { AutoAtlas.CreateAtlases(); }