Example #1
0
 public void CardRoleDead()
 {
     HOTween.To(transform, _deadTime, new TweenParms().Prop("localScale", Vector3.one * 0.001f).Ease(EaseType.Linear).OnStart(() => { _battleController.shieldPanel.Activate(); }).OnComplete(() => {
         if (_shellType == ShellType.Enemy)
         {
             _battleController.Drop(this);
         }
         Clear();
         _battleController.CheckVacantShell();
         _battleController.shieldPanel.Deactivate();
     }));
 }