## 그것이 하는 일들
게임 개발(Unity, Godot 등)을 위해 **한 레이어 폴더**를 **압축적이고 투명한 PNG**로 내보내는 기능입니다.
녹화된 동작:
1. 다른 모든 레이어를 숨기기 (솔로 뷰)
2. 현재 레이어에서 선택 생성
3. 크롭 캔버스에서 선택으로
4. PNG 내보내기(알파 채널)
5. 다른 계층의 가시성 복원
## 사용 방법
1. 레이어 팔레트에서 대상 레이어 폴더를 선택합니다.
![]()
2. **자동 행동** 팔레트를 열어 재생→ **폴더를 PNG로 내보내기**.
3. 내보내기 대화상자에서 저장 경로와 파일명을 선택하세요.
4. **중요:** 내보내기 후 **Ctrl+Z (실행 취소) 한 번 누르면 원래 캔버스 크기를 복원하세요. 이 액션은 수출 시 캔버스를 자르며; 되돌리면 층을 잃지 않고 다시 돌아옵니다.
## 팁
- 한 번에 한 폴더씩 내보내기. 고정된 파일명을 사용하면 Unity에서 동일한 PNG를 덮어쓸 수 있습니다 — 참조는 그대로 유지됩니다.
- 내보내기 설정 대화상자가 뜨면 **알파 채널 내보내기**를 체크해 두세요.
- CSP PRO/EX에 관한 작업. 선택 기반 내보내기(크롭 제외)는 EX 전용이며; 이 동작은 대신 크롭 + 수동 실행 취소를 사용합니다.
## 알려진 한계
- 되돌리는 자동 행동에 기록되지 않습니다 — 각 내보내기마다 수동으로 크롭을 되돌려야 합니다.
- 취소하기 전에 .clip 파일을 저장하지 마세요. 그렇지 않으면 잘린 캔버스가 저장됩니다.
---
## 日本語 / 中文(简要)
**使い方:** 폴더를 선택 → 再生 → PNG保存 → **Ctrl+Z에서 캐ン버스복원**
**用法:** 选中폴더 → 播放 → 保存 PNG → **Ctrl+Z 恢复画布尺寸**
## What it does
Exports **one layer folder** as a **tight, transparent PNG** for game development (Unity, Godot, etc.).
Recorded steps:
1. Hide all other layers (solo view)
2. Create selection from current layer
3. Crop canvas to selection
4. Export as PNG (alpha channel)
5. Restore other layers' visibility
## How to use
1. Select the target layer folder in the Layer palette.
![]()
2. Open **Auto Action** palette → play **Export Folder to PNG**.
3. In the export dialog, choose save path and filename.
4. **Important:** After export, press **Ctrl+Z (Undo) once** to restore your original canvas size. The action crops the canvas during export; Undo brings it back without losing any layers.
## Tips
- Export one folder at a time. Fixed filenames let you overwrite the same PNG in Unity — references stay intact.
- If an export settings dialog appears, keep **Export alpha channel** checked.
- Works on CSP PRO/EX. Selection-based export (without crop) is EX-only; this action uses Crop + manual Undo instead.
## Known limitations
- Undo is not recorded in Auto Actions — you must undo the crop manually after each export.
- Do not save the .clip file before undoing, or you'll save the cropped canvas.
---
## 日本語 / 中文(简要)
**使い方:** フォルダを選択 → 再生 → PNG保存 → **Ctrl+Zでキャンバス復元**
**用法:** 选中文件夹 → 播放 → 保存 PNG → **Ctrl+Z 恢复画布尺寸**