ãUnityã2D Animationã®åºæ¬çãªä½¿ãæ¹ psd(psb)ãã¡ã¤ã«èªã¿è¾¼ã¿ããSkinning Editorã¾ã§
Unity 2021.1.0f1 Personal(2021å¹´3æ)
Unityã®2D Animationã®åºæ¬çãªä½¿ãæ¹ã«ã¤ãã¦è§£èª¬ãã¦ããã¾ãï¼
ä»åã¯psbãã¡ã¤ã«ã®ã¤ã³ãã¼ãã¨Skinning Editorã§ã®ç·¨éã¾ã§ã§ãã
psbãã¡ã¤ã«ã®ã¤ã³ãã¼ã
2D PSD Importerããã±ã¼ã¸ãããã°psbãã¡ã¤ã«ãUnityã«èªã¿è¾¼ã¿2D Animationç¨ã«ä½¿ããã¨ãã§ãã¾ãã
Unityã§Projectãæ°è¦ä½æããéã«ã2Dããã³ãã¬ã¼ããé¸æããã¨2Dç¨ä¾¿å©ããã±ã¼ã¸ãã¯ããããå
¥ã£ã¦ããã2D PSD Importerããã®ã²ã¨ã¤ã§ãã
Packageså
ã«2D PSD Importerãããã¾ãã
2D PSD Importerã¨ããååã§ããpsbãã¡ã¤ã«ã対象ã¨ãã¦ããç¹ã«ã注æãã ããã
PSBãã¡ã¤ã«ã¯psdã®æ¡å¼µåãç´æ¥ãpsbãã«å¤æ´ãããã¨ã§Unityã§èªã¿è¾¼ããã¨ãã§ãã¾ãã
ï¼iPadã®Procreateã§ä½æããpsdãã¡ã¤ã«ãèªã¿è¾¼ãã æã«ã¤ã¾ããããã¨ããã£ãã®ã§éå»è¨äºã§å
±æè´ãã¾ãããï¼
ããã§ã¯psbãã¡ã¤ã«ãProjectãã¥ã¼ã«èªã¿è¾¼ã¿ã¾ãã
åç´ã«ãã©ãã°&ããããããã ãã§èªã¿è¾¼ãã¾ãã
ã¬ã¤ã¤ã¼ãã¨ã«åããããæ
å ±ãèªã¿è¾¼ã¿
Inspectorã«è¡¨ç¤ºãããé ç®ãpngãªã©é常ã®Spriteã¨éãç¹ãããã®ã§ç´¹ä»ãã¾ãã
Import Hiddenï¼
ç»åç·¨éã½ããã§é表示ã«ããLayerãèªã¿è¾¼ã¿ã¾ãã
èæ¯ç»åãé表示ã«ããç¶æ
ã§Import Hiddenãtrueã«ããã¨ãã表示ããã¾ããã
Mosaicï¼
trueã«ããã¨psbã®ã¬ã¤ã¤ã¼åä½ã§ã¹ãã©ã¤ããã¹ã©ã¤ã¹ããã¾ãã
falseã«ããã¨1æã®ã¹ãã©ã¤ãã¨ãã¦èªèããã¾ãã
Character Rigï¼
Rigã¨ã¯ãã¼ã³ãªã©ã§ãã£ã©ã¯ã¿ã¼ã®ã¢ãã¡ã¼ã·ã§ã³ãæä½ãããã¨ã§ãã
trueã«ããã¨psbã§é
ç½®ããå ´æã«ã¹ãã©ã¤ããé
ç½®ãã¾ãã
falseã«ããã¨Skinning Editorã«ããã¦ãåãã¼ãã¯åå¥ã®Spriteã¨ãã¦æ±ãããããã§ãã
Use Layer Groupingï¼
ãã£ã©ã¯ã¿ã¼ãHierarchyä¸ã«çæããæãpsbã§è¨å®ããã¬ã¤ã¤ã¼ã°ã«ã¼ãã空ã®ã²ã¼ã ãªãã¸ã§ã¯ãã¨ãã¦ä½æãã¾ãã
trueã®æ
falseã®æ
ãªãfalseã®å ´åã§ãSkinning Editor > Visibility > Spriteã®æç¹ã§ã¯Layer Groupã表示ããã¾ãã
falseã§ãVisibilityã§ã¯è¡¨ç¤º
Skinning Editor
ããã§ã¯Skinning Editorã§Boneãªã©ã®è¨å®ããã¦ããã¾ãã
InspectorããSprite EditorãéããSkinning Editorãé¸æãã¾ãã
InspectorããSprite Editoré¸æ
ã¡ãã¥ã¼ããSkinning Editorãé¸æ
Boneä½æ
ã¾ãã¯Bone Createãé¸æãã¦Boneãä½æãã¾ãã
ä½ããä½ã£ã¦ããã¾ãã
Boneä½æ
ç¶ãã¦è¸ã¨é ã®Boneãä½æãã¾ãã
1ã¤åã«ä½æããBoneã®å
端ã¨ã¤ãªããããã«ä½æãã¾ãã
ä½ã»è¸ã»é ã®Boneä½æ
ç¶ãã¦ä½ã®Boneãé¸æããç¶æ
ã§ä¸è
ã»åè
ã»æã®Boneãä½æãã¾ãã
Boneãé¸æãããã¨ãªãé¢ããä½ç½®ããBoneãä½æãããã¨ãã§ãã¾ãã
ä¸è
ã»åè
ã»æã®Boneãä½æãä½ã¨ä¸è
ã¯èãBoneã§ç¹ãã£ã¦ãã¾ãã
åãè¦é ã§ä½ã®Boneãé¸æããç¶æ ã§ãµã¨ããã»ããã»è¶³å ã®Boneãä½æãã¾ãã
å®æ
Boneä½ç½®ã®å¾®èª¿æ´ã¯Edit Boneããè¡ãã¾ãã
Geometryä½æ
ç¶ãã¦Geometryãä½æãã¦ããã¾ãã
åBoneãåããæã«å½±é¿ããSpriteã®ç¯å²ãã¡ãã·ã¥ã§å²ãã¾ãã
ä½ãé¸æãã¦ããªãç¶æ
ã§ã¡ãã¥ã¼ã®Auto Geometryãã¿ã³ãæ¼ããå³ä¸ã«è¡¨ç¤ºãããGenerate For All Visibleãã¿ã³ãæ¼ãã¨èªåã§è¨å®ãã¦ããã¾ãã
Auto Geometryã§ãã£ããã¨Geometryãä½æããã調æ´ãã¾ãã
ã¡ãã¥ã¼ããBone Influenceãé¸æãã¾ãã
ãã®ç¶æ
ã§Spriteãããã«ã¯ãªãã¯ããã¨å³ä¸ã«Spriteã«å½±é¿ãä¸ããBoneã®ãªã¹ãã表示ããã¾ãã
è
ã¨ä½ããã¶ã£ã¦ãããªã©Spriteå士ããã¶ã£ã¦ããã¨ä½è¨ãªBoneãè¨å®ããã¦ããå ´åãå¤ãã®ã§ãã-ããã¿ã³ã§åé¤ããããã¦èª¿æ´ãã¾ãã
ä½ã®Spriteã«7ã¤ãBoneãè¨å®ããã¦ããã®ã§
ä½ã»è¸ã»é ã®3ã¤ã«æ¸ãã
ããã¾ã§è¨å®ãããåBoneãæ´ãã§ä½ç½®ãè§åº¦ãåãããã¨ã§ã¢ãã¡ã¼ã·ã§ã³ã確èªãããã¨ãã§ãã¾ãã
ã¡ãã¥ã¼ã®Preview Poseãã¿ã³ãæ¼ãã¨ç¢ºèªãããããªãã¾ãã
AutoGeometryã§Geometryãä½æããæã«ãBoneãåãããæã®Spriteã¸ã®å½±é¿åº¦åãã§ããWeightã®ä½æãèªåçã«ããã¾ãããWeightãåå¥ã«èª¿æ´ããããã¨ã§ããèªç¶ãªã¢ãã¡ã¼ã·ã§ã³ãä½æãããã¨ãã§ãã¾ãã
ä»åã¯ä»¥ä¸ã¨ãªãã¾ãã
ãããã¨ããããã¾ããããï¼つづきï¼