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

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

            system.SetBuildVersion(system.Version.Build + 1);
        }
Ejemplo 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;
 }