예제 #1
0
 private unsafe void Awake()
 {
     //IL_0012: Unknown result type (might be due to invalid IL or missing references)
     //IL_001c: Expected O, but got Unknown
     //IL_0041: Unknown result type (might be due to invalid IL or missing references)
     m_closeButton.get_onClick().AddListener(new UnityAction((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/));
     m_canvasGroup.set_alpha(0f);
     this.get_transform().set_localScale(new Vector3(0.9f, 0.9f, 1f));
     m_state = NotificationWindowState.OPENING;
 }
예제 #2
0
 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;
     }
 }
예제 #3
0
 private void OnOpenComplete()
 {
     m_state   = NotificationWindowState.OPENED;
     m_tween   = null;
     m_endTime = Time.get_realtimeSinceStartup() + m_style.displayDuration;
 }