Gameptics 1.1.1
Gameptics (Game+Haptics) is a lightweight cross-platform haptics toolkit for Unity. Author haptic signals and sequences with duration, intensity and sharpness, then play them on iOS and Android.
Loading...
Searching...
No Matches
SCG.Gameptics.UIToolkit Namespace Reference

Classes

class  GamepticUiToolkitBinder
 Binds Gameptics playback to UI Toolkit elements by USS class name. Add this component to the GameObject with a UIDocument or PanelRenderer, or to any child object under that UI hierarchy. Built-in bindings use classes named gameptics-{preset}, where the preset part is lowercase kebab-case such as gameptics-selection, gameptics-light-impact, or gameptics-sad-trombone. More...
class  GamepticUiToolkitClassNameHelper
 Provides a UI Toolkit facade over the core Gameptics class-name helper. Preserves the original string API for backward compatibility. Adds VisualElement-specific class inspection and mutation helpers on top. More...
class  GamepticUiToolkitCustomBinding
 Defines a user-configured UI Toolkit class binding. Each entry matches one exact USS class name on a VisualElement. The selected payload is played when the configured press event is received. More...

Enumerations

enum  GamepticUiToolkitPressEventType { ClickEvent = 0 , PointerDownEvent = 1 }
 Selects which UI Toolkit event should trigger a Gameptics binding. Use this for binder-level defaults and resolved runtime subscriptions. ClickEvent remains the default behavior for standard UI interactions. More...
enum  GamepticUiToolkitPressEventOverrideMode { UseBinderDefault = 0 , ClickEvent = 1 , PointerDownEvent = 2 }
 Selects how a custom UI Toolkit binding resolves its press event. A binding can inherit the binder default or force a concrete event type. This keeps standard controls on ClickEvent while allowing PointerDownEvent for special elements. More...
enum  GamepticUiToolkitBindingValueType { Signal = 0 , Sequence = 1 }
 Selects which haptic payload a UI Toolkit class binding should play. This value controls which serialized payload field is active in the inspector. It is used only by the UI Toolkit binder configuration. More...