Unity¤Ë´ØÏ¢¤¹¤ëµ­»ö¤Ç¤¹

¡¡Sprite Atlas(¥¹¥×¥é¥¤¥È ¥¢¥È¥é¥¹) ¤Ï Unity ¤Îɸ½àµ¡Ç½¤Î£±¤Ä¤Ç¤¹¡£
Ê£¿ô¤Î²èÁü¤ò£±¤Ä¤Ë¤Þ¤È¤á¤Æ(¥Ñ¥Ã¥¯¤·¤Æ)¤ª¤¯¤³¤È¤Ç¡¢²èÌ̤ÎÉÁ²è²ó¿ô¤ò¸º¤é¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¡¡¤³¤ì¤Ë¤è¤ê¡¢ÉÁ²è¤Î½èÍý¤ÎÉé²Ù¤ò·Ú¸º¤¹¤ëÌÜŪ¤¬¤¢¤ê¤Þ¤¹¡£

Unity ¸ø¼°¥Þ¥Ë¥å¥¢¥ë
¥¹¥×¥é¥¤¥È¥¢¥È¥é¥¹



¥¢¥È¥é¥¹²½¤Î¼ê½ç

£±¡¥Sprite Atlas ¤ÎºîÀ®


¡¡Project Æâ¤ÎǤ°Õ¤Î¥Õ¥©¥ë¥ÀÆâ¤Ç±¦¥¯¥ê¥Ã¥¯¤ò¹Ô¤¤¡¢Create¡¡¢ª¡¡2D¡¡¢ª¡¡Sprite Atlas ¤òÁªÂò¤·¤Þ¤¹¡£
Assets ľ²¼¤ÇºîÀ®¤·¤Æ°ÜÆ°¤¹¤ë¤³¤È¤â½ÐÍè¤Þ¤¹¡£





¡¡¿·¤·¤¯ Sprite Atlas ¥¢¥»¥Ã¥È¥Õ¥¡¥¤¥ë¤¬ºîÀ®¤µ¤ì¤Þ¤¹¤Î¤Ç¡¢Ì¾Á°¤òÊѹ¹¤·¤Þ¤¹¡£
¤ï¤«¤ê¤ä¤¹¤¤Ì¾Á°¤Ë¤·¤Æ¤ª¤¯¤È¤è¤¤¤Ç¤·¤ç¤¦¡£





£²¡¥²èÁü(Sprite)¥Õ¥¡¥¤¥ë¤ò Sprite Atlas ¤ËÄɲÃ(¥Ñ¥Ã¥¯)¤·¤Æ¥¢¥È¥é¥¹²½¤¹¤ë


¡¡²èÁü(Sprite)¥Õ¥¡¥¤¥ë¤ò Sprite Atlas ¤ËÄɲ乤ë¤Ë¤Ï¡¢¤Þ¤ººÇ½é¤Ë Sprite Atlas ¤òÁªÂò¤·¤Þ¤¹¡£
¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¥¦¥£¥ó¥É¥¦¤Î [Objects for Packing] ¥»¥¯¥·¥ç¥óÆâ¤Î±¦²¼¤Ë¤¢¤ë¡Ö+¡×¥Ü¥¿¥ó¤ò¥¯¥ê¥Ã¥¯¤·¡¢
²èÁü¥Õ¥¡¥¤¥ë¤«¡¢²èÁü¥Õ¥¡¥¤¥ë¤ò´ÉÍý¤·¤Æ¤¤¤ë¥Õ¥©¥ë¥À¤òÁªÂò¤·¤Þ¤¹¡£
ÁªÂò¤Ç¤­¤ë¥Õ¥¡¥¤¥ë¤Ï Texture Type ¤¬¡ÖSprite¡Ê2D and UI¡Ë¡×¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë²èÁü¥Õ¥¡¥¤¥ë¤Î¤ß¤Ç¤¹¡£





¡¡É½¼¨¤µ¤ì¤¿Íó¤Ë²èÁü¥Õ¥¡¥¤¥ë¤«¡¢²èÁü¥Õ¥¡¥¤¥ë¤ò´ÉÍý¤·¤Æ¤¤¤ë¥Õ¥©¥ë¥À¤ò¥É¥é¥Ã¥°¥¢¥ó¥É¥É¥í¥Ã¥×¤·¤ÆÄɲ乤뤳¤È¤â½ÐÍè¤Þ¤¹¡£
Ʊ¤¸¥Ñ¥Ã¥­¥ó¥°¥¿¥°¤ò»ý¤Ä¥¹¥×¥é¥¤¥È¤¬¼«Æ°Åª¤Ë¸¡½Ð¤µ¤ì¡¢¥¢¥È¥é¥¹¤ËÄɲ䵤ì¤Þ¤¹¡£¤³¤ì¤ò¥Ñ¥Ã¥¯¤¹¤ë¡¢¤È¸Æ¤Ó¤Þ¤¹¡£

¡¡¥Õ¥©¥ë¥ÀÄɲ乤뤳¤È¤â½ÐÍè¤Þ¤¹¤Î¤Ç¡¢²èÁü¥Õ¥¡¥¤¥ë¤ò£±¤Ä£±¤ÄÄɲ䷤Ƥ¤¤¯¤è¤ê¤Ï¡¢¥Õ¥©¥ë¥À¤´¤È¤Þ¤È¤á¤ÆÄɲ乤ë¤è¤¦¤Ë¤·¤Þ¤·¤ç¤¦¡£
¥Õ¥©¥ë¥À¤òÄɲä·¤¿¾ì¹ç¡¢¤½¤Î¥Õ¥©¥ë¥À¤Ë´Þ¤Þ¤ì¤ë²èÁüÁ´¤Æ¤¬¥¢¥È¥é¥¹²½¤ÎÂоݤˤʤê¤Þ¤¹¡£

¡¡¡Ö+¡×¥Ü¥¿¥ó¤ò²¡¤¹¤³¤È¤Ç¡¢Ê£¿ô¤Î²èÁü¥Õ¥¡¥¤¥ë¤ä²èÁü¥Õ¥¡¥¤¥ë¤ÎÆþ¤Ã¤Æ¤¤¤ë¥Õ¥©¥ë¥À¤ò½ç¼¡Äɲ䷤Ƥ¤¤¯¤³¤È¤¬²Äǽ¤Ç¤¹¡£


¥Õ¥©¥ë¥À¤ÇÄɲä·¤¿¾ì¹ç




¡¡É¬ÍפʲèÁü¥Õ¥¡¥¤¥ë¤òÄɲä·½ª¤¨¤¿¤é¡¢¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¤Îº¸²¼¤Ë¤¢¤ë¡ÖPack Preview¡×¥Ü¥¿¥ó¤ò²¡¤·¤Þ¤¹¡£
¤³¤ì¤Ç¥¹¥×¥é¥¤¥È¥¢¥È¥é¥¹¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£¤³¤ì¤ò¥¢¥È¥é¥¹²½¤¹¤ë¡¢¤È¤¤¤¤¤Þ¤¹¡£

¡¡¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¤Ç¤Ï¡¢¤É¤Î¤è¤¦¤Ê¾õÂ֤DzèÁü¤¬¤Þ¤È¤á¤é¤ì¤¿¤«É½¼¨¤µ¤ì¤Þ¤¹¡£¡¡


»²¹Í²èÁü




¡¡¤³¤Î¤È¤­¡¢²èÁü¤¬Æþ¤êÀÚ¤é¤Ê¤¤¤È¤­¤Ï¥×¥ì¥Ó¥å¡¼¤Î²èÁü¤¬¼«Æ°Åª¤ËÊ£¿ôËç¤Ë¤Ê¤ê¤Þ¤¹¡£
£±¤Ä¤Î Sprite Altas ¤Ë²èÁü¤òÆþ¤ë¤è¤¦¤Ë¤Þ¤È¤á¤¿¤¤¾ì¹ç¤Ï¡¢¼¡¤ÎÀßÄêÉôʬ¤ÇÄ´À°¤·¤Þ¤¹¡£


£³¡¥Sprite Atlas ¤ÎÀßÄê


¡¡Show Platform Setting For ¤ÎÉôʬ¤Ç¡¢³Æ¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤´¤È¤ÎÀßÄê¤ò¹Ô¤¨¤Þ¤¹¡£

¡¡½é´ü¤Ç¤Ï Default ¤Î¥¿¥Ö¤¬ÁªÂò¤µ¤ì¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢¸½ºß¼«Ê¬¤ÎÁªÂò¤·¤Æ¤¤¤ë¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Î¥¿¥Ö¤òÁªÂò¤·¤Þ¤¹¡£
Î㤨¤Ð¡¢Android ¤Ç¤¢¤ì¤Ð¡¢Android ¥¿¥Ö¤òÁªÂò¤·¤Þ¤¹¡£


Default ¥¿¥Ö




¡¡Default °Ê³°¤Î³Æ¥×¥é¥Ã¥È¥Õ¥©¡¼¥àÆâ¤Ë¤Ï Override ¤Î¥Á¥§¥Ã¥¯¥Ü¥Ã¥¯¥¹¤¬¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢
¤³¤Î¥Á¥§¥Ã¥¯¤òÆþ¤ì¤ë¤È¡¢Default ¤Î¾ðÊó¤ò¾å½ñ¤­¤·¤Æ¡¢¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤´¤È¤Ë°Û¤Ê¤ëÀßÄê¤òŬÍѤ¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£





¡¡Max Texture Size ¤Ç¥¢¥È¥é¥¹¤ÎºÇÂ祵¥¤¥º¤òÊѹ¹¤Ç¤­¤Þ¤¹¡£
¤â¤·¤â¥¢¥È¥é¥¹²½¤·¤Æ£±¤Ä¤Î¥¢¥È¥é¥¹¤Ë¼ý¤Þ¤ê¤­¤é¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢¤³¤ÎÉôʬ¤Ç¥¢¥È¥é¥¹²½¤Ç¤­¤ëºÇÂ祵¥¤¥º¤òÂ礭¤¯¤¹¤ë¤«¡¢´Þ¤á¤ë²èÁü¼«ÂΤò¸º¤é¤·¤ÆÂбþ¤·¤Þ¤¹¡£

¡¡ºÇÂ祵¥¤¥º¤òÂ礭¤¯¤·¤¹¤®¤ë¤È¶õÇòÉôʬ¤¬Áý¤¨¤Æ¤·¤Þ¤¤¡¢¤½¤Îʬ¤À¤±¥Õ¥¡¥¤¥ëÍÆÎ̤¬Áý¤¨¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¤Î¤Ç¡¢
¥¢¥È¥é¥¹²½¤·¤Æ¤¤¤ë²èÁü¤Ë±þ¤¸¤Æ¥¢¥È¥é¥¹¤Î¥µ¥¤¥º¤òÄ´À°¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£

¡¡Format ¤Ç¤Ï Automatic °Ê³°¤Ë¤¹¤ë¤³¤È¤Ç¡¢²èÁü¤ò°µ½Ì¤·¤ÆÍøÍѤ¹¤ëÀßÄ꤬¹Ô¤¨¤Þ¤¹¡£
¥¹¥Þ¥Û¸þ¤±³«È¯¤Ç¤¢¤ì¤Ð iOS ¤Î¾ì¹ç¤Ï ASTC¡¢Android ¤Î¾ì¹ç¤Ï ASTC ¤«¡¢ETC2 ¤òÁª¤ó¤Ç¤ª¤¯¤È¤è¤¤¤Ç¤·¤ç¤¦¡£


»²¹Í²èÁü(²èÁü¤òÁý¤ä¤·¡¢Format ¤òÊѹ¹)



»²¹Í¥µ¥¤¥È
Unity ¸ø¼°¥Þ¥Ë¥å¥¢¥ë
¿ä¾©¡¢¥Ç¥Õ¥©¥ë¥È¡¢¤ª¤è¤Ó¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¥Æ¥¯¥¹¥Á¥ã·Á¼° (¥×¥é¥Ã¥È¥Õ¥©¡¼¥àÊÌ)
¤¯¤â¤Î¤¹ ÍÍ
¡ÚUnity¡ÛTextureÀßÄê ºÇŬ²½ ¤È¤ê¤¢¤¨¤º ¤³¤¦¤·¤Æ¤ª¤±¤ÐÂç¾æÉ×


£´¡¥Ãí°ÕÅÀ


¡¡Canvas ÍÑ(UI) ¤ËÍøÍѤ¹¤ë²èÁü(Sprite)¥Õ¥¡¥¤¥ë¤È¡¢¥·¡¼¥óÆâ¤ÇÍøÍѤ¹¤ë²èÁü(Sprite)¥Õ¥¡¥¤¥ë¤Ï¡¢ÊÌ¡¹¤Î Sprite Atlas ¤òºîÀ®¤·¤Æ´ÉÍý¤¹¤ë¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£
Íýͳ¤Ç¤¹¤¬¡¢Sprite Atlas ÀßÄê¤Ë¤¢¤ë¡ÖAllow Rotation¡×¤È¡ÖTigh Packing¡×¤Ë¤Ä¤¤¤Æ¤Ï¡¢UI ¤Ç¤Ï̵¸ú²½¤µ¤ì¤Þ¤¹¡£
¤½¤Î¤¿¤á¡¢¤³¤ÎÀßÄê¤òÍøÍѤǤ­¤ë¤Î¤Ï Sprite Renderer ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î¤ß¤È¤Ê¤ê¤Þ¤¹¡£

¡¡£±¤Ä¤Î Sprite Atlas ¤Ë¤¹¤Ù¤Æ¤Î²èÁü(Sprite)¥Õ¥¡¥¤¥ë¤ò¤Þ¤È¤á¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¤¬¡¢
¤³¤ÎÀßÄê¤Ë¤è¤ê¡¢Canvas ¤ÇÍøÍѤ¹¤ë UI ÍѤβèÁü(Sprite)¥Õ¥¡¥¤¥ë¤¬°Õ¿Þ¤·¤¿¤è¤¦¤Ë¾å¼ê¤¯É½¼¨¤µ¤ì¤Ê¤¤²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£



¡¡¤Þ¤¿ Resources ¥Õ¥©¥ë¥ÀÆâ¤Ë¤¢¤ë¥Õ¥¡¥¤¥ë¤Ï¡¢ÍøÍÑ̵ͭ¤Ë¤«¤«¤ï¤é¤º¥Ó¥ë¥É¤ÎÂоݤȤʤê¤Þ¤¹¡£
¤½¤Î¤¿¤á¡¢Sprite Atlas ¤Ë¥Ñ¥Ã¥¯¤·¤¿²èÁü¥Õ¥¡¥¤¥ë¤Ï Resources ¥Õ¥©¥ë¥À²¼¤Ë¤ÏÇÛÃÖ¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

¡¡Ê£¿ô¤Î Resources ¥Õ¥©¥ë¥À¤¬¤¢¤ë¾ì¹ç¡¢¤½¤ì¤é¤Ï¤¹¤Ù¤Æ¥Ó¥ë¥É¤ÎÂоݤˤʤê¤Þ¤¹¡£
¥¢¥»¥Ã¥È¤Î¥µ¥ó¥×¥ë¤Ê¤É¤Ë¤Ï Resources ¥Õ¥©¥ë¥À¤ò´Þ¤à¤â¤Î¤â¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢Ãí°Õ¤·¤Þ¤·¤ç¤¦¡£


£µ¡¥¥¢¥È¥é¥¹²½¤·¤¿²èÁü¤òÍøÍѤ¹¤ë


¡¡¤¤¤Ä¤âÄ̤ê SpriteRenderer ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ä Image ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ë¡¢É½¼¨¤·¤¿¤¤²èÁü¥Õ¥¡¥¤¥ë¡Ê¥¢¥È¥é¥¹²½¤µ¤ì¤ëÁ°¤Î¤â¤Î¡Ë¤ò¥¢¥µ¥¤¥ó¤·¤ÆÍøÍѤ·¤Þ¤¹¡£
ÆÃÊ̤ÊÀßÄê¤ÏÉÔÍפǡ¢ÁªÂò¤µ¤ì¤Æ¤¤¤ë²èÁü¥Õ¥¡¥¤¥ë¤¬ Sprite Atlas ¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ì¤Ð¡¢¼«Æ°Åª¤Ë¥¢¥È¥é¥¹²½¤µ¤ì¤Æ¤¤¤ë¾ðÊ󤫤éÀÚ¤ê½Ð¤µ¤ì¤ÆÍøÍѤµ¤ì¤Þ¤¹¡£



»²¹Í¥µ¥¤¥È
JoyPlot ÍÍ
Unity Ê£¿ô¤Î¥¹¥×¥é¥¤¥È¤ò¥¢¥È¥é¥¹²½¤·¤ÆÉÁ²èÉé²Ù¤ò·Ú¸º¤¹¤ë
½Âë¤Û¤È¤È¤®¤¹ÄÌ¿® ÍÍ
¡ÚUnity¡ÛSprite¤ò¥Ñ¥Ã¥¯¤¹¤ëSpriteAtlas¤Î»È¤¤Êý
¥Æ¥é¥·¥å¡¼¥ë¥Ö¥í¥° ÍÍ
¡ÚUnity¡ÛAssetBundle¤ÇSpriteAtlas¤ò»ÈÍѤ¹¤ëºÝ¤ËÃΤé¤Ê¤¤¤Èµ¯¤³¤¹¤«¤â¤·¤ì¤Ê¤¤¥È¥é¥Ö¥ë¤È¡¢¤½¤Î²óÈòÊýË¡

¥³¥á¥ó¥È¤ò¤«¤¯


¡Öhttp://¡×¤ò´Þ¤àÅê¹Æ¤Ï¶Ø»ß¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

ÍøÍѵ¬Ìó¤ò¤´³Îǧ¤Î¤¦¤¨¤´µ­Æþ²¼¤µ¤¤

Menu


´ðÁÃ

µ»½Ñ/Ãμ±(¼ÂÁõÎã)

3D¥¢¥¯¥·¥ç¥ó¥²¡¼¥à

2D¤ª¤Ï¤¸¤­¥²¡¼¥à(ȯŸÊÔ)

2D¶¯À©²£¥¹¥¯¥í¡¼¥ë¥¢¥¯¥·¥ç¥ó(ȯŸÊÔ)

2D¥¿¥Ã¥×¥·¥å¡¼¥Æ¥£¥ó¥°(³ÈÄ¥ÊÔ)

¥ì¡¼¥¹¥²¡¼¥à(È´¿è)

2DÊüÃÖ¥²¡¼¥à(ȯŸÊÔ)

3D¥ì¡¼¥ë¥¬¥ó¥·¥å¡¼¥Æ¥£¥ó¥°(±þÍÑÊÔ)

3Dæ½Ð¥²¡¼¥à(È´¿è)

2D¥ê¥¢¥ë¥¿¥¤¥à¥¹¥È¥é¥Æ¥¸¡¼

3D¥¿¥Ã¥×¥¢¥¯¥·¥ç¥ó(NavMeshAgent »ÈÍÑ)

2D¥È¥Ã¥×¥Ó¥å¡¼¥¢¥¯¥·¥ç¥ó(¥«¥¨¥ë¤Î°Ù¤Ë¡Á¡¢¥Ü¥³¥¹¥«¥¦¥©¡¼¥ºÉ÷)

VideoPlayer ¥¤¥Ù¥ó¥ÈϢư¤Î¼ÂÁõÎã

VideoPlayer ¥ê¥¹¥ÈÆ⤫¤é¥à¡¼¥Ó¡¼ºÆÀ¸¤Î¼ÂÁõÎã(ȯŸ)

AR ²èÁüÉÕ¤­¥ª¥Ö¥¸¥§¥¯¥ÈÀ¸À®¤Î¼ÂÁõÎã

AR ¥ê¥¹¥ÈÆ⤫¤éÀ¸À®¤Î¼ÂÁõÎã(ȯŸ)

2D¥È¥Ã¥×¥Ó¥å¡¼¥¢¥¯¥·¥ç¥ó(¥µ¥Ð¥¤¥Ð¡¼É÷)

private



¤³¤Î¥µ¥¤¥ÈÆâ¤ÎºîÉʤϥæ¥Ë¥Æ¥£¤Á¤ã¤ó¥é¥¤¥»¥ó¥¹¾ò¹à¤Î¸µ¤ËÄ󶡤µ¤ì¤Æ¤¤¤Þ¤¹¡£

´ÉÍý¿Í/Éû´ÉÍý¿Í¤Î¤ßÊÔ½¸¤Ç¤­¤Þ¤¹