First commit for private source control. Older commits available on Github.
This commit is contained in:
16
Assets/Scripts/Framework/Events/UI/FadeEvent.cs
Normal file
16
Assets/Scripts/Framework/Events/UI/FadeEvent.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using BriarQueen.Framework.Events.System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BriarQueen.Framework.Events.UI
|
||||
{
|
||||
public enum FadeStyle
|
||||
{
|
||||
SolidColor = 0, // Left for Compat.
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Publish with color != Color.clear to fade in.
|
||||
/// Publish with color == Color.clear to fade out (uses last active style).
|
||||
/// </summary>
|
||||
public record FadeEvent(bool Hidden, float Duration = 0.25f) : IEvent;
|
||||
}
|
||||
Reference in New Issue
Block a user