Class SteamDeveloperUI
Simple developer UI to use for testing.
Inheritance
System.Object
SteamDeveloperUI
Namespace: KaijuSolutions.SteamMultiplayerEngine.Development
Syntax
public sealed class SteamDeveloperUI : MonoBehaviour
Fields
controls
If keyboard controls are enabled. If true, escape toggles the visibility, and tilda (`) toggles the microphone.
Declaration
public bool controls
Field Value
Type | Description |
---|---|
System.Boolean |
filter
What to filter log messages based on.
Declaration
public string filter
Field Value
Type | Description |
---|---|
System.String |
level
Declaration
public SteamDeveloperUI.LogLevel level
Field Value
Type | Description |
---|---|
SteamDeveloperUI.LogLevel |
lockCursor
If the cursor should be locked when toggling visibility. This could be useful if testing a shooter game for instance.
Declaration
public bool lockCursor
Field Value
Type | Description |
---|---|
System.Boolean |
text
What color to render the UI text.
Declaration
public Color text
Field Value
Type | Description |
---|---|
Color |
visible
If the UI is visible.
Declaration
public bool visible
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
MinimumWidth
How small we can set the width.
Declaration
public float MinimumWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Step
How much to step the width using keyboard controls.
Declaration
public float Step { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Width
How wide in pixels to render buttons. Note that plain-text will extend as needed to ensure no information is lost.
Declaration
public float Width { get; set; }
Property Value
Type | Description |
---|---|
System.Single |