void Start() { adInfo = manager.SPAds.Find(ad => ad.SceneName == "IconScene"); // 初回のみResister(),Start(),Show()を呼び、 // 2度目以降は、SetVisibility()を使用してください if (adInfo.AdViewId == null) { IMobileSdkAdsUnityPlugin.registerInline(adInfo.TestPID, adInfo.TestMID, adInfo.TestSID); IMobileSdkAdsUnityPlugin.start(adInfo.TestSID); var iconParam = new IMobileIconParams(); iconParam.iconNumber = 5; iconParam.iconSize = 52; iconParam.iconTitleEnable = false; adInfo.AdViewId = IMobileSdkAdsUnityPlugin.show(adInfo.TestSID, IMobileSdkAdsUnityPlugin.AdType.ICON, IMobileSdkAdsUnityPlugin.AdAlignPosition.CENTER, IMobileSdkAdsUnityPlugin.AdValignPosition.MIDDLE, iconParam); } else { IMobileSdkAdsUnityPlugin.setVisibility(adInfo.AdViewId.Value, true); } }
/// <summary> /// Chats the back button. /// Event設定用。 /// </summary> public void ChatBackButton() { if (PanelFooterButtonManager.Instance != null) { PanelFooterButtonManager.Instance.gameObject.SetActive(true); } BackButton(_panelChat.gameObject); _panelChat.GetComponent <BoxCollider2D> ().enabled = true; _panelChat.GetComponent <PanelChat> ()._listUpdateDisable = true; if (_panelProfile.localScale.x != 0) { PanelPopupCloseAnimate(_panelProfile.gameObject); _panelProfile.GetComponent <BoxCollider2D> ().enabled = true; } //_panelEazyNotifyInfiniteScroll.Init (""); NativeReadCheck(); HeaderTab1(); #if UNITY_IPHONE || UNITY_ANDROID && !UNITY_EDITOR if (GetUserApi._httpCatchData.result.review == "false" && CommonConstants.IS_PREMIUM == false) { IMobileSdkAdsUnityPlugin.show(CommonConstants.IMOBILE_FULL_SPOT_ID); } #endif }
// Use this for initialization void Awake() { #if UNITY_IPHONE || UNITY_ANDROID IMobileSdkAdsUnityPlugin.registerFullScreen(partnerID, mediaID, spotID); IMobileSdkAdsUnityPlugin.start(spotID); IMobileSdkAdsUnityPlugin.addObserver(gameObject.name); adViewId = IMobileSdkAdsUnityPlugin.show(spotID, IMobileSdkAdsUnityPlugin.AdType.BANNER, IMobileSdkAdsUnityPlugin.AdAlignPosition.CENTER, IMobileSdkAdsUnityPlugin.AdValignPosition.BOTTOM); #endif }
/// <summary> /// Histories the list close event. /// イベント設定用に /// </summary> /// <returns>The list close event.</returns> void HistoryListCloseEvent() { HistoryListClose(_paneHistory); #if UNITY_IPHONE || UNITY_ANDROID && !UNITY_EDITOR if (GetUserApi._httpCatchData.result.review == "false" && CommonConstants.IS_PREMIUM == false) { IMobileSdkAdsUnityPlugin.show(CommonConstants.IMOBILE_FULL_SPOT_ID); } #endif }
/// <summary> /// Profiles the back button. /// Eventセット用 /// </summary> public void ProfileBackButton() { HeaderPanel.Instance.BackButtonSwitch(false, null, LocalMsgConst.TITLE_SEARCH); ProfileClose(_panelProfile.gameObject); #if UNITY_IPHONE || UNITY_ANDROID && !UNITY_EDITOR if (GetUserApi._httpCatchData.result.review == "false" && CommonConstants.IS_PREMIUM == false) { IMobileSdkAdsUnityPlugin.show(CommonConstants.IMOBILE_FULL_SPOT_ID); } #endif }
void OnGUI() { if (manager.AdAdShowButton(adInfo.DisplayName + "広告を表示します")) { // Show()を呼び、広告を表示します IMobileSdkAdsUnityPlugin.show(adInfo.TestSID); } if (manager.AddBackButton()) { // TopSceneに戻ります Application.LoadLevel(manager.HomeSceneName); } }
public void ShowRectangle(DataManager.AD_TYPE _eAdType, bool _bDisp) { if (m_bAdDispRectangle == _bDisp) { return; } switch (_eAdType) { case DataManagerBase <DataManager> .AD_TYPE.NEND: if (_bDisp) { m_nendRectangle.Show(); } else { m_nendRectangle.Hide(); } break; case DataManagerBase <DataManager> .AD_TYPE.IMOBILE: #if UNITY_IPHONE || UNITY_ANDROID && !UNITY_EDITOR #if USE_IMOBILE if (_bDisp && m_iIMobileRectangle == 0) { // スポット情報を設定します IMobileSdkAdsUnityPlugin.registerInline(IMOBILE_BANNER_PID, IMOBILE_BANNER_MID, IMOBILE_BANNER_SID); // 広告の取得を開始します IMobileSdkAdsUnityPlugin.start(IMOBILE_BANNER_SID); // 広告の表示位置を指定して表示します(画面中央) m_iIMobileRectangle = IMobileSdkAdsUnityPlugin.show(IMOBILE_BANNER_SID, IMobileSdkAdsUnityPlugin.AdType.MEDIUM_RECTANGLE, IMobileSdkAdsUnityPlugin.AdAlignPosition.CENTER, IMobileSdkAdsUnityPlugin.AdValignPosition.MIDDLE); } else { IMobileSdkAdsUnityPlugin.setVisibility(m_iIMobileRectangle, _bDisp); } #endif #endif break; case DataManagerBase <DataManager> .AD_TYPE.MAX: default: break; } m_bAdDispRectangle = _bDisp; return; }
/// <summary> /// Profiles to chat close event. /// Mypage専用イベント /// </summary> /// <returns>The to chat close event.</returns> public void ProfileToChatCloseEvent() { if (PanelFooterButtonManager.Instance != null) { PanelFooterButtonManager.Instance.gameObject.SetActive(true); } ProfileToChatClose(_panelChat); #if UNITY_IPHONE || UNITY_ANDROID && !UNITY_EDITOR if (GetUserApi._httpCatchData.result.review == "false" && CommonConstants.IS_PREMIUM == false) { IMobileSdkAdsUnityPlugin.show(CommonConstants.IMOBILE_FULL_SPOT_ID); } #endif }
public void ShowIcon(DataManager.AD_TYPE _eAdType, bool _bDisp) { if (m_bAdDispIcon == _bDisp) { return; } switch (_eAdType) { case DataManagerBase <DataManager> .AD_TYPE.NEND: #if UNITY_ANDROID m_goNendNativePanel.SetActive(_bDisp); #elif UNITY_IPHONE m_goNendNativePanel.SetActive(_bDisp); #endif break; case DataManagerBase <DataManager> .AD_TYPE.IMOBILE: #if UNITY_IPHONE || UNITY_ANDROID && !UNITY_EDITOR #if USE_IMOBILE if (m_iIMobileIcon == 0 && _bDisp) { // スポット情報を設定します IMobileSdkAdsUnityPlugin.registerInline(IMOBILE_ICON_PID, IMOBILE_ICON_MID, IMOBILE_ICON_SID); // 広告の取得を開始します IMobileSdkAdsUnityPlugin.start(IMOBILE_ICON_SID); // アイコン表示パラメータを作成します var iconParams = new IMobileIconParams(); iconParams.iconNumber = 2; // 広告の表示位置を指定して表示します m_iIMobileIcon = IMobileSdkAdsUnityPlugin.show(IMOBILE_ICON_SID, IMobileSdkAdsUnityPlugin.AdType.ICON, IMobileSdkAdsUnityPlugin.AdAlignPosition.RIGHT, IMobileSdkAdsUnityPlugin.AdValignPosition.TOP, iconParams); } else { IMobileSdkAdsUnityPlugin.setVisibility(m_iIMobileIcon, _bDisp); } #endif #endif break; } m_bAdDispIcon = _bDisp; }
public void ShowBanner(DataManager.AD_TYPE _eAdType, bool _bDisp) { if (m_bAdDispBanner == _bDisp) { return; } switch (_eAdType) { case DataManagerBase <DataManager> .AD_TYPE.NEND: if (_bDisp) { m_nendBanner.Show(); } else { m_nendBanner.Hide(); } break; case DataManagerBase <DataManager> .AD_TYPE.IMOBILE: #if UNITY_IPHONE || UNITY_ANDROID && !UNITY_EDITOR #if USE_IMOBILE if (m_iIMobileBanner == 0 && _bDisp) { // スポット情報を設定します IMobileSdkAdsUnityPlugin.registerInline(IMOBILE_BANNER_PID, IMOBILE_BANNER_MID, IMOBILE_BANNER_SID); // 広告の取得を開始します IMobileSdkAdsUnityPlugin.start(IMOBILE_BANNER_SID); // 広告の表示位置を指定して表示します(画面中央下) m_iIMobileBanner = IMobileSdkAdsUnityPlugin.show(IMOBILE_BANNER_SID, IMobileSdkAdsUnityPlugin.AdType.BANNER, IMobileSdkAdsUnityPlugin.AdAlignPosition.CENTER, IMobileSdkAdsUnityPlugin.AdValignPosition.BOTTOM); } else { IMobileSdkAdsUnityPlugin.setVisibility(m_iIMobileBanner, _bDisp); } #endif #endif break; } m_bAdDispBanner = _bDisp; }
void Start() { adInfo = manager.SPAds.Find(ad => ad.SceneName == "BannerScene"); // 初回のみResister(),Start(),Show()を呼び、 // 2度目以降は、SetVisibility()を使用してください if (adInfo.AdViewId == null) { IMobileSdkAdsUnityPlugin.registerInline(adInfo.TestPID, adInfo.TestMID, adInfo.TestSID); IMobileSdkAdsUnityPlugin.start(adInfo.TestSID); adInfo.AdViewId = IMobileSdkAdsUnityPlugin.show(adInfo.TestSID, IMobileSdkAdsUnityPlugin.AdType.BANNER, IMobileSdkAdsUnityPlugin.AdAlignPosition.CENTER, IMobileSdkAdsUnityPlugin.AdValignPosition.MIDDLE, true); } else { IMobileSdkAdsUnityPlugin.setVisibility(adInfo.AdViewId.Value, true); } }
void Start() { adInfo = manager.SelectedAdInfo; // 初回のみResister(),Start(),Show()を呼び、 // 2度目以降は、SetVisibility()を使用してください if (adInfo.AdViewId == null) { IMobileSdkAdsUnityPlugin.registerInline(adInfo.TestPID, adInfo.TestMID, adInfo.TestSID); IMobileSdkAdsUnityPlugin.start(adInfo.TestSID); adInfo.AdViewId = IMobileSdkAdsUnityPlugin.show(adInfo.TestSID, adInfo.AdType.Value, IMobileSdkAdsUnityPlugin.AdAlignPosition.CENTER, IMobileSdkAdsUnityPlugin.AdValignPosition.MIDDLE); } else { IMobileSdkAdsUnityPlugin.setVisibility(adInfo.AdViewId.Value, true); } }
public void ShowAdBanner(bool _bFlag) { if (_bFlag) { if (m_iIMobileBannerId == 0) { #if (UNITY_IPHONE || UNITY_ANDROID) && !UNITY_EDITOR IMobileSdkAdsUnityPlugin.registerInline(IMOBILE_PID, IMOBILE_MID, IMOBILE_SID_BANNER); // 広告の取得を開始します IMobileSdkAdsUnityPlugin.start(IMOBILE_SID_BANNER); // 広告の表示位置を指定して表示します(画面左下) m_iIMobileBannerId = (int)IMobileSdkAdsUnityPlugin.show(IMOBILE_SID_BANNER, IMobileSdkAdsUnityPlugin.AdType.BANNER, IMobileSdkAdsUnityPlugin.AdAlignPosition.CENTER, IMobileSdkAdsUnityPlugin.AdValignPosition.BOTTOM); #else #endif } else { #if (UNITY_IPHONE || UNITY_ANDROID) && !UNITY_EDITOR IMobileSdkAdsUnityPlugin.setVisibility(m_iIMobileBannerId, true); #else #endif } } else { if (m_iIMobileBannerId != 0) { #if (UNITY_IPHONE || UNITY_ANDROID) && !UNITY_EDITOR IMobileSdkAdsUnityPlugin.setVisibility(m_iIMobileBannerId, false); #else #endif } } }
/// <summary> /// Start this instance. /// </summary> IEnumerator Start() { _loadingOverlay.SetActive(true); // アンドロイドでバックグラウンドプッシュ?スプラッシュから?何かのタイミングで //static変数のデータが消え去ってしまうみたいなのでリカバー if (string.IsNullOrEmpty(AppStartLoadBalanceManager._userKey) == true) { //サーバーにイベント通知用Api(インストール時に一回のみ) ---------------------- string _commonFileName = LocalFileConstants.GetLocalFileDir() + LocalFileConstants.COMMON_LOCAL_FILE_NAME; LocalFileHandler.Init(_commonFileName); //ファイルが作成されるまでポーリングして処理待ち while (System.IO.File.Exists(_commonFileName) == false) { yield return(System.IO.File.Exists(_commonFileName) == true); } //ここでユーザーキーを取得。 AppStartLoadBalanceManager._userKey = LocalFileHandler.GetString(LocalFileConstants.USER_KEY); #if UNITY_ANDROID //ステータスバーを表示 //Android用 ApplicationChrome.statusBarState = ApplicationChrome.States.VisibleOverContent; #endif } //ユーザーデータの取得。 new GetUserApi(); while (GetUserApi._success == false) { yield return(GetUserApi._success == true); } if (GetUserApi._httpCatchData.result.review == "false") { #if UNITY_IPHONE || UNITY_ANDROID && !UNITY_EDITOR //有料会員か? if (CommonConstants.IS_PREMIUM == false) { //_nendAdBanner.Show (); } else { _nendAdBanner.Pause(); _nendAdBanner.Hide(); Destroy(_nendAdBanner.gameObject); } #endif } //審査レビューじゃない場合のみ広告表示。 if (GetUserApi._httpCatchData.result.review == "false") { #if UNITY_IPHONE || UNITY_ANDROID && !UNITY_EDITOR if (CommonConstants.IS_PREMIUM == false) { // 広告の取得、表示処理 if (CommonConstants.IS_AD_TEST == true) { //インタースティシャル広告 IMobileSdkAdsUnityPlugin.show(CommonConstants.IMOBILE_INTERSTATIAL_SPOT_TEST_ID); } else { //インタースティシャル広告 IMobileSdkAdsUnityPlugin.show(CommonConstants.IMOBILE_INTERSTATIAL_SPOT_ID); } } else { IMobileSdkAdsUnityPlugin.stop(); } #endif } //性別が取得出来ていない場合の処理。 if (GetUserApi._httpCatchData.result.user.sex_cd == "0") { PanelGenderSelectCommon.Instance.Init(); //性別選択のUIを表示。 _loadingOverlay.SetActive(false); yield break; } AppStartLoadBalanceManager._gender = GetUserApi._httpCatchData.result.user.sex_cd; ///メンテナンスの場合、処理を止める。 if (AppliEventController.Instance.MaintenanceCheck() == true) { _loadingOverlay.SetActive(false); yield break; } ///ユーザーのステータスをチェックする処理。 AppliEventController.Instance.UserStatusProblem(); ///強制アップデートの場合、処理を止める。 if (AppliEventController.Instance.ForceUpdateCheck() == true) { _loadingOverlay.SetActive(false); yield break; } ///アプリポップアップレビューの立ち上げ処理。 AppliEventController.Instance.AppliReview(); //マスターデータの取得 if (InitDataApi._httpCatchData == null) { new InitDataApi(); while (InitDataApi._success == false) { yield return(InitDataApi._success == true); } } //基本プロフィールを作成しているかどうかの判定。念の為、もう一回判定。 if (string.IsNullOrEmpty(GetUserApi._httpCatchData.result.user.name) == false && string.IsNullOrEmpty(GetUserApi._httpCatchData.result.user.pref) == false && string.IsNullOrEmpty(GetUserApi._httpCatchData.result.user.city_id) == false && string.IsNullOrEmpty(GetUserApi._httpCatchData.result.user.birth_date) == false) { //基本プロフィールを作成している。 AppStartLoadBalanceManager._isBaseProfile = true; } else { //まだ、基本プロフィールを作成していない。 AppStartLoadBalanceManager._isBaseProfile = false; } LocalFileHandler.Init(LocalFileConstants.GetLocalFileDir() + LocalFileConstants.COMMON_LOCAL_FILE_NAME); if (LocalFileHandler.GetBool(LocalFileConstants.TUTORIAL_MATCHING_KEY) == false) { _tutorial.SetActive(true); } else { _tutorial.SetActive(false); } _isStart = true; _loadingOverlay.SetActive(false); yield break; }
/// <summary> /// Start this instance. /// </summary> IEnumerator Start() { _coverOrProf = CoverOrProfType.None; _time = 0; _tmpText.text = LocalMsgConst.TITLE_MYPAGE; _loadingOverlay.SetActive(true); //アンドロイドでバックグラウンドプッシュ?スプラッシュから?何かのタイミングで //static変数のデータが消え去ってしまうみたいなのでリカバー if (string.IsNullOrEmpty(AppStartLoadBalanceManager._userKey) == true) { //サーバーにイベント通知用Api(インストール時に一回のみ) ---------------------- string _commonFileName = LocalFileConstants.GetLocalFileDir() + LocalFileConstants.COMMON_LOCAL_FILE_NAME; LocalFileHandler.Init(_commonFileName); //ファイルが作成されるまでポーリングして処理待ち while (System.IO.File.Exists(_commonFileName) == false) { yield return(System.IO.File.Exists(_commonFileName) == true); } //ここでユーザーキーを取得。 AppStartLoadBalanceManager._userKey = LocalFileHandler.GetString(LocalFileConstants.USER_KEY); #if UNITY_ANDROID //ステータスバーを表示 //Android用 ApplicationChrome.statusBarState = ApplicationChrome.States.VisibleOverContent; #endif } //ユーザーの取得。 new GetUserApi(); while (GetUserApi._success == false) { yield return(GetUserApi._success == true); } if (GetUserApi._httpCatchData.result.is_auto_renewable == "true") { CommonConstants.IS_PREMIUM = true; } else { CommonConstants.IS_PREMIUM = false; } PremiumPushPanel.Instance.Init(); //性別が取得出来ていない場合の処理。 if (GetUserApi._httpCatchData.result.user.sex_cd == "0") { PanelGenderSelectCommon.Instance.Init(); //性別選択のUIを表示。 _loadingOverlay.SetActive(false); yield break; } AppStartLoadBalanceManager._gender = GetUserApi._httpCatchData.result.user.sex_cd; ///メンテナンスの場合、処理を止める。 if (AppliEventController.Instance.MaintenanceCheck() == true) { _loadingOverlay.SetActive(false); yield break; } ///ユーザーのステータスをチェックする処理。 AppliEventController.Instance.UserStatusProblem(); ///強制アップデートの場合、処理を止める。 if (AppliEventController.Instance.ForceUpdateCheck() == true) { _loadingOverlay.SetActive(false); yield break; } ///アプリポップアップレビューの立ち上げ処理。 AppliEventController.Instance.AppliReview(); //マスターデータの取得。 if (InitDataApi._httpCatchData == null) { new InitDataApi(); while (InitDataApi._success == false) { yield return(InitDataApi._success == true); } } //基本プロフィールを作成しているかどうかの判定。念の為、もう一回判定。 if (string.IsNullOrEmpty(GetUserApi._httpCatchData.result.user.name) == false && string.IsNullOrEmpty(GetUserApi._httpCatchData.result.user.pref) == false && string.IsNullOrEmpty(GetUserApi._httpCatchData.result.user.city_id) == false && string.IsNullOrEmpty(GetUserApi._httpCatchData.result.user.birth_date) == false) { //基本プロフィールを作成している。 AppStartLoadBalanceManager._isBaseProfile = true; } else { //まだ、基本プロフィールを作成していない。 AppStartLoadBalanceManager._isBaseProfile = false; } //こっからプッシュ飛んできた時の処理。 if (NotificationRecieveManager._isCatch == true) { switch (AppStartLoadBalanceManager._toScenePanel) { case CommonConstants.VIEW_HISTORY: HeaderPanel.Instance.BackButtonSwitch(false); HeaderPanel.Instance.BackButtonSwitch(true, HistoryListCloseEvent); _tmpText.text = LocalMsgConst.TITLE_HISTORY; PaneHistory.Instance.Init(); PanelAnimate(_paneHistory); _paneHistory.GetComponent <BoxCollider2D> ().enabled = false; break; } NotificationRecieveManager._isCatch = false; yield break; } //ヘッダーパネル初期化 PanelStateManager.InitPanelSet(); //データの初期化等 DataInit(); //シーンの最初に表示する箇所、初期化。 PanelMypageMain.Instance.Init(); //審査レビューじゃない場合のみ広告表示。 if (GetUserApi._httpCatchData.result.review == "false") { #if UNITY_IPHONE || UNITY_ANDROID && !UNITY_EDITOR //有料会員か? if (CommonConstants.IS_PREMIUM == false) { // 広告の取得、表示処理 string spotId = ""; if (CommonConstants.IS_AD_TEST == true) { spotId = CommonConstants.IMOBILE_BANNER_SPOT_TEST_ID; //インタースティシャル広告 IMobileSdkAdsUnityPlugin.show(CommonConstants.IMOBILE_INTERSTATIAL_SPOT_TEST_ID); } else { spotId = CommonConstants.IMOBILE_BANNER_SPOT_ID; //インタースティシャル広告 IMobileSdkAdsUnityPlugin.show(CommonConstants.IMOBILE_INTERSTATIAL_SPOT_ID); } if (AppStartLoadBalanceManager.m_NendAdFullBoard != null) { AppStartLoadBalanceManager.m_NendAdFullBoard.Load(); AppStartLoadBalanceManager.m_NendAdFullBoard.Show(); } if (_isUnserBanner == false) { _imobileBannerViewId = IMobileSdkAdsUnityPlugin.show( spotId, IMobileSdkAdsUnityPlugin.AdType.BANNER, IMobileSdkAdsUnityPlugin.AdAlignPosition.CENTER, IMobileSdkAdsUnityPlugin.AdValignPosition.BOTTOM, true ); _isUnserBanner = true; } //_nendAdBanner.Show (); } else { Debug.Log(" i-mobile LOG: => Start This is Premium"); string spotId = ""; if (CommonConstants.IS_AD_TEST == true) { spotId = CommonConstants.IMOBILE_BANNER_SPOT_TEST_ID; //インタースティシャル広告 IMobileSdkAdsUnityPlugin.stop(CommonConstants.IMOBILE_INTERSTATIAL_SPOT_TEST_ID); } else { spotId = CommonConstants.IMOBILE_BANNER_SPOT_ID; //インタースティシャル広告 IMobileSdkAdsUnityPlugin.stop(CommonConstants.IMOBILE_INTERSTATIAL_SPOT_ID); } //バナー広告隠す処理。 IMobileSdkAdsUnityPlugin.setVisibility(_imobileBannerViewId, false); //有料会員のため、広告ストップ IMobileSdkAdsUnityPlugin.stop(spotId); _nendAdBanner.Pause(); _nendAdBanner.Hide(); Destroy(_nendAdBanner.gameObject); } #endif } _loadingOverlay.SetActive(false); yield break; }
public void ShowIcon(GameObject _goIcon, bool _bFlag) { string strSid = IMOBILE_SID_ICON; if (_bFlag) { if (m_iIMobileIconId == 0) { #if UNITY_ANDROID // && !UNITY_EDITOR IMobileSdkAdsUnityPlugin.registerInline(IMOBILE_PID, IMOBILE_MID, strSid); var iconParams = new IMobileIconParams(); iconParams.iconNumber = 2; // アイコンの数を6個に iconParams.iconTitleFontColor = "#000000"; // タイトルの色を黒に iconParams.iconTitleShadowEnable = false; // タイトルの影を非表示に iconParams.iconTitleEnable = false; // 広告の取得を開始します IMobileSdkAdsUnityPlugin.start(strSid); // 広告の表示位置を指定して表示します(画面左下) m_iIMobileIconId = (int)IMobileSdkAdsUnityPlugin.show(strSid, IMobileSdkAdsUnityPlugin.AdType.ICON, 0, 90, iconParams); /* * IMobileSdkAdsUnityPlugin.AdAlignPosition.LEFT, * IMobileSdkAdsUnityPlugin.AdValignPosition.MIDDLE); */ #else #endif } else { #if UNITY_ANDROID //&& !UNITY_EDITOR IMobileSdkAdsUnityPlugin.setVisibility(m_iIMobileIconId, true); #else #endif } } else { #if UNITY_ANDROID //&& !UNITY_EDITOR IMobileSdkAdsUnityPlugin.setVisibility(m_iIMobileIconId, false); #else #endif } /* #if UNITY_ANDROID * NendAdIcon script = _goIcon.GetComponent<NendAdIcon> (); * if (script == null) { * Debug.Log ("ShowIcon script=null! "); * * } else if (_bFlag) { * Debug.Log ("Show Icon! "); * script.Show (); * script.Resume (); * } else { * Debug.Log ("Hide Icon! "); * script.Hide(); * script.Pause(); * } #endif */ return; }