Add option to hide debug commands (eg. one auto-added within container class)

This commit is contained in:
2026-06-19 14:48:50 +02:00
parent d67c8fee99
commit 882a826360
4 changed files with 32 additions and 16 deletions
+9
View File
@@ -22,6 +22,15 @@ namespace FlaxEngine
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Property)]
public sealed class DebugCommand : Attribute
{
/// <summary>
/// Hides the entry from the Debug Commands. Can be used to exclude specific members from class marked as debug commands contains as a whole.
/// </summary>
public bool Hide;
internal void GetInfoInternal(out bool hide)
{
hide = Hide;
}
}
partial class DebugCommands