Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
HoloLens Beginner???s Guide

You're reading from   HoloLens Beginner???s Guide Join the AR revolution with HoloLens

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781786464729
Length 376 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Jason M. Odom Jason M. Odom
Author Profile Icon Jason M. Odom
Jason M. Odom
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface Welcome to the New World FREE CHAPTER HoloWorld I am in Control User-Friendly Interface Now That Is How It Should Sound Not So Blank Spaces The Tools of the Trade Share What You Have Got Putting It All Together Fixing Problems

Spawning our Skeeball machine


Different systems handle object instantiation in different ways. For the single-user version of the project that we have created over the past couple of chapters, we did not use spawning or instantiating at all. We have had the object turned off, and would turn it on only when certain conditions are met. Before we continue, we need to correct that. Let's perform the following steps: 

  1. In the Hierarchy view, select the skee object.
  2. Click on the Apply button in the Inspector just to be sure.
  3. With the object still selected in the Hierarchy view, right-click on the object and click on the Delete option.

Now, we need to set up our system that will allow us to spawn in our skee Prefab; we will use a component with the name Prefab Spawn Manager:

  1. With the Sharing object selected in the Hierarchy view, click on the Add Component button in the Inspector.
  2. Type Pref into the search bar and select Prefab Spawn Manager, as follows:

Now, let's put in the information we need to get...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime