void PrepareLoadConfigurationSetup(int index) { PlatformData dataToLoad = new PlatformData(); dataToLoad = PlatformDataManager.getPlatformDataFromIndex(index); Debug.Log(dataToLoad.sceneName); LoadScene(dataToLoad.sceneName); prepareBuildSettings(dataToLoad.buildtarget, dataToLoad.buildtargetGroup); this.Close(); }
/// <summary> /// /// </summary> public void init() { if (!updateOnce) { this.platformData = new PlatformData(); this.platformData = PlatformDataManager.getPlatformDataFromIndex(this.index); this.projectName = platformData.projectName; this.description = platformData.description; this.configName = platformData.configurationName; this.assignVIU = platformData.viu; this.assignGvR = platformData.gvr; this.assignWaveSDK = platformData.wavevr; this.assignMiddleVR = platformData.middleVR; if (platformData.buildtargetGroup == "Android") { btg = OptionsTargetGroup.Android; } if (platformData.buildtargetGroup == "Standalone") { btg = OptionsTargetGroup.Standalone; } if (platformData.buildtarget == "Android") { bt = OptionsBuildTarget.Android; } if (platformData.buildtarget == "StandaloneWindows64") { bt = OptionsBuildTarget.StandaloneWindows64; } updateOnce = true; } }