Implement this function to receive a callback after the build is complete.
#pragma strict class MyCustomBuildProcessor implements IPostprocessBuild { int CallbackOrder { return 0; } public function OnPostprocessBuild(target: BuildTarget, path: String) { Debug.Log("MyCustomBuildProcessor.OnPostprocessBuild for target " + target + " at path " + path); } }
using UnityEditor; using UnityEditor.Build; using UnityEngine;
class MyCustomBuildProcessor : IPostprocessBuild { public int callbackOrder { get { return 0; } } public void OnPostprocessBuild(BuildTarget target, string path) { Debug.Log("MyCustomBuildProcessor.OnPostprocessBuild for target " + target + " at path " + path); } }