// 유틸 : 국가별 설정 처리 static void SetNationInfo(eNationType eNation, eServiceMode eMode) { switch (eNation) { case eNationType.Korea: // ClinetConfiguration파일 업데이트( CDN 주소 ) WriteClientConfiguration(GetURLToConfigurationCDNOfKorea(), eMode); break; } }
// 유틸 : Only Bundle Packing static void OnlyBundlePacking(eNationType eNation, BuildTarget eTarget, eBundlePackType ePackType) { // 빌드타겟 별 설정 처리 SetBuildTargetInfo(eTarget); // Asset Bundle Packing PackingAssetBundles(eTarget, ePackType, false); // 후처리 PostProcessor(); }
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #endregion #region Utility Functions // 유틸 : Only App Build static void OnlyAppBuild(eNationType eNation, BuildTarget eTarget, eServiceMode eMode, BuildOptions eOption) { // 국가 별 설정 처리 SetNationInfo(eNation, eMode); // 빌드타겟 별 설정 처리 SetBuildTargetInfo(eTarget); // App Build BuildApplication(SCENES, eTarget, eOption); // 후처리 PostProcessor(); }
// 유틸 : App Build + BundlePacking static void AppBuildWithBundlePacking(eNationType eNation, BuildTarget eTarget, eServiceMode eMode, eBundlePackType ePackType, BuildOptions eOption) { // 국가 별 설정 처리 SetNationInfo(eNation, eMode); // 빌드타겟 별 설정 처리 SetBuildTargetInfo(eTarget); // Asset Bundle Packing PackingAssetBundles(eTarget, ePackType, true); // App Build BuildApplication(SCENES, eTarget, eOption); // 후처리 PostProcessor(); }
// [MenuItem("SHTools/CI/AssetBundles Packing For iOS")] // static void KOR_iOSAssetBundlesPacking() // { // AssetBundlesPacking(BuildTarget.iOS, eBundlePackType.All); // } // [MenuItem("SHTools/CI/AssetBundles Upload For iOS")] // static void KOR_iOSAssetBundlesUpload() // { // UploadAssetBundles(BuildTarget.iOS); // } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #endregion static void AppBuild(eNationType eNation, BuildTarget eTarget, eServiceMode eMode, BuildOptions eOption) { PreProcessor(eTarget); BuildApplication(SCENES, eTarget, eOption); PostProcessor(eTarget); }