2d progress

This commit is contained in:
ThomasCharester committed 2026-02-26 11:57:51 +03:00
1 parent 9f026b76d6
commit 63c3549673
70 files changed
+1008 -6260

No files matched your search

@@ -1,5 +1,5 @@
using System;
using DG.Tweening;
using System;
using PrimeTween;
using UnityEngine;
using UnityEngine.UI;
@@ -12,12 +12,12 @@ namespace Code.Infrastructure.UI.Panels
[SerializeField] private Color hiddenColor;
public override void Open(Action callback = null)
{
image.DOColor(shownColor, 1f).onComplete = () => callback?.Invoke();
Tween.Color(image,shownColor, 1f).OnComplete( () => callback?.Invoke());
}
public override void Close(Action callback = null)
{
image.DOColor(hiddenColor, 1f).onComplete += () => callback?.Invoke();
Tween.Color(image,hiddenColor, 1f).OnComplete( () => callback?.Invoke());
}
}
}
@@ -1,5 +1,5 @@
using System;
using DG.Tweening;
using System;
using PrimeTween;
using UnityEngine;
using UnityEngine.UI;
@@ -12,12 +12,12 @@ namespace Code.Infrastructure.UI.Panels
[SerializeField] private Color hiddenColor;
public override void Open(Action callback = null)
{
image.DOColor(shownColor, 1f).onComplete = () => callback?.Invoke();
Tween.Color(image,shownColor, 1f).OnComplete( () => callback?.Invoke());
}
public override void Close(Action callback = null)
{
image.DOColor(hiddenColor, 1f).onComplete += () => callback?.Invoke();
Tween.Color(image,hiddenColor, 1f).OnComplete( () => callback?.Invoke());
}
}
}