DebugMember
(
color
)
|
Constructor of the DebugMember.
Signature
DebugMember(DebugColor color=DebugColor.Gray) Parameters color: DebugColorÂ
The DebugColor typed color used for DebugGizmo line drawing and inspector row pill icon, default to Gray
|
Category
: string |
Optional category for a specific tab in Inspector Panel.
Signature
string Category |
Color
: Color |
The color used for DebugGizmo line drawing and inspector row pill icon, note it doesn't apply to the Axis typed gizmo as it's drawing R/G/B colors for 3 axis.
Signature
Color Color |
DisplayName
: string |
Optional name override to be used in the Inspector Panel.
Signature
string DisplayName |
GizmoType
: DebugGizmoType |
The type of the gizmo to draw in space according to the runtime value of the field/property data.
The gizmoType must match the runtime value's type, check out DebugGizmoType for reference.
Signature
DebugGizmoType GizmoType |
Max
: float |
Maximum value for the tweak slider, only applicable for float/int data when Tweakable is true.
Signature
float Max |
Min
: float |
Minimum value for the tweak slider, only applicable for float/int data when Tweakable is true.
Signature
float Min |
ShowGizmoByDefault
: bool |
Whether or not the gizmo will be turned on by default at startup.
You can always turn the gizmo off by clicking the "eye" button next to the row of the debug option.
Signature
bool ShowGizmoByDefault |
Tweakable
: bool |
Specify whether this field/property is tweakable, will show control UI in headset panel (inspector).
For now it only supports two types: 1. boolean with checkboxes shown in headset panel, and
Signature
bool Tweakable |
DisplayNameTooltip
: const string |
Signature
const string DisplayNameTooltip |