O'Reilly logo

Developing AR Games for iOS and Android by Dominic Cushnan, Hassan EL Habbak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Vuforia prefabs

A prefab is essentially a type of asset that is created in Unity to be a reusable game object stored in Project view. Prefabs can be inserted as many times as we want into the scene and with any object transformation applied to it. When added to the scene, they are basically an instance of the original prefab and linked to it. When a change is applied to the original prefab, all its instances will copy it, as they are essentially clones of it.

Prefabs are an indispensable tool for Unity. It makes the creation of standard scene components a much easier task. Imagine we are making a game with many enemy non-player characters. It will take a lot of time to manually construct every one of them, but if we create a single enemy prefab ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required