Bake paint HUD layout into a prefab with separate channel panels
Split the single HUD panel into four independent per-channel sub-panels plus a global brush-size panel, each a standalone RectTransform with its own header (drag-handle ready). PaintHud now binds to a baked layout prefab via recursive name lookup instead of building everything in code, with a code-gen fallback. HsvColorPicker gains Rebind() to re-apply the procedural gradient sprites and drag relays that a prefab cannot serialize. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
4340970691
commit
ace1f949dc
5 files changed
+7484
-115
No files matched your search
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 46a54f2f3e4ec1f449e91a96c7dbb6b8
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in new issue
Block a user