private IEnumerator PlayShipGet() { ProdRewardGet prodReward = ProdRewardGet.Instantiate(PrefabFile.Load <ProdRewardGet>(PrefabFileInfos.RewardGet), BattleCutManager.GetSharedPlase(), 110, ProdRewardGet.RewardType.Ship); yield return(new WaitForSeconds(0.1f)); prodReward.Play(delegate { Observable.FromCoroutine(this.PlayReceiveShip).Subscribe(); }); }
private void OnDestroy() { if (DOTween.IsTweening(mLabel_DutyCount)) { DOTween.Kill(mLabel_DutyCount); } if (DOTween.IsTweening(mTexture_LeftArrow)) { DOTween.Kill(mTexture_LeftArrow); } if (DOTween.IsTweening(mTexture_RightArrow)) { DOTween.Kill(mTexture_RightArrow); } if (DOTween.IsTweening(mTexture_LeftArrowShadow)) { DOTween.Kill(mTexture_LeftArrowShadow); } if (DOTween.IsTweening(mTexture_RightArrowShadow)) { DOTween.Kill(mTexture_RightArrowShadow); } UserInterfacePortManager.ReleaseUtils.Releases(ref mTextures_Preload); UserInterfacePortManager.ReleaseUtils.Release(ref mLabel_DutyCount); UserInterfacePortManager.ReleaseUtils.Release(ref mTexture_LeftArrow); UserInterfacePortManager.ReleaseUtils.Release(ref mTexture_RightArrow); UserInterfacePortManager.ReleaseUtils.Release(ref mTexture_LeftArrowShadow); UserInterfacePortManager.ReleaseUtils.Release(ref mTexture_RightArrowShadow); mTransform_AllClearText = null; mPrefabDutyDetail = null; mPrefabDutyDetailCheck = null; mPrefabUIDutyRewardMaterialsDialog = null; mPrefabRewardShip = null; mModalCamera = null; mPrefab_DutyOhyodo = null; mDutyGrid = null; mDutyManager = null; mFocusKeyController = null; }