Home

Awesome

What is the Unity PSD Layout Tool?

It is a tool used to automatically layout Photoshop Documents (.psd files) in the Unity Game Engine.

Features

How to Install

Simply copy the files into your project. A .unitypackage file will be provided in the future.

How to Use

The PSD Layout Tool is implemented as a Unity Custom Inspector. If you select a PSD file that you have in your project (Assets folder) special buttons will appear above the default importer settings.

Special Tags

Layers can have special tags applied to them that flags them to have the layout tool perform special operations on them.

Group Layer Tags

TagDescription
|AnimationCreates a Sprite animation using all of the children layers as frames
|FPS=##The number of frames per second to use for a Sprite animation. Defaults to 30 if not present
|ButtonCreates a Button object using any tagged children layers as the button states

Art Layer Tags

TagDescription
|DisabledRepresents the disabled state of a button
|HighlightedRepresents the highlighted state of a button
|PressedRepresents the pressed state of a button
|DefaultRepresents the default/enabled/normal/up state of a button
|EnabledRepresents the default/enabled/normal/up state of a button
|NormalRepresents the default/enabled/normal/up state of a button
|UpRepresents the default/enabled/normal/up state of a button
|TextRepresents a texture that is the text of a button (normal text layers import without this tag)

Photoshop Compatibility

Photoshop's "Smart Objects" are not supported, and therefore must be flattened/rasterized in Photoshop before attempting to import.

  1. Click Layer in the Photoshop menu
  2. Click Rasterize
  3. Click All Layers