Change MaskComponent to accommodate sprites namings (#33451)

Co-authored-by: Winkarst <74284083+Winkarst-cpu@users.noreply.github.co>
This commit is contained in:
Winkarst 2025-01-18 19:58:51 +03:00 committed by deltanedas
parent bf34cb5cae
commit 270d79ea07
1 changed files with 4 additions and 1 deletions

View File

@ -20,8 +20,11 @@ public sealed partial class MaskComponent : Component
[DataField, AutoNetworkedField]
public bool IsToggled;
/// <summary>
/// Equipped prefix to use after the mask was pulled down.
/// </summary>
[DataField, AutoNetworkedField]
public string EquippedPrefix = "toggled";
public string EquippedPrefix = "up";
/// <summary>
/// When <see langword="true"/> will function normally, otherwise will not react to events