Esempio n. 1
0
        public void IncreaseVersion()
        {
            VersionSystem system = VersionSystem.Instance;

            system.SetBuildVersion(system.Version.Build + 1);
        }
Esempio n. 2
0
        public void OnPreprocessBuild(BuildTarget target, string path)
        {
            VersionSystem system = VersionSystem.Instance;

            system.SetBuildVersion(system.Version.Build + 1);
        }
Esempio n. 3
0
        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;
 }