{"id":13664072,"url":"https://github.com/GlitchEnzo/UnityPSDLayoutTool","last_synced_at":"2025-04-25T20:32:20.588Z","repository":{"id":22012111,"uuid":"25337673","full_name":"GlitchEnzo/UnityPSDLayoutTool","owner":"GlitchEnzo","description":"A tool used to import a Photoshop Documents (.psd files) into the Unity Game Engine. It can import each layer as separate textures, create Unity 4.3+ Sprites laid out in a scene, and generate an entire prefab with the layout.","archived":false,"fork":false,"pushed_at":"2017-08-10T14:35:21.000Z","size":841,"stargazers_count":89,"open_issues_count":6,"forks_count":39,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-11-10T21:39:49.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GlitchEnzo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-17T04:10:11.000Z","updated_at":"2024-10-05T20:31:07.000Z","dependencies_parsed_at":"2022-08-05T15:19:06.306Z","dependency_job_id":null,"html_url":"https://github.com/GlitchEnzo/UnityPSDLayoutTool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlitchEnzo%2FUnityPSDLayoutTool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlitchEnzo%2FUnityPSDLayoutTool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlitchEnzo%2FUnityPSDLayoutTool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlitchEnzo%2FUnityPSDLayoutTool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GlitchEnzo","download_url":"https://codeload.github.com/GlitchEnzo/UnityPSDLayoutTool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250890760,"owners_count":21503549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T05:02:45.556Z","updated_at":"2025-04-25T20:32:15.577Z","avatar_url":"https://github.com/GlitchEnzo.png","language":"C#","readme":"What is the Unity PSD Layout Tool?\n==================================\n\nIt is a tool used to automatically layout Photoshop Documents (.psd files) in the Unity Game Engine. \n\nFeatures\n========\n* Layout each PSD layer as Unity 4.3+ Sprites\n  * Create Sprite animations using a set of layers as the frames in the animation\n* Layout each PSD Layer as Unity 4.6+ UI elements\n  * Create Button objects using a set of layers as the button states\n* Generate a single prefab with the entire layout (Sprites or UI)\n* Export each PSD Layer as a .png file on the hard drive\n  * Useful for simply updating textures without creating an entire layout\n\nHow to Install\n==============\nSimply copy the files into your project.  A .unitypackage file will be provided in the future.\n\nHow to Use\n==========\nThe 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.\n\n![](screenshots/inspector.png?raw=true)\n\n* **Maximum Depth**\n  * The maximum depth value (Z position) to use when laying the layers out.  The front-most layer (minimum depth) is always 0.\n* **Pixels to Unity Units**\n  * The scale to use when generating Unity Sprites, in pixels to Unity world units (meters).\n* **Use Unity UI**\n  * Check to generate Unity 4.6+ UI elements instead of \"normal\" GameObjects.\n* **Export Layers as Textures**\n  * Creates a .png image file for each layer in the PSD file, using the same folder structure.\n* **Layout in Current Scene**\n  * Creates a Unity 4.3+ Sprite object for each layer in the PSD file.  It is laid out to match the PSD's layout and folder structure.\n* **Generate Prefab**\n  * Identical to the previous option, but it generates a .prefab file instead of putting the objects in the scene.\n\nSpecial Tags\n==========\nLayers can have special tags applied to them that flags them to have the layout tool perform special operations on them.\n\n### Group Layer Tags ###\n\n|        Tag        | Description |\n| ----------------- | ----------- |\n|  \u0026#124;Animation  |  Creates a Sprite animation using all of the children layers as frames |\n|  \u0026#124;FPS=##     |  The number of frames per second to use for a Sprite animation.  Defaults to 30 if not present  | \n|  \u0026#124;Button     |  Creates a Button object using any tagged children layers as the button states |\n\n### Art Layer Tags ###\n\n|        Tag          | Description |\n| -----------------   | ----------- |\n|  \u0026#124;Disabled     |  Represents the disabled state of a button     |\n|  \u0026#124;Highlighted  |  Represents the highlighted state of a button  | \n|  \u0026#124;Pressed      |  Represents the pressed state of a button  | \n|  \u0026#124;Default      |  Represents the default/enabled/normal/up state of a button  | \n|  \u0026#124;Enabled      |  Represents the default/enabled/normal/up state of a button  |\n|  \u0026#124;Normal       |  Represents the default/enabled/normal/up state of a button  |\n|  \u0026#124;Up           |  Represents the default/enabled/normal/up state of a button  |\n|  \u0026#124;Text         |  Represents a **texture** that is the text of a button (normal text layers import without this tag)  |\n\nPhotoshop Compatibility\n=======================\nPhotoshop's \"Smart Objects\" are not supported, and therefore must be flattened/rasterized in Photoshop before attempting to import.\n\n1. Click **Layer** in the Photoshop menu\n2. Click **Rasterize**\n3. Click **All Layers**\n\n![](screenshots/photoshop.jpg?raw=true)\n","funding_links":[],"categories":["C\\#","Open Source Repositories","Open Source Packages"],"sub_categories":["Art Tools","Utilities"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGlitchEnzo%2FUnityPSDLayoutTool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGlitchEnzo%2FUnityPSDLayoutTool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGlitchEnzo%2FUnityPSDLayoutTool/lists"}