Project window reference
Find the controls in the Unity Spark Project window to browse, create, sort, and organize the assets in your project.
Read time 6 minutesLast updated 3 hours ago
The Project window lists the assets in your Unity Spark project, such as scenes, scripts, prefabs, models, sprites, and sounds, organized into folders. In the Editor layout, the Project window is a tab under the Scene view.
To add the Project window to another layout:
- Select Add window (+) in any window group.
- Select Project.
For instructions, refer to Create assets in the Project window and Use and manage assets in the Project window.
Project window layouts
The Project window has two layouts. Use the layout buttons in the toolbar to change between them. Unity Spark remembers your choice.
Layout | Description |
|---|---|
| Two-column view | Shows a sources pane with a folder tree on the left, and the contents of the open folder as tiles on the right. Two-column view is the default layout. When the window is too narrow for the sources pane, Unity Spark hides it and shows only the tiles. |
| One-column view | Shows the folders and assets together in one tree. |
Toolbar
In the Two-column view, Create (+) and Asset Browser are at the top of the sources pane. The toolbar contains the following controls.
Control | Description |
|---|---|
| Create (+) | Opens a menu of assets to create. For the list of items, refer to Create menu. This control is unavailable when you browse Built-in assets, because you can't change them. |
| Asset Browser | Opens the Asset Browser window, where you can get more assets for your project. In a narrow window, the button shows only its icon. |
| Breadcrumb | Shows the path to the open folder. Select a parent folder in the path to open it. In a narrow window, select the first item in the path to select another source. |
| Search | Searches the whole project by name, including folders and the items inside assets. In a narrow window, the field becomes a Search button. Press Esc or select Close to clear the search. |
| Two-column view / One-column view | Sets the window's layout. For more information, refer to Project window layouts. |
Sources pane
In the Two-column view, the sources pane lists the places you can browse, each with its own folder tree. Select a folder to show its contents.
Source | Description |
|---|---|
| Assets | Contains the assets in your project. Assets is the default source. |
| Generated | Contains the results from your generation history, with one entry for each conversation that generated assets. |
| Built-in | Contains the read-only assets that come with Unity Spark. You can't create, rename, or delete assets in this source. |
Create menu
Unity Spark adds a new asset to the open folder and selects it so you can rename it. Shader Graph, Animation Controller, Avatar Mask, and Animation Clip assets always go into the root of the folder. Select Create (+) in the toolbar, or right-click (macOS: Ctrl+click) in the Project window and select Create, to create one of the following assets.
AssetsMenu item | Description |
|---|---|
| Folder | Creates a folder. |
| Material | Creates a material. |
| Physics Material | Creates a physics material. |
| 2D > Sprite Animation | Creates a looping 2D animation clip and an animation controller that plays it. For more information, refer to Add and edit sprites. |
| 2D > Tiles > Tile | Creates a tile to paint on a tilemap. For more information, refer to Paint levels with tilemaps. |
| 2D > Tiles > Rule Tile | Creates a rule tile for a tilemap. |
| 2D > Tiles > Hexagonal Rule Tile | Creates a rule tile with six-sided rules, for a hexagonal tilemap. |
| Shader Graph | Creates a shader graph. |
| Scene | Creates a scene. For more information, refer to Create a scene. |
| Script | Creates a script. |
| Animation Controller | Creates an animation controller. |
| Avatar Mask | Creates an avatar mask. |
| Animation Clip | Creates an animation clip. |
| Import Controller (.controller)… | Imports a Unity Animator Controller file (.controller) as an animation controller. Available only from the Create (+) button. |
| Open Asset Browser | Opens the Asset Browser window. Available only from the Create (+) button. |
Footer
In the One-column view, the footer shows only the sort control. The bar at the bottom of the Project window contains the following controls.
Control | Description |
|---|---|
| All | Shows all assets in the open folder. Unity Spark selects All when no category filter is active. |
| Category filters | Shows only the assets of the selected categories. Select several categories to combine them. The bar shows a filter only for categories that the open folder contains: Objects, Materials, Textures, Animation, Audio, Fonts, Scripts, Scenes, UI, and Tiles. |
| More filters | Shows the category filters that don't fit in the bar. |
| Sort | Sets the order of the assets. Folders always come before assets. Select one of the following options:
|
| Tile Size | Sets the size of the asset tiles. |
Asset context menu
Items that don't apply to the selected asset are unavailable. Right-click (macOS: Ctrl+click) an asset or folder to open a menu with the following items.
Menu item | Description |
|---|---|
| Include in Published Game | Always includes the animation clip in your published game. Available for animation clips inside an asset. |
| Leave Out of Published Game | Leaves the animation clip out of your published game. Available for animation clips inside an asset. |
| Reset Publishing to Default | Removes the choice you made with Include in Published Game or Leave Out of Published Game. Available for animation clips inside an asset. |
| Add to Scene | Adds the asset to the open scene. Available for assets that you can place in a scene. |
| Choose as Startup Scene | Sets the scene as the one your game starts in. Available for scenes, and unavailable for the scene that's already the startup scene. |
| Bake sky ambient light | Bakes again the ambient light that this texture gives your scene as a custom sky. Available for textures that a custom sky uses. |
| Show collection | Opens the Asset Browser window on the collection that the asset came from. Available for assets imported from the Asset Store. |
| Rename | Renames the asset or folder. |
| Delete | Deletes the asset or folder. If you select several items, Unity Spark deletes all the selected items. |
| Create | Opens the Create menu. |
Right-click (macOS: Ctrl+click) an empty area of the Project window to open a menu with Create and Open Asset Browser. When you browse Built-in assets, the menu shows Built-in assets are read-only instead of Create.
Mouse and keyboard actions
You can use the following mouse and keyboard actions in the Project window.
Action | Description |
|---|---|
| Double-click a folder | Opens the folder. |
| Double-click an asset | Opens the asset. Scenes open for editing. Scripts, shader graphs, avatar masks, animation controllers, and animation clips open in their own windows. Unity Spark adds other assets that you can place in a scene to the open scene. |
| Select an asset that's already selected | Renames the asset. |
| Ctrl+click (macOS: Cmd+click) | Adds an asset to the selection or removes it. |
| Shift+click | Selects a range of assets. |
| Ctrl+A (macOS: Cmd+A) | Selects all items that the open folder or the search shows. |
| Esc | Clears the selection. |
| Delete or Backspace | Deletes the selected items. |