Add sprite fades for occluding sprites (#13267)
This commit is contained in:
13
Content.Client/Sprite/FadingSpriteComponent.cs
Normal file
13
Content.Client/Sprite/FadingSpriteComponent.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Content.Shared.Sprite;
|
||||
|
||||
namespace Content.Client.Sprite;
|
||||
|
||||
/// <summary>
|
||||
/// The non-networked client-only component to track active <see cref="SpriteFadeComponent"/>
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(SpriteFadeSystem))]
|
||||
public sealed class FadingSpriteComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
public float OriginalAlpha;
|
||||
}
|
||||
Reference in New Issue
Block a user