Feel 5.9.1
The best way to improve your game's feel and make it extra juicy
Loading...
Searching...
No Matches
Lofelt.NiceVibrations.HapticSourceInspector Class Reference

Provides an inspector for the HapticSource component. More...

Inheritance diagram for Lofelt.NiceVibrations.HapticSourceInspector:

Public Member Functions

override void OnInspectorGUI ()

Static Public Attributes

static GUIContent hapticClipLabel = EditorGUIUtility.TrTextContent("Haptic Clip", "The HapticClip asset played by the HapticSource.")
static GUIContent fallbackPresetLabel = EditorGUIUtility.TrTextContent("Haptic Preset fallback", "Set the haptic preset to play in case the device doesn't support playback of haptic clips")
static GUIContent loopLabel = EditorGUIUtility.TrTextContent("Loop", "Set the haptic source to loop playback of the haptic clip")

Detailed Description

Provides an inspector for the HapticSource component.

The inspector lets you link a HapticSource to a HapticClip.

Member Function Documentation

◆ OnInspectorGUI()

override void Lofelt.NiceVibrations.HapticSourceInspector.OnInspectorGUI ( )

Member Data Documentation

◆ fallbackPresetLabel

GUIContent Lofelt.NiceVibrations.HapticSourceInspector.fallbackPresetLabel = EditorGUIUtility.TrTextContent("Haptic Preset fallback", "Set the haptic preset to play in case the device doesn't support playback of haptic clips")
static

◆ hapticClipLabel

GUIContent Lofelt.NiceVibrations.HapticSourceInspector.hapticClipLabel = EditorGUIUtility.TrTextContent("Haptic Clip", "The HapticClip asset played by the HapticSource.")
static

◆ loopLabel

GUIContent Lofelt.NiceVibrations.HapticSourceInspector.loopLabel = EditorGUIUtility.TrTextContent("Loop", "Set the haptic source to loop playback of the haptic clip")
static

The documentation for this class was generated from the following file: