Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Unity 3D Button with script

Hello everyone,
im currently implementing a app for the Hololens. What I have to do is make a button that changes the material of a single 3D Object. That object already has a script that changes its material, but i dont know how to make a 3D Button that calls on the method I implemented.
I am basing my app on the Microsoft 211 Gaze Tutorial. I am a total noob in unity and i would really appreciate the help :)

Answers

  • Options
    JannikLassahnJannikLassahn ✭✭
    edited March 2017

    Please have a look at Unity's Tutorial on Buttons. At 08:35 he explains how to call a method when the button is clicked.
    I would also recommend to go through a few projects. These projects helped me a lot to get more familiar with Unity.

  • Options

    I have some starter posts and examples projects on my blog, starting here, seems to help folks get going with the toolkit and unity in general. Helps to see a couple of super simple non-Microsoft examples I guess.

Sign In or Register to comment.