Show / Hide Table of Contents

Class Settings

Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
Settings
Namespace: BennyKok.RuntimeDebug.Data
Assembly: com.bennykok.runtime-debug-action.dll
Syntax
public class Settings : ScriptableObject

Fields

actionDisplayFadeInTime

Declaration
[Title("Animation", 0)]
[Comment("When using shortcut key on action, there will be a popup display, these values configure the fade in/out time", order = 1)]
public float actionDisplayFadeInTime
Field Value
Type Description
System.Single

actionDisplayFadeTime

Declaration
public float actionDisplayFadeTime
Field Value
Type Description
System.Single

addApplicationOptions

Declaration
[Title("Default Actions", 0)]
[Comment("Configure what types of default actions you want to be added by the system", order = 1)]
public bool addApplicationOptions
Field Value
Type Description
System.Boolean

addLoggerOptions

Declaration
public bool addLoggerOptions
Field Value
Type Description
System.Boolean

addQualityOptions

Declaration
public bool addQualityOptions
Field Value
Type Description
System.Boolean

addSceneOptions

Declaration
public bool addSceneOptions
Field Value
Type Description
System.Boolean

addThemeOptions

Declaration
public bool addThemeOptions
Field Value
Type Description
System.Boolean

disableLogger

Declaration
[Title("Logger", 0)]
public bool disableLogger
Field Value
Type Description
System.Boolean

enableInputNavigation

Declaration
[Title("Input", 0)]
[Tooltip("Do you want use keyboard/input system device for navigation in the menu?")]
public bool enableInputNavigation
Field Value
Type Description
System.Boolean

enableMode

Declaration
public Settings.EnableMode enableMode
Field Value
Type Description
Settings.EnableMode

eventSystemPrefab

Declaration
[Visibility("useEmbeddedEventSystem", true, false)]
public GameObject eventSystemPrefab
Field Value
Type Description
UnityEngine.GameObject

hideCursorOnStart

Declaration
public bool hideCursorOnStart
Field Value
Type Description
System.Boolean

inputLayer

Declaration
[Visibility("!useInputSystemLayer", true, true, drawChildrenOnly = true)]
public InputManagerLayer inputLayer
Field Value
Type Description
InputManagerLayer

loggerMaxLine

Declaration
public int loggerMaxLine
Field Value
Type Description
System.Int32

menuPauseMode

Declaration
public Settings.MenuPauseMode menuPauseMode
Field Value
Type Description
Settings.MenuPauseMode

pointerHoverIgnoreMobile

Declaration
public bool pointerHoverIgnoreMobile
Field Value
Type Description
System.Boolean

selectionColorHighlight

Declaration
[Title("Selection Hightlight", 0)]
[Comment("Configure indication style for the selected action item when using keyboard navigation", order = 1)]
public bool selectionColorHighlight
Field Value
Type Description
System.Boolean

selectionUnderlineHighlight

Declaration
public bool selectionUnderlineHighlight
Field Value
Type Description
System.Boolean

settingsAssetName

Declaration
public const string settingsAssetName = "RDASettings"
Field Value
Type Description
System.String

settingsFolderPath

Declaration
public const string settingsFolderPath = "Assets/Resources/"
Field Value
Type Description
System.String

settingsPath

Declaration
public const string settingsPath = "Assets/Resources/RDASettings.asset"
Field Value
Type Description
System.String

showTooltipOnKeyboardNavigation

Declaration
[Title("Tooltip", 0)]
[Comment("Show tooltip options will not be used on mobile platfrom, long press on an action to display tooltip instead", order = 1)]
public bool showTooltipOnKeyboardNavigation
Field Value
Type Description
System.Boolean

showTooltipOnPointerHover

Declaration
public bool showTooltipOnPointerHover
Field Value
Type Description
System.Boolean

themes

Declaration
public ThemeList themes
Field Value
Type Description
ThemeList

touchToggleMode

Declaration
[Title("Interaction", 0)]
public Settings.TouchToggleMode touchToggleMode
Field Value
Type Description
Settings.TouchToggleMode

useEmbeddedEventSystem

Declaration
[Title("Event System", 0)]
[Comment("An event system is required for the UI input & the new input system (if enabled), if using the embedded, it will be created automatically, you can also use your own and disable it", order = 1)]
public bool useEmbeddedEventSystem
Field Value
Type Description
System.Boolean

Methods

GetDefaultTheme()

Declaration
public Theme GetDefaultTheme()
Returns
Type Description
Theme

GetThemeByName(String)

Declaration
public Theme GetThemeByName(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
Theme

IsShowTouchToggle()

Declaration
public bool IsShowTouchToggle()
Returns
Type Description
System.Boolean

IsSystemEnabled()

Is the system enabled in the settings?

Declaration
public bool IsSystemEnabled()
Returns
Type Description
System.Boolean
In This Article
👆 RuntimeDebugAction by ❤️ BennyKok