Add EditorHidden member to ContentTileDefinition (#42564)

Add EditorHidden member
This commit is contained in:
Connor Huffine
2026-01-25 17:17:44 -05:00
committed by GitHub
parent f94e809f53
commit e6dedb87a6

View File

@@ -129,6 +129,11 @@ namespace Content.Shared.Maps
/// </summary>
[DataField("indestructible")] public bool Indestructible = false;
/// <summary>
/// Hide this tile in the tile placement editor.
/// </summary>
[DataField] public bool EditorHidden { get; private set; } = false;
public void AssignTileId(ushort id)
{
TileId = id;