forked from Shardstone/trail-into-darkness
Added a popup system
This commit is contained in:
11
Packages/com.jovian.popup-system/Runtime/IPopupAnimator.cs
Normal file
11
Packages/com.jovian.popup-system/Runtime/IPopupAnimator.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Jovian.PopupSystem {
|
||||
public interface IPopupAnimator {
|
||||
void Show(CanvasGroup canvasGroup, float duration, Action onComplete);
|
||||
void Hide(CanvasGroup canvasGroup, float duration, Action onComplete);
|
||||
void Tick(float deltaTime);
|
||||
bool IsAnimating { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user