Ejemplo n.º 1
0
        public static void OpenCustomSolution()
        {
            UpdateCustomSolution();

            var response = PrjInterface.RunPrj(PrjInterface.CreatePrjRequest("openCustomSolution"));

            if (!response.Succeeded)
            {
                PrjHelper.DisplayPrjError(
                    "Opening C# Project", response.ErrorMessage);
            }
        }
Ejemplo n.º 2
0
        static PrjPathVars()
        {
            var response = PrjInterface.RunPrj(PrjInterface.CreatePrjRequest("getPathVars"));

            if (response.Succeeded)
            {
                _varMap = YamlSerializer.Deserialize <Dictionary <string, string> >(response.Output);
            }
            else
            {
                PrjHelper.DisplayPrjError("Initializing Path Vars", response.ErrorMessage);
            }
        }
Ejemplo n.º 3
0
        public static void UpdateCustomSolution()
        {
            // Need the unity solution for defines and references
            ProjenyEditorUtil.ForceGenerateUnitySolution();

            var response = PrjInterface.RunPrj(PrjInterface.CreatePrjRequest("updateCustomSolution"));

            if (response.Succeeded)
            {
                Log.Info("Projeny: Custom solution has been updated");
            }
            else
            {
                PrjHelper.DisplayPrjError(
                    "Updating C# Project", response.ErrorMessage);
            }
        }
Ejemplo n.º 4
0
 public static void ChangePlatformIos()
 {
     PrjHelper.ChangePlatform(BuildTarget.iOS);
 }
Ejemplo n.º 5
0
 public static void ChangePlatformAndroid()
 {
     PrjHelper.ChangePlatform(BuildTarget.Android);
 }
Ejemplo n.º 6
0
 public static void ChangePlatformWin()
 {
     PrjHelper.ChangePlatform(BuildTarget.StandaloneWindows);
 }
Ejemplo n.º 7
0
 public static void UpdateLinks()
 {
     PrjHelper.UpdateLinks();
 }
Ejemplo n.º 8
0
 public static void ChangePlatformUwp()
 {
     PrjHelper.ChangePlatform(BuildTarget.WSAPlayer);
 }
Ejemplo n.º 9
0
 public static void ChangePlatformLinux()
 {
     PrjHelper.ChangePlatform(BuildTarget.StandaloneLinux);
 }
Ejemplo n.º 10
0
 public static void ChangePlatformOsX()
 {
     PrjHelper.ChangePlatform(BuildTarget.StandaloneOSXUniversal);
 }
Ejemplo n.º 11
0
 public static void ChangePlatformWebGL()
 {
     PrjHelper.ChangePlatform(BuildTarget.WebGL);
 }
Ejemplo n.º 12
0
        public static void ChangePlatformLumin()
        {
            var lumin = (BuildTarget)Enum.Parse(typeof(BuildTarget), "Lumin");

            PrjHelper.ChangePlatform(lumin);
        }
Ejemplo n.º 13
0
 public static void ChangePlatformWebplayer()
 {
     PrjHelper.ChangePlatform(BuildTarget.WebPlayer);
 }