コード例 #1
0
 private void _onShipGetFinished()
 {
     if (_prodReceiveShip != null)
     {
         _prodReceiveShip.ReleaseShipTextureAndBackgroundTexture();
         Object.Destroy(_prodReceiveShip.gameObject);
     }
     _prodReceiveShip = null;
     TrophyUtil.Unlock_At_BuildShip(_rewardShip.Ship.MstId);
     _rewardShip = null;
     TaskMainArsenalManager.IsControl     = true;
     TaskMainArsenalManager.isTouchEnable = true;
     ArsenalTaskManager._clsArsenal.hideDialog();
     _dockMiniMamager.StopConstAnimation();
     SingletonMonoBehaviour <UIShortCutMenu> .Instance.IsInputEnable = true;
     ArsenalTaskManager._clsArsenal.setTutorialVisible(isVisible: true);
 }
コード例 #2
0
 private void compStartAnimation()
 {
     if (!this._isNeedBGM)
     {
         this._uiParComp.SetActive(true);
         this._uiParComp.Play();
     }
     this._uiParticle.Stop();
     this._uiParticle.SetActive(false);
     this._uiShip.alpha     = 1f;
     this._uiBg.mainTexture = TextureFile.LoadRareBG(this._clsRewardShip.Ship.Rare);
     this._getIconAnim.get_gameObject().SetActive(true);
     this._getIconAnim.Stop();
     this._getIconAnim.Play();
     this._isPlayPhase1 = false;
     this._isInput      = false;
     this._anim.Stop();
     this._anim.Play("comp_GetShip");
     TrophyUtil.Unlock_At_BuildShip(this._clsRewardShip.Ship.MstId);
     TrophyUtil.Unlock_GetShip(this._clsRewardShip.Ship.MstId);
 }
コード例 #3
0
 private void compStartAnimation()
 {
     if (!_isNeedBGM)
     {
         ((Component)_uiParComp).SetActive(isActive: true);
         _uiParComp.Play();
     }
     _uiParticle.Stop();
     ((Component)_uiParticle).SetActive(isActive: false);
     _uiShip.alpha     = 1f;
     _uiBg.mainTexture = TextureFile.LoadRareBG(_clsRewardShip.Ship.Rare);
     ((Component)_getIconAnim).gameObject.SetActive(true);
     _getIconAnim.Stop();
     _getIconAnim.Play();
     _isPlayPhase1 = false;
     _isInput      = false;
     _anim.Stop();
     _anim.Play("comp_GetShip");
     TrophyUtil.Unlock_At_BuildShip(_clsRewardShip.Ship.MstId);
     TrophyUtil.Unlock_GetShip(_clsRewardShip.Ship.MstId);
 }