Todd Williams
Todd Williams
I actually started moving some of that functionality to Interactable with PR #4357 , but that means some of the functionality is duplicated with pressableButton. The easiest thing would be...
A good direction would be taking all the View functionality, like themes and feedback, out of Interactable. Have a base button class that is only events, then we can add...
The correct approach is to call SetSelection(idx) which calls into the Interactable and sets it to toggled, which should call back to the InteractableToggleCollection to change the Current Index. Changing...
I'll try to take a look today and report back if there's anything we need to update globally or just a bug in Interactable inspectors.
I looked at the Inspector and on some of the fields I did not use the EditorGUILayout.PropertyField which will automatically provide the bolding and the blue mark when an update...
The Is Global value was meant for things like a fitting guide (buttonless UI) or modal, or where we used to say, "air tap anywhere to continue." It's meant to...
The eventData.Use() methods were added recently, so the IsGlobal didn't stop the events propagating before, but from a design stand point, there should be one global button at a time...
It would be easier to have a custom script handle focus events from interactable, if you are instantiating it with code, then using the InteractableOnFocusReceiver, which is more for setting...
Interactable has an ISpeechInputHandler built in, so it can listen for "Remove" if it is setup in the Speed Input profile.
I tracked it down to this method in BaseControllerPointer. ``` public override void OnInputDown(InputEventData eventData) { base.OnInputDown(eventData); if (eventData.SourceId == InputSourceParent.SourceId) { if (requiresHoldAction && eventData.MixedRealityInputAction == activeHoldAction) { IsHoldPressed...