Add sprite fades for occluding sprites (#13267)

This commit is contained in:
metalgearsloth
2023-01-05 16:45:23 +11:00
committed by GitHub
parent bf2ae6294d
commit 3400af11cd
4 changed files with 128 additions and 0 deletions

View 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;
}