MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Buttons missing in MRTK

Open eluchsinger opened this issue 9 years ago • 4 comments

Overview

According to https://github.com/Microsoft/MixedRealityToolkit-Unity/pull/1197 there should be buttons from MRDL included in the MRTK. The only part I can find them is in the example scene, but I don't want to include the example scene in my project. I am not able to port the buttons to my project either, there are several materials / scripts missing that prevent that.

If I want to export the HolographicButton with the dependencies, I get dependencies in all HTK projects (HTK, Examples and UnitTests).

Expected Behavior

I want to be able to use the Buttons (specially: Holographic Button) from the HoloToolkit.

Actual Behavior

There are no buttons in the HoloToolkit.

Unity Editor Version

2017.2.0f3

Mixed Reality Toolkit Release Version

Last master https://github.com/Microsoft/MixedRealityToolkit-Unity/commit/272d5fd10c0b836a2a7bcb021a655dcf2288d7e9

eluchsinger avatar Nov 17 '17 09:11 eluchsinger

Maybe I have the wrong HTK imported right now. I see buttons now in the HTK, but the Holographic Buttons are missing.

eluchsinger avatar Nov 17 '17 09:11 eluchsinger

Hi @eluchsinger - the button scripts you're looking for are in HoloToolkit/UX/Scripts/Buttons

The generic button prefabs brought over from MRDL are SquareButton, CircleButton and RectangleButton, which you can find in HoloToolkit/UX/Prefabs/Buttons.

The example scene has several more button styles with additional materials etc. but none of the generic buttons depend on those resources.

Railboy avatar Nov 17 '17 16:11 Railboy

Hi @Railboy. Yes, I found those now. I didn't find the Holographic Button which I find is one of the best looking and more consistent ones (like in the Start Menu?). Any plans on porting those also? Mine are working, but it was quite a hassle.

eluchsinger avatar Nov 17 '17 17:11 eluchsinger

ButtonHolographic was ported as one of the example buttons. It's located in HoloToolkit-Examples\UX\Prefabs

Railboy avatar Nov 17 '17 18:11 Railboy