Exemple #1
0
        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");
            }
        }
Exemple #2
0
 public static void Increment()
 {
     BuildNumberProcessor.Increment();
 }