How to Install HoloToolkit for Unity

This week I have a tutorial video that shows how you can get going quickly with HoloLens development by installing the HoloToolkit and using it inside of Unity.

Next week, we will then take this example and deploy it to the HoloLens emulator.

Enjoy the step by step tutorial of how to install the HoloToolkit for Unity!

Activating and Deactivating Objects in Unity using HoloToolkit InputManager

Over the weekend, I helped Microsoft as a mentor at HoloHack in Atlanta. While there, it was great watching folks who had never tried to work with the HoloLens before.

This week I received a question from one the members from Learn HoloLens. The issue was hiding an object by air tapping on it utilizing the HoloToolkit.

I created a video to answer the question and you can check it out here:

HideMe.cs

using HoloToolkit.Unity.InputModule;
using UnityEngine;

public class HideMe : MonoBehaviour, IInputClickHandler
{
     public void OnInputClicked(InputClickedEventData eventData)
     {
         gameObject.SetActive(false);
     }
}

ShowAll.cs

using HoloToolkit.Unity.InputModule;
using System.Collections.Generic;
using UnityEngine;

public class ShowAll : MonoBehaviour, IInputHandler
{
     public List<GameObject> GameObects;

    private void Start()
     {
     }

    public void OnInputDown(InputEventData eventData)
     {
     }

    public void OnInputUp(InputEventData eventData)
     {
         foreach(GameObject go in GameObects)
         {
             go.gameObject.SetActive(true);
         }
     }
}

Xbox One Controller–HoloLens Edition & HoloHack in Atlanta

image

Around August of last year, I ran a contest to give away an Xbox Controller that was themed like the HoloLens. I even had“HoloLens Edition” engraved on the controller – unfortunately, it doesn’t show up in this picture, but it does on the website where you can order your own!

The winner of the controller was none other than Jason Odom, who at the time was creating a lot of YouTube videos around the HoloLens. Since then, he has created a HoloLens book (HoloLens Beginner Guide) and his is constantly writing articles for Next Reality. Make sure to check them out.

Anyway, he is going to be at the HoloHack in Atlanta, and it reminded me about this controller. I wanted to give you the link to the design in case you were interested in purchasing it.

I’ll be heading to Atlanta to meet up with Jason, and my fellow HoloLens consultant James Ashley, another HoloLens dev and Microsoft MVP, as well as some others that will be there.

If you are in or around Atlanta, you should definitely drop by. I’d love to say hi!

Here is the link to the controller: http://chd.me/xboxhe

Dynamically Placed Items with Spatial Understanding

In my premium membership site over at LearnHoloLens.com, I’ve been working on some Spatial Understanding content for my students.

In fact, there was so much to discuss with Spatial Understanding that I had to create two different master classes on the subject. The first master class was released in May. This laid the foundation. The second master class will be released in a couple of weeks.

I was super fortunate to get this excellent testimonial from one of my members, James. You should really check out James’ YouTube channel.

image

Here’s a little demo of placing a couple of objects in my basement.