Class SerialInputDeviceConfigs
Runtime project settings for configuring the Gryoor serial input device. This class inherits from Settings and is used to define user-configurable serial input device related parameters.
[Settings(SettingsUsage.RuntimeProject, "mobisim/External Input Device", null)]
public sealed class SerialInputDeviceConfigs : Settings<SerialInputDeviceConfigs>
Inheritance
Inherited Members
Extension Methods
- SettingsExtensions.GetSettingLabel<SerialInputDeviceConfigs>(Settings<SerialInputDeviceConfigs>)
- SettingsExtensions.GetSettingsProvider<SerialInputDeviceConfigs>(Settings<SerialInputDeviceConfigs>)
Remarks
Marked with SettingsAttribute to integrate with Unity's Project Settings window.
The settings asset are being preloaded during build process by a custom Editor.SettingsBuildHelper<T> implementation.
Properties
AutoDetectGryoor
Gets the value indicating whether the COM port for the Gryoor device should be automatically detected.
public bool AutoDetectGryoor { get; }
Property Value
bool
BaudRate
Gets the configured baud rate for serial communication.
public int BaudRate { get; }
Property Value
int
ComPort
Gets the configured COM port name, formatted and validated against the available ports. Returns null if the specified port isn't available in this computer.
public string ComPort { get; }
Property Value
string
InitializeOnStartup
Gets the value indicating whether the Gryoor input device should be automatically initialized at startup.
public bool InitializeOnStartup { get; }
Property Value
bool