Helpers
Spectacles Interaction Kit includes helper components that provide common callback logic, such as audio feedback when triggering an Interactable or visual feedback when hovering over an Interactable. These helper scripts generally require the SceneObject to have an Interactable component.
These helper components also serve as a reference for developing your own components that integrate with SIK components and modules. Creating custom components allows for greater creativity and the development of unique experiences for Spectacles.
Relevant Components
CapsuleMeshCustomizer creates a custom capsule mesh for some of SIK’s lengthier capsule buttons.
InteractableAudioFeedback attaches an audio feedback component when hovering / triggering an Interactable.
InteractableColorFeedback attaches a color feedback component when hovering / triggering an Interactable.
InteractableOutlineFeedback attaches an outline feedback component when hovering / triggering an Interactable.
InteractableSquishFeedback attaches a squish feedback component when hovering / triggering an Interactable.
ScreenTransformAdapter forces a SceneObject to use ScreenTransform to comply with certain UI components (ScrollView).
SliderFeedback customizes the visual feedback for a Slider component’s interactions.
ToggleFeedback customizes the visual feedback for a ToggleButton component’s interactions.