Add sprite fades for occluding sprites (#13267)
This commit is contained in:
12
Content.Shared/Sprite/SpriteFadeComponent.cs
Normal file
12
Content.Shared/Sprite/SpriteFadeComponent.cs
Normal 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
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user