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,12 @@
using Robust.Shared.GameStates;
namespace Content.Shared.Sprite;
/// <summary>
/// If your client entity is behind this then the sprite's alpha will be lowered so your entity remains visible.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed class SpriteFadeComponent : Component
{
}