diff --git a/Source/Engine/Debug/DebugCommands.cs b/Source/Engine/Debug/DebugCommands.cs index 3c67ca31e..d676ea979 100644 --- a/Source/Engine/Debug/DebugCommands.cs +++ b/Source/Engine/Debug/DebugCommands.cs @@ -8,7 +8,7 @@ namespace FlaxEngine /// Marks static method as debug command that can be executed from the command line or via console. /// [Serializable] - [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)] + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Property)] public sealed class DebugCommand : Attribute { }