protected override void Run()
        {
			this.handler = new Base();
			
           	Helpers.CheckConnection();

            // Find Unity
            if (PropertyService.Get<string>("Unity.Base.Path", "" ) == "")
            {
				handler.FindUnity();
            }

            // Find IPhone Unity (so far Mac Only)
            if (PropertyService.Get<string>("Unity.iPhone.Path", "") == "" 
			    && Helpers.WhatOS() == Helpers.OS.Mac)

            {
                handler.FindUnityiPhone();
            }
        }
Пример #2
0
        protected override void Run()
        {
            this.handler = new Base();

            Helpers.CheckConnection();

            // Find Unity
            if (PropertyService.Get <string>("Unity.Base.Path", "") == "")
            {
                handler.FindUnity();
            }

            // Find IPhone Unity (so far Mac Only)
            if (PropertyService.Get <string>("Unity.iPhone.Path", "") == "" &&
                Helpers.WhatOS() == Helpers.OS.Mac)

            {
                handler.FindUnityiPhone();
            }
        }