Synced
EditorSettingObject.GetAsBoolean
Section titled “EditorSettingObject.GetAsBoolean”
- Gets a Boolean property, or a fallback when the property is absent.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Settings
Declaration
Section titled “Declaration”public bool Inno.Editor.Settings.EditorSettingObject.GetAsBoolean(string name, bool defaultValue = false)Parameters
Section titled “Parameters”Parameter name: The stable property name.
Parameter defaultValue: The value returned when the property is absent.
Returns
Section titled “Returns”The stored Boolean or defaultValue.