Documentation

Unity Spark

Open Unity Spark

Unity Spark

Introduction to objects and prefabs

Understand how objects, parent and child objects, and prefabs and their copies work in a Unity Spark scene.
Read time 2 minutesLast updated 3 hours ago

Everything in a scene is an object. Objects can contain other objects as child objects, and you can save an object as a prefab to place it many times.
To add and organize objects, refer to Add and select objects and Organize objects.

Objects

An object can be a cube, a light, a camera, or a button. The Hierarchy window lists the objects in the open scene.
An Empty Object is an invisible container. When you group objects, Unity Spark puts the selection inside a new empty object called
Group
.

Make an object a child of another object

A child object moves, turns, and scales with its parent object. To make one object a child object of another object, drag its row onto the other row in the Hierarchy window.

Prefabs and prefab copies

A prefab is a saved object you can place in the scene multiple times, such as an enemy or a collectible coin.
Unity Spark saves prefabs in a
Prefabs
folder in your Project window. Each placed instance of a prefab is a copy. Copies of a prefab, and the objects inside them, display their names in blue in the Hierarchy window. The prefab options are available when you right-click the top object of a copy.
A copy can have its own changes. You can save a copy's changes into the prefab, discard them, or turn the copy into a regular object. When you save a copy's changes into the prefab, Unity Spark also updates the other copies of that prefab in all your scenes. Values that you changed on a specific copy stay as they are, and each copy keeps its own position and name. For the steps, refer to Create and manage prefabs.

Additional resources