Game.Debug.DebugWatchOnlyAttribute
Assembly: Assembly-CSharp (game's main assembly; the attribute is defined in the game's codebase)
Namespace: Game.Debug
Type: class
Base: System.Attribute
Summary: Marker attribute that can be applied to classes to indicate they are intended for debug-watch / inspection purposes. The attribute itself has no runtime behavior or state; it is a simple marker used by tooling, editors, or in-game debug UIs to identify classes that should be shown or treated specially when debugging or inspecting game objects.
Fields
- This type declares no fields.
This attribute carries no data; it is a stateless marker attribute.
Properties
- This type declares no properties.
There are no configurable properties — usage is purely declarative.
Constructors
public DebugWatchOnlyAttribute()
Default parameterless constructor (compiler-provided). As a marker attribute it exposes no parameters.
Methods
- This type defines no methods beyond those inherited from System.Attribute/Object.
It does not override or provide additional behavior — it exists solely as an attribute tag.
Usage Example
using Game.Debug;
// Apply the attribute to mark the class as intended for debug/watch inspection only.
[DebugWatchOnly]
public class MyDebugInfoProvider
{
// Implementation that provides debug information; tooling can
// detect the attribute and show this class in debug watch windows.
}