public override void CrossFadeColor(Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha, bool useRGB)
 {
     colourTween?.Kill();
     foreach (var graphic in TargetGraphics)
     {
         if (graphic == null)
         {
             continue;
         }
         if (UseDoTweenInsteadOfUnityTween)
         {
             colourTween = DOTweenExtensions.DOColor(graphic, targetColor, duration);
         }
         else
         {
             graphic.CrossFadeColor(targetColor, duration, ignoreTimeScale, useAlpha, useRGB);
         }
     }
 }
 public override void CrossFadeAlpha(float alpha, float duration, bool ignoreTimeScale)
 {
     colourTween?.Kill();
     foreach (var graphic in TargetGraphics)
     {
         if (graphic == null)
         {
             continue;
         }
         if (UseDoTweenInsteadOfUnityTween)
         {
             var newColor = graphic.color;
             newColor.a  = alpha;
             colourTween = DOTweenExtensions.DOColor(graphic, newColor, duration);
         }
         else
         {
             graphic.CrossFadeAlpha(alpha, duration, ignoreTimeScale);
         }
     }
 }