UnityãšZEPETO Studioãžã®ãšã¯ã¹ããŒã
å¿ èŠãªUnityãã¡ã€ã«ã3Dã¢ãã«äœæã®æºå ã»ã¯ã·ã§ã³ããååŸããŠãã ããããããžã§ã¯ã/Unity管çã·ã¹ãã ãšããŠUnity Hubã䜿çšããããšããå§ãããŸãã
ãŸããUnityãéãå¿ èŠããããŸããUnity Hubãèµ·åããéããã¿ã³ã䜿çšããŠZEPETO Studioãããžã§ã¯ããã©ã«ããŒãéããŸããUnityãããžã§ã¯ãã¯ãã¡ã€ã«ã§ã¯ãªããäžé£ã®ãã©ã«ããŒã«å«ãŸããŠããããšãèŠããŠãããŠãã ããã Unityãããžã§ã¯ããéããç¶æ ã§: ããã©ã«ãã®ã¬ã€ã¢ãŠãã®ç°¡åãªãã¢ãŒãäžå€®ã«ã¯3Dã·ãŒã³ãã¥ãŒããããŸããããã§å€ãã®ç·šéãè¡ãããŸããå·ŠåŽã®ããŒã«ããŒã«ã¯éå±€ããããŸãããã®éå±€ã«ã¯ã·ãŒã³å ã®ãã¹ãŠã®ã³ã³ãã³ãã®ãªã¹ããå«ãŸããŠããŸãããã®äžã«ã¯ãããžã§ã¯ãããŒã«ããŒããããŸãããããžã§ã¯ãããŒã«ããŒã«ã¯ãUnityãããžã§ã¯ãå ã®ãã¹ãŠã®ãã¡ã€ã«ãå«ãŸããŠããŸãããã¡ã€ã«ã¯ãã°ãã°ãã®å Žæã«ã€ã³ããŒããããŸããå³åŽã«ã¯ã€ã³ã¹ãã¯ã¿ãŒããããéžæãããUnityãªããžã§ã¯ãã®ããããã£ã衚瀺ãããŸãããã®ããã«ã¯ãã¢ã€ãã ã®ãã¹ãã調æŽæã«æã圹ç«ã¡ãŸããã·ãŒã³ãã¥ãŒã®äžã«ã¯ãã²ãŒã ããšæžãããã¿ãããããŸããããã¯ãUnityã·ãŒã³å ã®ã«ã¡ã©ã®èŠç¹ã衚瀺ããã²ãŒã ãã¥ãŒã®ããã«çšã®ã¿ãã§ããUnityã®ã©ã³ã¿ã€ã ã¢ãŒãã§ã¢ã€ãã ããã¹ãããéã«ã¯ããããŒã®æ£é¢å šäœã®ãã¥ãŒãããã«è¡šç€ºãããäœåã¿ã€ãã®è¿œå ãã¿ã³ããããŸãã
Unityã®ãã¥ãŒããŒãã®ããã²ãŒã·ã§ã³æ¹æ³ã¯Blenderãšã»ãŒåãã§ãããããã€ãã®éãããããŸããAlt + å·Šã¯ãªãã¯ã§ã«ã¡ã©ãå転ãããŸããäžãã¿ã³ã¯ãªãã¯ã§ãã¥ãŒããã³ããã¹ã¯ããŒã«ãã€ãŒã«ã§ã«ã¡ã©ããºãŒã ããŸããã¹ã¯ããŒã«ãã€ãŒã«ã䜿ããã«ãºãŒã ããã«ã¯ãAlt + å³ã¯ãªãã¯ã䜿çšããŸããéžæãããªããžã§ã¯ãã«ãã©ãŒã«ã¹ããã«ã¯ããFãããŒã䜿çšããŠããã©ãŒã«ã¹ãããŸãã
Assetsãã©ã«ããŒã«ã¢ã€ãã çšã®ãã©ã«ããŒãäœæããŸãããã®æ°ãããã©ã«ããŒã«ãã¢ã€ãã ã®FBXãã¡ã€ã«ãšãã®ãã¡ã€ã«ã«é¢é£ããPNGãã¯ã¹ãã£ãã¡ã€ã«ãè¿œå ããŸãããã¡ã€ã«ãUnityã®ãã©ã«ããŒã«ãã©ãã°ã¢ã³ãããããã§ããŸãã
ã¢ã€ãã ã«PNGãã¯ã¹ãã£ãã¡ã€ã«ãååŸããã«ã¯ãUnityãããªã¢ã«ã«å²ãåœãŠãå¿ èŠããããŸãããããžã§ã¯ããŠã£ã³ããŠã®å·Šäžé ã«ãããã©ã¹ãã¿ã³ã§æ°ãããããªã¢ã«ãäœæããããå³ã¯ãªãã¯ã®ã³ã³ããã¹ãã¡ãã¥ãŒã䜿çšããŠCreate > Materialã«ç§»åããŸãã
æŽçãšæ確åã®ããã«ããã®ãããªã¢ã«ã«ã¢ã€ãã ã®ååã«å¯Ÿå¿ããååãä»ããŸãããã®ãããªã¢ã«ã®ã·ã§ãŒããŒã¢ãã«ãUnity Standardã·ã§ãŒããŒããZEPETOã·ã§ãŒããŒã®ããããã«å€æŽããå¿ èŠããããŸããããã¯ãã€ã³ã¹ãã¯ã¿ãŒã®ãããªã¢ã«åã®äžã«ããã·ã§ãŒããŒããããããŠã³ã¡ãã¥ãŒããè¡ããŸããã»ãšãã©ã®ã¢ã€ãã ã«ã¯ãZEPETO Standardã·ã§ãŒããŒãæšå¥šãããŸãã
ð§ ZEPETOã·ã§ãŒããŒã¿ããŸãã¯ã«ã¹ã¿ã ã·ã§ãŒããŒã¢ãã€ã³ãéããŠæäŸãããŠããªãã·ã§ãŒããŒã¯å ¬åŒã«ãµããŒããããŠããããã¢ããªã§åäœããªãå ŽåããããŸãã
ãããªã¢ã«ãäœæãããã·ã§ãŒããŒãå²ãåœãŠããããããã¯ã¹ãã£ãã¡ã€ã«ããããªã¢ã«ã®é©åãªã¹ãããã«è¿œå ããŸããæšæºã®ãããªã¢ã«ã«ã¯ãè²ãšæ³ç·ããŒã¿ã®ãã¯ã¹ãã£ã¹ãããããããŸãã
ã¢ã€ãã ã®fbxãã¡ã€ã«ãéžæããã€ã³ã¹ãã¯ã¿ãŒã®ãMaterialãã¿ãã«ç§»åããŠãããªã¢ã«ãã¢ã€ãã ã«å²ãåœãŠãŸãã
Unityã®ãããªã¢ã«ãã¢ã€ãã ã®ãããªã¢ã«ã¹ãããã«ãã©ãã°ã¢ã³ãããããããŸãããã¹ã¯ã®ã©ããŒããããªã¢ã«ãå€æŽããªãã§ãã ãããé©çšãã¿ã³ãæŒããšãfbxãµã ãã€ã«ãæŽæ°ãããæ°ãããããªã¢ã«ã§ã¢ã€ãã ããã¬ãã¥ãŒããããã«ãªããŸãã
ãããªã¢ã«ã®ã€ã³ããŒããšèšå®ãå®äºããããã¢ã€ãã ãZEPETOã¹ã¿ã€ã«ã®ãã¬ããã«å€æããå¿ èŠããããŸãããã¬ããã¯Unityã®ãã³ãã¬ãŒããã¡ã€ã«ã§ããã¬ãããªããžã§ã¯ãã«é¢ããé¢é£ããŒã¿ãä¿åããããã«äœ¿çšãããŸããã¢ã€ãã ãå€æããã«ã¯ãfbxãã¡ã€ã«ãéžæããŠå³ã¯ãªãã¯ããŸããå³ã¯ãªãã¯ã¡ãã¥ãŒã§ãZEPETO Studio > Convert to Zepeto Styleã«é²ã¿ãŸããUnityã¯fbxãã¡ã€ã«ãå€æããã®ã«å°ãæéãããããŸãã
ãã¬ãããã¡ã€ã«ãäœæãããªãå Žåãfbxãã¡ã€ã«ã®å 容ã«ãšã©ãŒãããå¯èœæ§ããããŸããUnityç»é¢ã®å·Šäžé ãŸãã¯ã³ã³ãœãŒã«ã§ã³ã³ãœãŒã«ã¡ãã»ãŒãžã確èªããŠãã ãããç¹å®ã®ãšã©ãŒã§ã¯ãã·ãŒã³ã«æ°ããã¢ãã«ãªããžã§ã¯ãã衚瀺ãããããšããããŸãã ãã®ãšã©ãŒãåŒãèµ·ããäžè¬çãªåé¡ã¯æ¬¡ã®ãšããã§ãïŒ
- ãã¹ã¯ãªããžã§ã¯ããã¢ãŒããã¥ã¢ãã解é€ãããŠããªãã£ã
- ãã¹ã¯ãªããžã§ã¯ãã«ãããªã¢ã«ãä»ããŠãã
- ã¢ã€ãã ãããã¹ã¯ããšãåŒã°ããŠãã
äžèšã®åé¡ã解決ããã«ã¯ãBlenderã§å€æŽãå ããfbxãã¡ã€ã«ãåãšã¯ã¹ããŒãããUnityã«åã€ã³ããŒãããŸãã
ZEPETOã¹ã¿ãžãªã«ãšã¯ã¹ããŒãããŠã¢ããããŒãããåã«ãUnityã§ã¢ã€ãã ããã¹ãããããšã¯è¯ãããšã§ããããã¯ãZEPETO Studio Unityãããžã§ã¯ãã§æäŸããããã¬ã€ã°ã©ãŠã³ãã·ãŒã³ã§è¡ãããŸãããã¬ã€ã°ã©ãŠã³ãã®Unityã·ãŒã³ãèŠã€ããŠéããŸããã·ãŒã³ãèªã¿èŸŒãŸããããUnityãšãã£ã¿ãŠã£ã³ããŠã®äžéšã«ããåçãã¿ã³ãã¯ãªãã¯ããŠåçã¢ãŒãã«å ¥ããŸããã²ãŒã ããã«ãæŽæ°ãããŠåé¢ã«ç§»åããããã©ã«ãã®ã¢ãã¿ãŒã衚瀺ãããŸããåçãŠã£ã³ããŠã®å³åŽã®ãã¿ã³ã¯ãããã©ã«ãã®äœã®å€åœ¢ã¿ã€ãã®å°ããªã»ããéã§åãæ¿ããããã«äœ¿çšãããŸãã
ã¢ã€ãã ããã¹ãããã«ã¯ãã¢ãã¿ãŒã«åãä»ããå¿ èŠããããŸãããããè¡ãã«ã¯ããŸãLOADERã³ã³ããŒãã³ããéžæããŸããLOADERã³ã³ããŒãã³ãã®ã€ã³ã¹ãã¯ã¿ãŒããã«ã®äžéšã«ãã¢ã€ãã ã¿ã€ãã®ãªã¹ãããããŸãããã¹ãããã¢ã€ãã ã®ã¢ã€ãã ã¿ã€ãã«å¯Ÿå¿ããã¢ã€ãã ã«ããŽãªãèŠã€ãããã®ã«ããŽãªãã¢ã¯ãã£ãã«ããããã«ãã§ãã¯ããã¯ã¹ããªã³ã«ããŸãã次ã«ããã¹ãã¢ã€ãã ããã®ã¹ãããã«ãã©ãã°ã¢ã³ãããããããŸããã¢ã€ãã ãã¢ãã¿ãŒã«åãä»ããããŸãã
ã¢ã€ãã ãèªã¿èŸŒãŸããããã¢ã€ãã ãšã¢ãã¿ãŒã«ãšã©ãŒããªãã確èªããŸããã¢ãã¿ãŒã®ããè¯ãèŠç¹ãåŸãããã«ããšãã£ã¿ã¿ãã«åãæ¿ããŸãããšãã£ã¿ã¿ãã§ã¯ãã«ã¡ã©ã®èªç±ãªåããèš±å¯ãããã¹ãŠã®è§åºŠãããšã©ãŒã確èªã§ããŸãããã¹ãã³ã°ãšã©ãŒãæ³ç·ãšã©ãŒã¯ãã¡ãã·ã¥ãããŒã¹ã¢ãã¿ãŒã«ã®ã£ãããçŸãããããæãæ©ãèŠã€ããããšãã§ããŸããéå±€å ã§ã¯ãã¢ãã¿ãŒã®ã¹ã±ã«ãã³ã«ã¢ã¯ã»ã¹ããŠãUnityã§ããã€ãã®æ²ããããŒãºããã¹ãããããšãå¯èœã§ãããŠã§ã€ããã€ã³ãã£ã³ã°ãé©çšãããæ£ãã転éãããããšã確èªããã®ã«åœ¹ç«ã¡ãŸãã
ãã¹ããå®äºããããã¢ã€ãã ããã¡ã€ã«ã«ããã¯ããŠ.zepetoãã¡ã€ã«ãšããŠãšã¯ã¹ããŒãã§ããŸãã.zepetoãã¡ã€ã«ã¯ã¢ã€ãã ã«é¢ãããã¹ãŠã®ããŒã¿ãå«ããã¡ã€ã«ã§ãããZEPETO Studioã«ã¢ããããŒãããããã®ã§ããUnityãåçã¢ãŒãã®éã¯å€æããã»ã¹ãå®è¡ã§ãããåçã¢ãŒãã§å€æãè©Šã¿ããšãšã©ãŒãçºçããŸãã ã¢ã€ãã ãå€æããã«ã¯ããŸããããžã§ã¯ããã©ã«ãå ã®ZEPETOã¹ã¿ã€ã«ã®ãã¬ãããã¡ã€ã«ãéžæããŸãã次ã«ããã¡ã€ã«ãå³ã¯ãªãã¯ããZEPETO Studio > Export as .zepetoã«ç§»åããŸãã
Unityãå€æŽãä¿åãããã©ãããå°ããå ŽåããããŸããå€æŽãä¿åãããªãå Žåãæåã§ã·ãŒã³ããŒã¿ãç Žæ£ããå¿ èŠããããããããŸãããå€æããã»ã¹ãå®äºãããŸã§ã«æ°åãããããšããããŸãïŒ å€æããã»ã¹ãå®äºãããšãæ°ãããã¡ã€ã«ã衚瀺ãããŸããããã¯ZEPETOã¹ã¿ã€ã«ã®ãã¬ãããšåãååã§ããã.zepetoãã¡ã€ã«æ¡åŒµåãä»ããŠããŸãããã®ãã¡ã€ã«ã¯ZEPETO Studioã«ã¢ããããŒãã§ããŸãïŒ