private unsafe void DisplayPedestalInfo(bool display) { //IL_008e: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_012f: Unknown result type (might be due to invalid IL or missing references) //IL_0161: Unknown result type (might be due to invalid IL or missing references) //IL_0185: Unknown result type (might be due to invalid IL or missing references) //IL_018f: Expected O, but got Unknown Sequence pedestalTweenSequence = m_pedestalTweenSequence; if (pedestalTweenSequence != null) { TweenExtensions.Kill(pedestalTweenSequence, false); } Sequence val = DOTween.Sequence(); if (display) { m_pedestalSpellAbilityBGCanvasGroup.get_gameObject().SetActive(true); m_pedestalSpellAbilityMainCanvasGroup.get_gameObject().SetActive(true); TweenSettingsExtensions.Insert(val, 0f, DOTweenModuleUI.DOFade(m_pedestalSpellAbilityMainCanvasGroup, 1f, 0.2f)); TweenSettingsExtensions.Insert(val, 0f, DOTweenModuleUI.DOFade(m_pedestalSpellAbilityBGCanvasGroup, 1f, 0.2f)); TweenSettingsExtensions.Insert(val, 0f, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOAnchorPos(m_pedestalSpellAbilityBgRectTransform, Vector2.get_zero(), 0.2f, false), 7)); TweenSettingsExtensions.Insert(val, 0f, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOAnchorPos(m_pedestalSpellAbilityMainRectTransform, Vector2.get_zero(), 0.2f, false), 7)); } else { TweenSettingsExtensions.Insert(val, 0f, DOTweenModuleUI.DOFade(m_pedestalSpellAbilityMainCanvasGroup, 0f, 0.2f)); TweenSettingsExtensions.Insert(val, 0f, DOTweenModuleUI.DOFade(m_pedestalSpellAbilityBGCanvasGroup, 0f, 0.2f)); TweenSettingsExtensions.Insert(val, 0f, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOAnchorPos(m_pedestalSpellAbilityBgRectTransform, new Vector2(0f, 30f), 0.2f, false), 7)); TweenSettingsExtensions.Insert(val, 0f, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOAnchorPos(m_pedestalSpellAbilityMainRectTransform, new Vector2(0f, 30f), 0.2f, false), 7)); TweenSettingsExtensions.OnKill <Sequence>(val, new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); } m_pedestalTweenSequence = val; }
public IEnumerator PlayEnterAnimation() { yield return((object)new WaitForTime(0.5f)); DOTweenModuleUI.DOFade(base.canvasGroup, 1f, 1.5f); yield return((object)new WaitForTime(0.5f)); }
private IEnumerator DisplayWeaponEnumerator(WeaponDefinition definition) { if (!(m_currentWeapon == definition)) { m_currentWeapon = definition; bool flag = PlayerData.instance.weaponInventory.Contains(definition.get_id()); bool flag2 = !IsCurrentWeapon(definition.get_id()) && flag; m_validateButton.set_interactable(flag2); m_validateButtonText.SetText(flag2 ? 40340 : 38149); PlayerData.instance.weaponInventory.TryGetLevel(m_currentWeapon.get_id(), out m_level); if (m_enterAnimationFinished) { yield return(PlayFadeSequence(toOut: true)); } yield return(LoadWeaponInfos(definition)); BuildDeckList(); m_backgroundShader.TweenColor(definition.deckBuildingBackgroundColor, definition.deckBuildingBackgroundColor2, 0.2f); AssetReference uIAnimatedCharacterReference = definition.GetUIAnimatedCharacterReference(); CanvasGroup characterGroup = m_characterloader.GetComponent <CanvasGroup>(); characterGroup.set_alpha(0f); m_characterloader.Setup(uIAnimatedCharacterReference, AssetBundlesUtility.GetUIAnimatedCharacterResourcesBundleName()); while (m_characterloader.loadState == UIResourceLoadState.Loading) { yield return(null); } DOTweenModuleUI.DOFade(characterGroup, 1f, 0.3f); m_equippedFX.SetEquipped(IsCurrentWeapon(definition.get_id())); if (m_enterAnimationFinished) { yield return(PlayFadeSequence(toOut: false)); } } }
public void DoAlpha(float alpha, float duration) { if (m_image != null) { DOTweenModuleUI.DOFade(m_image, alpha, duration); } DOTweenModuleUI.DOFade(m_text, alpha, duration); }
private unsafe void UpdateElements() { //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0090: Unknown result type (might be due to invalid IL or missing references) //IL_00af: Unknown result type (might be due to invalid IL or missing references) //IL_00c7: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00fe: Unknown result type (might be due to invalid IL or missing references) //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_0186: Expected O, but got Unknown int num = m_displayedElements.Count - m_datas.maxElements; if (num > m_datas.maxHiddableElements) { int num2 = num - m_datas.maxHiddableElements; for (int i = 0; i < num2; i++) { DeQueueVisibleElement(); } } Tweener val = null; Vector2 zero = Vector2.get_zero(); for (int j = 0; j < m_displayedElements.Count; j++) { HistoryAbstractElement historyAbstractElement = m_displayedElements[m_displayedElements.Count - 1 - j]; CanvasGroup canvasGroup = historyAbstractElement.canvasGroup; RectTransform val2 = historyAbstractElement.get_transform() as RectTransform; Rect rect = val2.get_rect(); float height = rect.get_height(); ShortcutExtensions.DOKill(canvasGroup, false); ShortcutExtensions.DOKill(val2, false); val = TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOAnchorPos(val2, zero, m_datas.positionTweenDuration, false), m_datas.postitionTweenEase); if (j == 0) { ShortcutExtensions.DOPunchScale(val2, m_datas.inScalePunchValue, m_datas.inScalePunchDuration, 0, 0f); } else { val2.set_localScale(Vector3.get_one()); } if (j < m_datas.maxElements - 1) { zero.y -= height + m_datas.spacing; } if (j >= m_datas.maxElements) { DOTweenModuleUI.DOFade(canvasGroup, 0f, m_datas.outAlphaTweenDuration); } } if (val != null) { TweenSettingsExtensions.OnComplete <Tweener>(val, new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); } }
public unsafe override Sequence DestroySequence() { //IL_0017: Unknown result type (might be due to invalid IL or missing references) Sequence obj = DOTween.Sequence(); TweenSettingsExtensions.Insert(obj, 0f, TweenSettingsExtensions.SetEase <Tweener>(ShortcutExtensions.DOLocalMoveY(this.get_transform(), ((IntPtr)(void *)this.get_transform().get_localPosition()).y + 40f, 0.25f, false), 3)); TweenSettingsExtensions.Insert(obj, 0f, DOTweenModuleUI.DOFade(m_canvasGroup, 0f, 0.25f)); return(obj); }
/// <summary> /// Create&ShowUI /// </summary> public void OpenPanel <T>(UILevel canvasLevel = UILevel.Common, IUIData uiData = null, UITransitionType transitionType = UITransitionType.NULL, UIPanel view = null, string assetBundleName = null, string prefabName = null, UnityAction action = null) where T : UIPanel { if (view.IsNotNull()) { Push(view, transitionType); } if (transitionType == UITransitionType.CIRCLE) { if (!mIsChangingView) { mIsChangingView = true; mCircleMask.transform.parent.gameObject.Show(); var tweenerCore = mCircleMask.transform.DOScale(new Vector3(1, 1, 1), 0.5f); DOTweenModuleUI.DOFade(mCircleMask, 1, 0.5f); tweenerCore.onComplete = delegate() { action?.Invoke(); OpenUI(prefabName ?? GetUIBehaviourName <T>(), transitionType, canvasLevel, uiData, assetBundleName, view.IsNotNull()); var t = mCircleMask.DOFade(0, 0.5f).SetEase(Ease.OutQuint); t.onComplete = delegate() { mCircleMask.transform.parent.gameObject.Hide(); mCircleMask.transform.localScale = Vector3.zero; mCircleMask.color = new Color(255, 255, 255, 0); mIsChangingView = false; }; }; } } else if (transitionType == UITransitionType.CLOUD) { if (!mIsChangingView) { mIsChangingView = true; mCloudAnimationController.transform.parent.Show(); mCloudAnimationController.PlayAnimation(CloudState.OPENANDCLOSE); IDisposable disposable = null; disposable = SimpleEventSystem.GetEvent <CloudOpenAnimation>().Subscribe(_ => { disposable.Dispose(); action?.Invoke(); OpenUI(prefabName ?? GetUIBehaviourName <T>(), transitionType, canvasLevel, uiData, assetBundleName, view); }); } } else { OpenUI(prefabName ?? GetUIBehaviourName <T>(), transitionType, canvasLevel, uiData, assetBundleName, view); } }
public unsafe IEnumerator Unload() { DOTweenModuleUI.DOFade(m_greyBG, 0f, 0.5f); DOTween.To(new DOGetter <float>((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/), new DOSetter <float>((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/), 0f, 0.25f); Sequence val = DOTween.Sequence(); TweenSettingsExtensions.Append(val, ShortcutExtensions.DOLocalMove(SafeArea, new Vector3(((IntPtr)(void *)SafeArea.get_localPosition()).x, 1080f, 0f), 0.25f, false)); TweenExtensions.Play <Sequence>(val); yield return(TweenExtensions.WaitForKill(val)); }
public IEnumerator fade(CanvasGroup can, float alpha, float duration, UIPanelType panelType) { var Seq = DOTween.Sequence(); Seq.Append(DOTweenModuleUI.DOFade(can, alpha, duration)); yield return(Seq.WaitForCompletion(true)); ChangePanelType(panelType); Seq.Join(DOTweenModuleUI.DOFade(can, 1.0f, duration)); yield return(Seq.WaitForCompletion(true)); }
public void SetEquipped(bool b) { this.get_gameObject().SetActive(b); if (b) { foreach (Image item in m_ImageToColor) { DOTweenModuleUI.DOFade(item, 1f, 0.1f); } } }
public unsafe void GotoEditAnim() { //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Expected O, but got Unknown this.StartCoroutine(PlayFadeSequence(toOut: true)); DisplayPedestalInfo(display: true); Sequence obj = DOTween.Sequence(); TweenSettingsExtensions.Append(obj, DOTweenModuleUI.DOFade(m_weaponListCanvas, 0f, 0.3f)); TweenSettingsExtensions.Insert(obj, 0f, DOTweenModuleUI.DOFade(m_validateCanvas, 0f, 0.3f)); TweenSettingsExtensions.OnKill <Sequence>(obj, new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); }
public IEnumerator GotoEdit(EditModeSelection selection) { m_inEdition = true; Sequence val = DOTween.Sequence(); if (!(m_deck == null)) { m_deck.get_gameObject().SetActive(true); m_mainCanvasGroup.get_gameObject().SetActive(true); TweenSettingsExtensions.Insert(val, 0f, DOTweenModuleUI.DOFade(m_mainCanvasGroup, 1f, 0.2f)); TweenSettingsExtensions.Insert(val, 0f, m_deck.EnterEditMode(selection)); TweenSettingsExtensions.Insert(val, 0f, m_editModeUI.Display(selection, m_selectedSlot)); m_openCanvas.Invoke(); m_isOpen = true; yield return(TweenExtensions.WaitForKill(val)); } }
public unsafe IEnumerator GotoSelectMode() { if (m_inEdition) { m_inEdition = false; Sequence val = DOTween.Sequence(); TweenSettingsExtensions.Insert(val, 0f, DOTweenModuleUI.DOFade(m_mainCanvasGroup, 0f, 0.2f)); TweenSettingsExtensions.Insert(val, 0f, m_deck.LeaveEditMode()); TweenSettingsExtensions.Insert(val, 0f, m_editModeUI.Hide()); m_closeCanvas.Invoke(); m_inputBlocker.SetActive(false); TweenSettingsExtensions.InsertCallback(val, TweenExtensions.Duration(val, true), new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); m_isOpen = false; m_fightTooltip.Hide(); yield return(TweenExtensions.WaitForKill(val)); } }
protected virtual void ApplySelect() { //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0035: Unknown result type (might be due to invalid IL or missing references) //IL_0082: Unknown result type (might be due to invalid IL or missing references) if (!m_selected) { m_selectedTicks.get_gameObject().SetActive(true); m_tickRectTransform.set_sizeDelta(m_defaultTickDelta + new Vector2(0f, 100f)); m_selectedTicks.set_alpha(0f); Sequence obj = DOTween.Sequence(); TweenSettingsExtensions.Insert(obj, 0f, DOTweenModuleUI.DOFade(m_selectedTicks, 1f, 0.1f)); TweenSettingsExtensions.Insert(obj, 0f, DOTweenModuleUI.DOSizeDelta(m_tickRectTransform, m_defaultTickDelta, 0.1f, false)); TweenExtensions.Play <Sequence>(obj); m_selected = true; } }
public unsafe IEnumerator PlayEnterAnimation() { DOTweenModuleUI.DOFade(m_bgCanvas, 1f, 0.3f); yield return(BuildGodList()); yield return((object)new WaitForEndOfFrame()); if (((IntPtr)(void *)m_godContent.get_sizeDelta()).x < ((IntPtr)(void *)m_godRibbon.get_sizeDelta()).x) { Vector2 sizeDelta = m_godContent.get_sizeDelta(); sizeDelta.x += 10f; sizeDelta.y = ((IntPtr)(void *)m_godRibbon.get_sizeDelta()).y; m_godRibbon.set_sizeDelta(sizeDelta); Vector3 localPosition = m_godContent.get_transform().get_localPosition(); localPosition.x = 0f; m_godContent.get_transform().set_localPosition(localPosition); m_godScrollRect.set_enabled(false); m_godLeftArrow.SetActive(false); m_godRightArrow.SetActive(false); } yield return(PlayAnimation(m_animationDirector.GetAnimation("Open"))); }
private IEnumerator CloneAnimation(DeckSlot newSlot) { Sequence sequence2 = DOTween.Sequence(); TweenSettingsExtensions.Insert(sequence2, 0f, DOTweenModuleUI.DOFade(m_mainCanvasGroup, 0f, 0.2f)); TweenSettingsExtensions.Insert(sequence2, 0f, m_deck.LeaveEditMode()); TweenSettingsExtensions.Insert(sequence2, 0f, m_editModeUI.Hide()); yield return(TweenExtensions.Play <Sequence>(sequence2)); while (TweenExtensions.IsPlaying(sequence2)) { yield return(null); } yield return((object)new WaitForTime(0.1f)); m_selectedSlot = newSlot; m_deck.SetValue(m_selectedSlot); sequence2 = DOTween.Sequence(); TweenSettingsExtensions.Append(sequence2, DOTweenModuleUI.DOFade(m_mainCanvasGroup, 1f, 0.2f)); TweenSettingsExtensions.Append(sequence2, m_deck.EnterEditMode(m_editModeUI.GetCurrentMode())); TweenSettingsExtensions.Append(sequence2, m_editModeUI.Display(m_editModeUI.GetCurrentMode(), m_selectedSlot)); TweenExtensions.Play <Sequence>(sequence2); m_deck.OnCloneValidate(); }
private unsafe void ShowMenu(bool value) { //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Expected O, but got Unknown m_menuOpen = value; Tween fadeTween = m_fadeTween; if (fadeTween != null) { TweenExtensions.Kill(fadeTween, false); } if (m_menuOpen) { m_menu.get_gameObject().SetActive(true); m_fadeTween = DOTweenModuleUI.DOFade(m_menu, 1f, m_fadeDuration); m_openAudio.Trigger(); } else { m_fadeTween = TweenSettingsExtensions.OnComplete <Tweener>(DOTweenModuleUI.DOFade(m_menu, 0f, m_fadeDuration), new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); m_closeAudio.Trigger(); } onShowMenu?.Invoke(value); }
public unsafe void Open(string message) { //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_009b: Expected O, but got Unknown m_messageField.SetText(message); if (m_state == NotificationWindowState.OPENING) { Sequence val = DOTween.Sequence(); TweenSettingsExtensions.Insert(val, 0f, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOFade(m_canvasGroup, 1f, m_style.fadeInDuration), m_style.fadeInEase)); TweenSettingsExtensions.Insert(val, 0f, TweenSettingsExtensions.SetEase <Tweener>(ShortcutExtensions.DOScale(this.get_transform(), 1f, m_style.fadeInDuration), m_style.scaleFadeInEase)); TweenSettingsExtensions.OnKill <Sequence>(val, new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); m_tween = val; } }
public unsafe Tween Display(EditModeSelection selection, DeckSlot slot) { //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_00cf: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: Expected O, but got Unknown m_slot = slot; if (m_slot != null) { m_slot.OnModification += OnSlotModification; } OnFilterChange(); UpdateAllChildren(instant: true); m_canvasGroup.set_alpha(0f); m_spellsTransform.get_gameObject().SetActive(selection == EditModeSelection.Spell); m_companionsTransform.get_gameObject().SetActive(selection == EditModeSelection.Companion); this.get_gameObject().SetActive(true); Sequence val = DOTween.Sequence(); TweenSettingsExtensions.Insert(val, 0f, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOFade(m_canvasGroup, 1f, m_fadeTweenDuration), m_fadeTweenEase)); Tween val2 = CreateEditModeSelectionTween(selection); if (val2 != null) { TweenSettingsExtensions.Insert(val, 0f, val2); } val.onComplete = new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/); return(val); }
public unsafe Tween Hide() { //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0081: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Expected O, but got Unknown if (m_slot != null) { m_slot.OnModification -= OnSlotModification; } Sequence val = DOTween.Sequence(); TweenSettingsExtensions.Insert(val, 0f, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOFade(m_canvasGroup, 0f, m_fadeTweenDuration), m_fadeTweenEase)); Tween val2 = CreateEditModeSelectionTween(null); if (val2 != null) { TweenSettingsExtensions.Insert(val, 0f, val2); } TweenSettingsExtensions.InsertCallback(val, TweenExtensions.Duration(val, true), new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); return(val); }
private unsafe Tween TweenLists() { //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_00f1: Unknown result type (might be due to invalid IL or missing references) //IL_0103: Unknown result type (might be due to invalid IL or missing references) //IL_0135: Unknown result type (might be due to invalid IL or missing references) //IL_0153: Unknown result type (might be due to invalid IL or missing references) //IL_018a: Unknown result type (might be due to invalid IL or missing references) //IL_0194: Expected O, but got Unknown //IL_01d2: Unknown result type (might be due to invalid IL or missing references) //IL_01dc: Expected O, but got Unknown Tween val = null; Tween val2 = null; if (Object.op_Implicit(m_currentDisplayedTransform)) { Sequence obj = DOTween.Sequence(); TweenSettingsExtensions.Insert(obj, 0f, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOAnchorPos(m_currentDisplayedTransform, m_outPoint.get_anchoredPosition(), m_moveTweenDuration, false), m_moveTweenEase)); TweenSettingsExtensions.SetEase <Sequence>(TweenSettingsExtensions.Insert(obj, 0f, DOTweenModuleUI.DOFade(m_currentListCanvasGroup, 0f, m_fadeTweenDuration)), m_fadeTweenEase); TweenSettingsExtensions.Insert(obj, 0f, m_filterParent.TweenOut(m_moveTweenDuration, m_moveTweenEase)); val = obj; } if (Object.op_Implicit(m_nextDisplayedTransform)) { m_onSwapEditMode.Invoke(); m_nextListCanvasGroup.set_alpha(0f); m_nextDisplayedTransform.get_gameObject().SetActive(true); Sequence obj2 = DOTween.Sequence(); TweenSettingsExtensions.Insert(obj2, 0f, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOAnchorPos(m_nextDisplayedTransform, m_inPoint.get_anchoredPosition(), m_moveTweenDuration, false), m_moveTweenEase)); TweenSettingsExtensions.SetEase <Sequence>(TweenSettingsExtensions.Insert(obj2, 0f, DOTweenModuleUI.DOFade(m_nextListCanvasGroup, 1f, m_fadeTweenDuration)), m_fadeTweenEase); TweenSettingsExtensions.Insert(obj2, 0f, m_filterParent.TweenIn(m_moveTweenDuration, m_moveTweenEase)); val2 = obj2; } if (m_currentDisplayedTransform == null && m_nextDisplayedTransform == null) { return(null); } TweenSettingsExtensions.OnStart <Tween>(val2, new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); Sequence val3 = DOTween.Sequence(); if (val != null) { TweenSettingsExtensions.Append(val3, val); } if (val2 != null) { if (val != null) { TweenSettingsExtensions.Insert(val3, m_moveTweenDuration / 2f, val2); } else { TweenSettingsExtensions.Append(val3, val2); } } TweenSettingsExtensions.OnKill <Sequence>(val3, new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); return(val3); }
private unsafe void EndDrag(bool force, DndCastBehaviour behaviour) { //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_007c: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_009d: Unknown result type (might be due to invalid IL or missing references) //IL_00ae: Unknown result type (might be due to invalid IL or missing references) //IL_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00e0: Unknown result type (might be due to invalid IL or missing references) //IL_00e6: Unknown result type (might be due to invalid IL or missing references) //IL_00ed: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: Unknown result type (might be due to invalid IL or missing references) //IL_00fa: Unknown result type (might be due to invalid IL or missing references) //IL_010a: Unknown result type (might be due to invalid IL or missing references) //IL_011a: Unknown result type (might be due to invalid IL or missing references) //IL_012a: Unknown result type (might be due to invalid IL or missing references) //IL_015b: Unknown result type (might be due to invalid IL or missing references) //IL_0185: Unknown result type (might be due to invalid IL or missing references) //IL_01ae: Unknown result type (might be due to invalid IL or missing references) //IL_01b3: Unknown result type (might be due to invalid IL or missing references) //IL_01d6: Unknown result type (might be due to invalid IL or missing references) //IL_01f6: Unknown result type (might be due to invalid IL or missing references) //IL_0200: Expected O, but got Unknown //IL_0224: Unknown result type (might be due to invalid IL or missing references) //IL_022e: Expected O, but got Unknown if (m_elementState != DndElementState.Drag && m_elementState != DndElementState.SimulatedDrag && !force) { return; } DragNDropListener.instance.OnEndDrag(); m_elementState = DndElementState.Idle; m_content.SetParent(m_contentParent); if (behaviour == DndCastBehaviour.MoveBack) { Rect rect = m_content.get_rect(); Vector2 anchoredPosition = m_content.get_anchoredPosition(); Vector2 val = m_contentPivot - m_content.get_pivot(); Vector2 val2 = default(Vector2); val2._002Ector(rect.get_width() * ((IntPtr)(void *)val).x, rect.get_height() * ((IntPtr)(void *)val).y); m_content.set_anchorMin(m_contentAnchorMin); m_content.set_anchorMax(m_contentAnchorMax); m_content.set_sizeDelta(m_contentSizeDelta); m_content.set_pivot(m_contentPivot); m_content.set_anchoredPosition(new Vector2(((IntPtr)(void *)anchoredPosition).x + ((IntPtr)(void *)val2).x, ((IntPtr)(void *)anchoredPosition).y + ((IntPtr)(void *)val2).y)); m_subContent.set_anchorMin(Vector2.get_zero()); m_subContent.set_anchorMax(Vector2.get_one()); m_subContent.set_sizeDelta(Vector2.get_zero()); Tween animationTween = m_animationTween; if (animationTween != null) { TweenExtensions.Kill(animationTween, false); } Sequence val3 = DOTween.Sequence(); TweenSettingsExtensions.Insert(val3, 0f, TweenSettingsExtensions.SetEase <Tweener>(ShortcutExtensions.DOLocalMove(m_content, m_contentPosition, 0.3f, true), 18)); TweenSettingsExtensions.Insert(val3, 0f, TweenSettingsExtensions.SetEase <Tweener>(ShortcutExtensions.DOScale(m_content, Vector3.get_one(), 0.3f), 27)); TweenSettingsExtensions.Insert(val3, 0f, DOTweenModuleUI.DOAnchorPos(m_subContent, Vector2.op_Implicit(Vector3.get_zero()), 0.3f, false)); TweenSettingsExtensions.Insert(val3, 0f, ShortcutExtensions.DOLocalRotate(m_subContent, Vector3.get_zero(), 0.3f, 0)); m_animationTween = TweenSettingsExtensions.OnKill <Sequence>(val3, new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); } else { m_animationTween = TweenSettingsExtensions.OnKill <Tweener>(DOTweenModuleUI.DOFade(m_canvasGroup, 0f, 0.3f), new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); } m_wasOnTarget = m_onTarget; m_buttonPressed = false; m_onTarget = false; }
public Sequence Open() { //IL_00ab: Unknown result type (might be due to invalid IL or missing references) //IL_0103: Unknown result type (might be due to invalid IL or missing references) //IL_015a: Unknown result type (might be due to invalid IL or missing references) if (m_openTweenSequence != null && TweenExtensions.IsActive(m_openTweenSequence)) { TweenExtensions.Kill(m_openTweenSequence, false); } m_openTweenSequence = DOTween.Sequence(); int num = m_statLines.Count + 2; float num2 = Mathf.Min(m_statData.openBoardDuration, m_statData.openBoardLineTweenDuration); float num3 = (m_statData.openBoardDuration - num2) / (float)num; float openBoardDelay = m_statData.openBoardDelay; m_playerLine.canvasGroup.set_alpha(0f); TweenSettingsExtensions.Insert(m_openTweenSequence, openBoardDelay, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOFade(m_playerLine.canvasGroup, 1f, num2), m_statData.openBoardLineTweenEase)); openBoardDelay += num3; for (int i = 0; i < m_statLines.Count; i++) { StatValueLine statValueLine = m_statLines[i]; statValueLine.canvasGroup.set_alpha(0f); TweenSettingsExtensions.Insert(m_openTweenSequence, openBoardDelay, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOFade(statValueLine.canvasGroup, 1f, num2), m_statData.openBoardLineTweenEase)); openBoardDelay += num3; } m_teamScoreLine.set_alpha(0f); TweenSettingsExtensions.Insert(m_openTweenSequence, openBoardDelay, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOFade(m_teamScoreLine, 1f, num2), m_statData.openBoardLineTweenEase)); return(m_openTweenSequence); }
public Sequence PlayAnim(bool open, SlidingSide side, bool reverseElementOrder = false) { //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_0085: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_0093: Unknown result type (might be due to invalid IL or missing references) //IL_0095: Unknown result type (might be due to invalid IL or missing references) //IL_0097: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00a0: Unknown result type (might be due to invalid IL or missing references) //IL_00a2: Unknown result type (might be due to invalid IL or missing references) //IL_00a7: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b0: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) //IL_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00e0: Unknown result type (might be due to invalid IL or missing references) if (m_transitionTweenSequence != null && TweenExtensions.IsActive(m_transitionTweenSequence)) { TweenExtensions.Kill(m_transitionTweenSequence, false); } SlidingAnimUIConfig slidingAnimUIConfig = open ? openConfig : closeConfig; m_transitionTweenSequence = DOTween.Sequence(); float num = slidingAnimUIConfig.delay; for (int i = 0; i < elements.Count; i++) { int index = reverseElementOrder ? (elements.Count - 1 - i) : i; CanvasGroup val = elements[index]; RectTransform val2 = val.get_transform() as RectTransform; Vector2 anchoredPosition = val2.get_anchoredPosition(); Vector2 anchorOffset = slidingAnimUIConfig.anchorOffset; Vector2 val3 = (side == SlidingSide.Right) ? (anchoredPosition + anchorOffset) : (anchoredPosition - anchorOffset); Vector2 anchoredPosition2 = open ? val3 : anchoredPosition; Vector2 val4 = open ? anchoredPosition : val3; if (open) { val.set_alpha(0f); } val2.set_anchoredPosition(anchoredPosition2); TweenSettingsExtensions.Insert(m_transitionTweenSequence, num, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOAnchorPos(val2, val4, slidingAnimUIConfig.duration, false), slidingAnimUIConfig.positionCurve)); TweenSettingsExtensions.Insert(m_transitionTweenSequence, num, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOFade(val, slidingAnimUIConfig.endAlpha, slidingAnimUIConfig.duration), slidingAnimUIConfig.alphaCurve)); num += slidingAnimUIConfig.elementDelayOffset; } return(m_transitionTweenSequence); }
public unsafe void Close(bool forceImmediate = false) { //IL_0074: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_00e8: Expected O, but got Unknown if (forceImmediate) { Tween tween = m_tween; if (tween != null) { tween.onKill.Invoke(); } OnClosed(); } else if (m_state != ContainerDrawerState.Closed && m_state != ContainerDrawerState.Closing) { Tween tween2 = m_tween; if (tween2 != null) { TweenExtensions.Kill(tween2, false); } m_state = ContainerDrawerState.Closing; m_mask.set_enabled(true); m_canvasGroup.set_alpha(1f); m_content.get_transform().set_localPosition(m_basePosition); Sequence val = DOTween.Sequence(); TweenSettingsExtensions.Insert(val, 0f, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOFade(m_canvasGroup, 0f, 0.3f), 19)); TweenSettingsExtensions.Insert(val, 0f, TweenSettingsExtensions.SetEase <Tweener>(ShortcutExtensions.DOLocalMove(m_content, m_hiddenPosition, 0.3f, false), 19)); TweenSettingsExtensions.OnKill <Sequence>(val, new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); m_tween = val; } }
public unsafe Tween PlayCastImmediate(Vector3 worldPosition, Transform parent) { //IL_002b: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_00b0: Unknown result type (might be due to invalid IL or missing references) //IL_00ba: Expected O, but got Unknown InitMove(); Tween animationTween = m_animationTween; if (animationTween != null) { TweenExtensions.Kill(animationTween, false); } m_content.SetParent(parent, true); m_content.set_position(worldPosition); m_canvasGroup.set_alpha(0f); m_subContent.set_localRotation(Quaternion.Euler(0f, 0f, 45f)); m_subContent.set_anchoredPosition(new Vector2(0f, 200f)); Sequence val = DOTween.Sequence(); TweenSettingsExtensions.Insert(val, 0f, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOFade(m_canvasGroup, 1f, 1f), 18)); TweenSettingsExtensions.OnKill <Sequence>(val, new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); m_animationTween = val; return(m_animationTween); }
public Tween DoFade(float value, float duration) { return(DOTweenModuleUI.DOFade(m_canvasGroup, value, duration)); }
public unsafe void Close() { //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Expected O, but got Unknown if (m_state != NotificationWindowState.CLOSING) { m_state = NotificationWindowState.CLOSING; Tween tween = m_tween; if (tween != null) { TweenExtensions.Kill(tween, false); } Sequence val = DOTween.Sequence(); TweenSettingsExtensions.Insert(val, 0f, TweenSettingsExtensions.SetEase <Tweener>(DOTweenModuleUI.DOFade(m_canvasGroup, 0f, m_style.fadeOutDuration), m_style.fadeOutEase)); TweenSettingsExtensions.OnKill <Sequence>(val, new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); m_tween = val; } }
private Tween Fade(bool visible) { return(DOTweenModuleUI.DOFade(m_blockerCanvasGroup, visible ? 0f : 1f, 0f)); }
public unsafe Tween EndCastImmediate() { //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Expected O, but got Unknown return(TweenSettingsExtensions.OnKill <Tweener>(DOTweenModuleUI.DOFade(m_canvasGroup, 0f, 0.25f), new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/))); }