static void OnPlayModeStateChanged(PlayModeStateChange state) { switch (state) { case PlayModeStateChange.EnteredEditMode: break; case PlayModeStateChange.ExitingEditMode: GcEditorResourceBuilder.Build(); break; case PlayModeStateChange.EnteredPlayMode: break; case PlayModeStateChange.ExitingPlayMode: break; } }
void IPreprocessBuildWithReport.OnPreprocessBuild(BuildReport report) { GcEditorResourceBuilder.Build(); }
private static void BuildResource() { GcEditorResourceBuilder.Build(); }