# PSD to Unity

Import a layered PSD or PSB into VberAI Studio, run Auto Layering, then Export to Unity.

## TL;DR: 6 steps

**PSD to Unity** fits a layered Photoshop file—PSD or PSB—that needs to land in Unity. [VberAI Studio](https://vberai.com/studio) imports the design, then [Auto Layering](/docs/sprite/auto-layering-image-to-layers/) cuts named pieces from detected edges. **Export to Unity** writes those pieces into the engine.

A `.fig` instead: [Figma to Unity](/docs/convert/figma-to-unity/). A flat PNG that still needs layers: [PNG to PSD](/docs/convert/png-to-psd/).

## Step 1: Open the layered PSD

Keep named groups (frames, buttons, HUD bars). Those names carry through into Studio.

![Layered PSD of the Main Screen UI](/images/psd-to-godot/psd_to_godot_step1_psd_file_.webp)

## Step 2: Import PSD/PSB

In Studio choose **Import → PSD/PSB**.

![Studio Import with PSD/PSB](/images/psd-to-godot/psd_to_godot_step2_import_psd_.webp)

## Step 3: Auto Layering

Select the board (for example **cat_journey_UI**). On the selection toolbar, open the overlapping-layers control and choose **Auto-Layering**.

![Overlapping-layers menu with Auto-Layering and Layer Split](/images/auto-layering/step1_auto_layering_.webp)

Confirm **Run AI auto-layering?** then **Start layering**.

![Confirm dialog: Run AI auto-layering, Start layering](/images/auto-layering/step2_confirm_debit_payment_.webp)

Named bounds land on the plate: the sliced, named images are ready. Details for this pass are on [Auto Layering](/docs/sprite/auto-layering-image-to-layers/).

![Auto Layering result with named bounds on the cat-journey UI](/images/auto-layering/step3_ai_output_.webp)

## Step 4: Export to Unity

Keep the layered board selected (here **cat_journey_UI_layer**). Open **Export** and choose **Export to Unity**.

![Export menu with Export to Unity highlighted](/images/psd-to-unity/step_3_export_to_Unity_.webp)

## Step 5: Choose the Unity export form

The dialog sets **Target engine** to Unity. Format can be Prefab (`.prefab`). **Export to** can be a ZIP archive, or write straight into the target project. **Default paths** uses the engine’s default directories.

![Unity export dialog: Prefab format and ZIP archive](/images/psd-to-unity/step_4_export_settings_.webp)

## Step 6: Check the output

This pass used a ZIP archive. Unzip it and the root is `Assets`: `Prefabs` holds the Unity `.prefab` (assembled UI you can drop into a scene); `Textures` holds the sliced PNGs, named from the layers.

![Unzipped Assets folder with Prefabs and Textures](/images/psd-to-unity/step_5_check_output_.webp)
