Add pose icon capture pipeline, icon scale, Esc/Tab opens overview in paint mode

- PoseIconStage: permanent editor capture pipeline (context menu 'Capture All Icons') — renders each entry at 4096x4096, alpha-crops, writes Icon_pose_*.png and wires sprites onto matching PlayerPose assets
- PlayerPose: new iconScale property (0.1-2), applied to the icon child in PoseMenu's radial layout
- OverviewMenu: paint-mode special-case removed — Esc/Tab opens the overview menu in every mode

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Fable 5 committed 2026-07-12 21:08:56 +02:00
1 parent 2de153d8fe
commit 5f5892047c
4 files changed
+214 -11

No files matched your search

@@ -15,6 +15,11 @@ public class PlayerPose : ScriptableObject
[Tooltip("Display name shown for this pose in the pose selection menu.")]
[SerializeField] private string title;
[Tooltip("Scale multiplier applied to the icon in the pose selection menu. 1 = fills the button's " +
"icon area (aspect preserved).")]
[Range(0.1f, 2f)]
[SerializeField] private float iconScale = 1f;
[Tooltip("Clip held while the player is idle in this pose (looped if the clip itself loops, " +
"otherwise frozen on its last frame). Authored for the paintman generic rig; clips for " +
"other hierarchies will not retarget.")]
@@ -77,6 +82,7 @@ public class PlayerPose : ScriptableObject
// Read-only accessors; semantics are documented on the serialized fields' tooltips above.
public Sprite Icon => icon;
public string Title => title;
public float IconScale => iconScale;
public AnimationClip Clip => clip;
public float ClipSpeed => clipSpeed;
public AnimationClip WalkClip => walkClip;