public void OnPreprocessBuild(BuildReport report) { if (BuildNumberProcessor.GetAutoIncrementEnabled()) { Debug.Log("BuildNumber: Auto Increment"); BuildNumberProcessor.Increment(); } if (BuildNumberProcessor.TryUpdateBuildNumberFromProjectSettings()) { Debug.Log("BuildNumber: Build number updated in Player Settings"); } }
public static void Increment() { BuildNumberProcessor.Increment(); }