using System; namespace PhxhSDK.Editor { public static class PhxhBuild { public static Action beforeBuildPlayer; // handle other things for special game public static Action beforeBuildContent; // handle other things for special game public static Action beforeBuildContentAndPlayer; // handle other things for special game public static void BuildPlayer() { EditorUtils.ApplyBuildPlayerSettings(); beforeBuildPlayer?.Invoke(); // build call } public static void BuildContent() { EditorUtils.ApplyBuildContentSettings(); beforeBuildContent?.Invoke(); // build call } public static void BuildContentAndPlayer() { EditorUtils.ApplyBuildContentSettings(); beforeBuildContentAndPlayer?.Invoke(); // build call } } }