diff --git a/Assets/_DDD/_Scripts/GameUi/GlobalMessageUi.cs b/Assets/_DDD/_Scripts/GameUi/GlobalMessageUi.cs index a931ba570..63978b643 100644 --- a/Assets/_DDD/_Scripts/GameUi/GlobalMessageUi.cs +++ b/Assets/_DDD/_Scripts/GameUi/GlobalMessageUi.cs @@ -1,13 +1,11 @@ using System.Collections.Generic; using DG.Tweening; using TMPro; -using UnityEngine; namespace DDD { public class GlobalMessageUi : BaseUi, IEventHandler { - private CanvasGroup _canvasGroup; private TextMeshProUGUI _messageText; private Tween _fadeTween; @@ -18,7 +16,6 @@ protected override void Awake() { base.Awake(); - _canvasGroup = GetComponent(); _messageText = GetComponentInChildren(); _canvasGroup.alpha = 0;