Beispiel #1
0
 protected void ShowProcess(string message, PopupSelect select)
 {
     _message.text = message;
     DOTween.Sequence()
     .Append(transform.DOScale(1.0f, ANIM_TIME))
     .AppendCallback(() => SelectButton(select, true))
     .Restart();
 }
Beispiel #2
0
        public override void SelectButton(PopupSelect select, bool active = false)
        {
            switch (select)
            {
            case PopupSelect.Dismiss:
                _single.SetActive(active);
                _double.SetActive(active);
                break;

            case PopupSelect.Single:
                _single.SetActive(active);
                break;

            case PopupSelect.Double:
                _double.SetActive(active);
                break;
            }
        }
Beispiel #3
0
 public virtual void SelectButton(PopupSelect select, bool active = false)
 {
 }