public void IncreaseVersion() { VersionSystem system = VersionSystem.Instance; system.SetBuildVersion(system.Version.Build + 1); }
public void OnPreprocessBuild(BuildTarget target, string path) { VersionSystem system = VersionSystem.Instance; system.SetBuildVersion(system.Version.Build + 1); }
public void IncreaseVersion() { VersionSystem system = VersionSystem.Instance; system.SetPlayVersion(system.Version.Play + 1); }
// static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, // string[] movedFromAssetPaths) // { // RevisionIncreaser revisionVersionIncreaser = new RevisionIncreaser(); // revisionVersionIncreaser.IncreaseVersion(); // } // public void IncreaseVersion() { VersionSystem system = VersionSystem.Instance; system.SetRevisionVersion(system.Version.Revision + 1); }
void InitSystem() { versionSystem = new VersionSystem(); preferences = versionSystem.Preferences; }