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:
1 parent
2de153d8fe
commit
5f5892047c
4 files changed
+214
-11
No files matched your search
@@ -132,6 +132,7 @@ public class PoseMenu : MonoBehaviour
|
||||
icon.sprite = p ? p.Icon : null;
|
||||
icon.preserveAspect = true;
|
||||
icon.enabled = icon.sprite; // no icon authored -> no solid white square
|
||||
icon.rectTransform.localScale = Vector3.one * (p ? p.IconScale : 1f);
|
||||
}
|
||||
TMP_Text label = item.GetComponentInChildren<TMP_Text>(true);
|
||||
if (label) label.text = p && !string.IsNullOrEmpty(p.Title) ? p.Title : (p ? p.name : "");
|
||||
|
||||
Reference in new issue
Block a user