public static void OpenCustomSolution() { UpdateCustomSolution(); var response = PrjInterface.RunPrj(PrjInterface.CreatePrjRequest("openCustomSolution")); if (!response.Succeeded) { PrjHelper.DisplayPrjError( "Opening C# Project", response.ErrorMessage); } }
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); } }
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); } }
public static void ChangePlatformIos() { PrjHelper.ChangePlatform(BuildTarget.iOS); }
public static void ChangePlatformAndroid() { PrjHelper.ChangePlatform(BuildTarget.Android); }
public static void ChangePlatformWin() { PrjHelper.ChangePlatform(BuildTarget.StandaloneWindows); }
public static void UpdateLinks() { PrjHelper.UpdateLinks(); }
public static void ChangePlatformUwp() { PrjHelper.ChangePlatform(BuildTarget.WSAPlayer); }
public static void ChangePlatformLinux() { PrjHelper.ChangePlatform(BuildTarget.StandaloneLinux); }
public static void ChangePlatformOsX() { PrjHelper.ChangePlatform(BuildTarget.StandaloneOSXUniversal); }
public static void ChangePlatformWebGL() { PrjHelper.ChangePlatform(BuildTarget.WebGL); }
public static void ChangePlatformLumin() { var lumin = (BuildTarget)Enum.Parse(typeof(BuildTarget), "Lumin"); PrjHelper.ChangePlatform(lumin); }
public static void ChangePlatformWebplayer() { PrjHelper.ChangePlatform(BuildTarget.WebPlayer); }