public static void OnPostProcessBuild(BuildTarget target, string pathToBuiltProject) { if (build == null) { return; } if (build.Target != target) { Debug.LogError("Target Error"); return; } build.PostBuild(target, pathToBuiltProject); }