Skip to content

Debology.Debby.Modules.Adjust.Attributes ​

AdjustAttribute Class ​

The base attribute for marking fields, properties, and methods for adjustment in the Adjust module.

Adding this attribute to a field, property, or method will expose it in the Adjust module.

csharp
public class AdjustAttribute

Inheritance UnityEngine.Scripting.PreserveAttribute 🡒 AdjustAttribute

Derived
↳ AdjustActionAttribute
↳ AdjustDoubleAttribute
↳ AdjustFloatAttribute
↳ AdjustIntAttribute
↳ AdjustLongAttribute
↳ AdjustStringAttribute
↳ AdjustUIntAttribute
↳ AdjustULongAttribute

Fields ​

AdjustAttribute.Category Field ​

The category to group the element under.

csharp
public string Category;

Field Value ​

System.String

AdjustAttribute.Command Field ​

The command you can use to call / set / get this adjustable from the Console command line.

csharp
public string Command;

Field Value ​

System.String

AdjustAttribute.ForceReadOnly Field ​

Forces the adjustable to be read-only even if it has a setter.

csharp
public bool ForceReadOnly;

Field Value ​

System.Boolean

AdjustAttribute.Group Field ​

The group to group the element under.

csharp
public string Group;

Field Value ​

System.String

AdjustAttribute.Name Field ​

The display name / label.

csharp
public string Name;

Field Value ​

System.String

AdjustAttribute.Priority Field ​

Defines which element should be shown first in the UI. Higher values are shown first.

csharp
public int Priority;

Field Value ​

System.Int32

AdjustAttribute.Width Field ​

The width of the element in the UI. Use 0 for auto / default.

csharp
public uint Width;

Field Value ​

System.UInt32