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

²èÌÌUI


»²¹Í¥µ¥¤¥È
Unity ¸ø¼°¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó
Create user interfaces (UI)


¡¡UI(¥æ¡¼¥¶¡¼¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹)¤Ë¤Ï¡¢¸«¤ä¤¹¤µ¡¢¥Ç¥¶¥¤¥óÀ­¡¢¥ì¥¤¥¢¥¦¥È¡ÊÇÛÃÖ¾ì½ê¡Ë¤Ê¤É¡¢À߷פ«¤é¹Í¤¨¤ë¤Ù¤­Í×ÁǤ¬Â¿¤¯¤¢¤ê¤Þ¤¹¡£
¤·¤Ã¤«¤ê¤ÈÀ߷פ·¡¢¤ª¤í¤½¤«¤Ë¤·¤Ê¤¤¤³¤È¤Ë¤è¤Ã¤Æ¡¢¥²¡¼¥à¤Ø¤ÎË×Æþ´¶¤ä²èÌ̤θ«¤ä¤¹¤µ¤Ê¤É¡¢¥æ¡¼¥¶¡¼¤¬¥²¡¼¥à¤ËÂФ·¤Æ¼õ¤±¤ë°õ¾Ý¤¬Â礭¤¯ÊѤï¤ê¤Þ¤¹¤Î¤ÇÃí°Õ¤¬É¬ÍפǤ¹¡£
ÆäËÂ礭¤µ¡ÊÂ礭¤¹¤®¤ë¤È¥²¡¼¥àÀ¤³¦¤Î»ëǧÀ­¤¬°­¤¯¤Ê¤ë¡Ë¤ä¥Ç¥¶¥¤¥ó¤Ï½ÅÍפǤ¹¡£½Å¸ü¤ÊÀ¤³¦´Ñ¤Ë¥Ý¥Ã¥×¤Ê¥ì¥¤¥¢¥¦¥È¤ÎUI¤Ç¤Ï´Ö¤¬È´¤±¤Æ¸«¤¨¤Æ¤·¤Þ¤¤¤Þ¤¹¡£


ɽ¼¨¤¹¤ë¾ðÊó¤ò¥²¡¼¥à¤´¤È¤Ë¸¡Æ¤¤¹¤ë


¡¡UI¤Ï¾ï¤Ë²èÌ̤ÎÁ°Ì̤ËƱ¤¸°ÌÃÖ¤Çɽ¼¨¤·¤Æ¤¤¤ë¾ðÊó¤È¤¤¤¦Ç§¼±¤ò»ý¤Ã¤Æ¤ª¤­¤Þ¤·¤ç¤¦¡£
¤½¤Î¤¿¤á¡¢¥æ¡¼¥¶¡¼¤¬¤¤¤Ä¤âƱ¤¸¾ì½ê¤Ë»ëÅÀ¤ò¸þ¤±¤ë¤³¤È¤Ç¼èÆÀ¤·¤¿¤¤¾ðÊó¤ò¸«¤¨¤ë¤è¤¦¤ËÄ󶡤¹¤ëÌò³ä¤¬¤¢¤ê¤Þ¤¹¡£

¡¡¤Þ¤¿¥²¡¼¥à¤òÍ·¤Ö¾å¤Ç¾ðÊó¤ÏɬÍפǤ¹¤¬¡¢Â¿¤¹¤®¤Æ¤â¡¢¤Þ¤¿¾¯¤Ê¤¹¤®¤Æ¤â¤è¤¯¤¢¤ê¤Þ¤»¤ó¡£
¾ðÊó¤¬Â¿¤¤Êý¤¬³Ú¤·¤¤Ê·°Ïµ¤¤Î¥²¡¼¥à¤Ë¤Ê¤ë¤Î¤«¡¢¤¢¤ë¤¤¤Ï¾¯¤Ê¤¤Êý¤¬Ë×Æþ´¶¤¬¹â¤¯¤Ê¤ë¤Î¤«¤Ï¡¢¥²¡¼¥à¤ÎÊ·°Ïµ¤¤äÀ¤³¦´Ñ¤Ê¤É¤ÇÊѤï¤ê¤Þ¤¹¡£

¡¡Î㤨¤Ð¥ì¡¼¥¹¥²¡¼¥à¤ä¥Õ¥é¥¤¥È¥²¡¼¥à¤Ê¤É¤Ç¤¢¤ì¤Ð¡¢°ì¿Í¾Î»ëÅÀ¤Ç·×´ï¤Î¤è¤¦¤ÊUI¤¬¤¿¤¯¤µ¤óʤó¤Ç¤¤¤¿Êý¤¬¡¢Áà½ÄÀÊ¡¦±¿Å¾Àʤˤ¤¤ëÊ·°Ïµ¤¤¬É½¸½¤Ç¤­¤Þ¤¹¡£
µÕ¤Ë¡¢3¿Í¾Î»ëÅÀ¤Ê¤É¤Ç¤¢¤ì¤Ð¡¢²èÌ̤˾ðÊóɽ¼¨¤¬¾¯¤Ê¤¤¤Û¤É¡¢¥²¡¼¥à¤ÎÀ¤³¦¤òÊ⤭²ó¤ë¥×¥ì¥¤¥ä¡¼¤ÈÀ¤³¦¤ÎÃÏ·Á¤ËÆþ¤ê¹þ¤à¤³¤È¤¬½ÐÍè¤Þ¤¹¡£

¡¡¸½ºß¤Î¥²¡¼¥àÀ­¤ò¹Í¤¨¤Æ¡¢É½¼¨¤¹¤ë¤Ù¤­¾ðÊó¤òÀººº¤¹¤ë¤³¤È¤¬ÂçÀڤˤʤê¤Þ¤¹¡£


¥ì¥¤¥¢¥¦¥ÈÍѤΥե©¥ë¥À¡Ê¶õ¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¡Ë¤ÎºîÀ®


¡¡CanvasÆâ¤Ç¤¢¤ì¤ÐUI¤Ïɽ¼¨²Äǽ¤Ç¤¹¤¬¡¢Anchor¤Î°ÌÃÖ¤â¹Í¤¨¤Æ¡¢¤Þ¤º¤Ï¶õ¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òºîÀ®¤·¡¢¤½¤ì¤é¤òCanvas¤Î»Í¶ù¤ËÇÛÃÖ¤·¤Þ¤·¤ç¤¦¡£
¤½¤ì¤¾¤ì¡¢Left_Bottom¡¢Right_Bottom¡¢Left_Top¡¢Right_Top¤Î¤è¤¦¤Ë¡¢¤ï¤«¤ê¤ä¤¹¤¤Ì¾Á°¤Ë¤·¤Æ¥Õ¥©¥ë¥ÀÂå¤ï¤ê¤Ë¤·¤Þ¤¹¡£
¤½¤·¤Æ¡¢¤½¤ì¤¾¤ì¤Î°ÌÃÖ¤ËÇÛÃÖ¤·¤¿¤¤UI¤òÆþ¤ì¤ÆÃÖ¤¯¤è¤¦¤Ë¤¹¤ë¤È¡¢¤É¤Î°ÌÃ֤ˡ¢¤É¤ÎUI¤ÎÀßÄ꤬¤¢¤ë¤Î¤«Ê¬¤«¤ê¤ä¤¹¤¯¤Ê¤ê¤Þ¤¹¡£

¡¡¤³¤³¤Ç¤Ï1Îã¤È¤·¤ÆLeft_Bottom¤òºîÀ®¤·¤Æ¤ß¤Þ¤¹¡£
»ë³ÐŪ¤Ë¤ï¤«¤ë¤è¤¦¤ËWidth¤ÈHeight¤òÂ礭¤¯¤·¤Æ¤¤¤Þ¤¹¤¬¡¢¥Õ¥©¥ë¥À¤ÎÌò³ä¤Ê¤Î¤Ç0¡¤0¤Ç¤â¹½¤¤¤Þ¤»¤ó¡£




Ìò³ä¤Ë±þ¤¸¤Æ¥¢¥ó¥«¡¼¤Î°ÌÃÖ¤ò¤·¤Ã¤«¤ê¤È·è¤á¤Æ¤ª¤­¤Þ¤·¤ç¤¦¡£



---

¡¡¤³¤Î¶õ¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ò¥Õ¥©¥ë¥ÀÂå¤ï¤ê¤Ë»ÈÍѤ¹¤ë¼êË¡¤ÏÍÍ¡¹¤ÊÉôʬ¤Ç±þÍѤ¬²Äǽ¤Ç¤¹¡£

¡¡¤Þ¤¿¾åµ­¤Î¤è¤¦¤Ë»Í¶ù¤Ëʬ¤±¤ëÊýË¡°Ê³°¤Ë¤â¡¢²èÌ̾åÉô¤È²¼Éô¤ò¤Þ¤È¤á¤Æ´ÉÍý¤¹¤ë¤è¤¦¤Ë¡¢Top¥Õ¥©¥ë¥À/Bottom¤òºîÀ®¤·¤¿¤ê¡¢
²èÌ̤òLeft¡¢Center¡¢Right¤Î¤è¤¦¤Ë£³¤Ä¤Ëʬ¤±¤Æ¹Í¤¨¡¢¥Õ¥©¥ë¥À¤òºîÀ®¤¹¤ë¤³¤È¤â½ÐÍè¤Þ¤¹¡£

¡¡À½ºî¤¹¤ë¥²¡¼¥à¤Î¼ïÎà¤Ë±þ¤¸¤Æ¡¢¤³¤ì¤é¤Î¥Õ¥©¥ë¥À¤ò¾å¼ê¤¯³èÍѤ·¡¢ºî¶È¤ò¸úΨ¤è¤¯¡¢¤Þ¤¿AnchorÀßÄ꤬¤ä¤ê¤ä¤¹¤¤ÇÛÃÖ¤ò¿´¤¬¤±¤Þ¤·¤ç¤¦¡£

¡¡²¼µ­¤Î²èÁü¤Ï¡¢¥¢¥ó¥«¡¼¤òTop Center ¤ËÀßÄꤷ¤¿¶õ¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òTop_CenterPlace¤È¤·¤Æºî¤ê¡¢¥Õ¥©¥ë¥ÀÂå¤ï¤ê¤Ë¤·¤Æ¤¤¤Þ¤¹¡£
¤½¤ÎÃæ¤Ë TimePlace ¤È¤¤¤¦»þ´Ö¤Î¾ðÊó¤òɽ¼¨¤µ¤»¤ë¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òÇÛÃÖ¤·¤Æ¤¤¤Þ¤¹¡£

¡¡¤Þ¤¿¥¢¥ó¥«¡¼¤òTop Right¤ËÀßÄꤷ¤¿¶õ¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òTop_RightPlac¤È¤·¤Æºî¤ê¡¢¤³¤Á¤é¤â¥Õ¥©¥ë¥ÀÂå¤ï¤ê¤Ë¤·¤Æ¤¤¤Þ¤¹¡£
¤½¤ÎÃæ¤Ë¥ê¥»¥Ã¥ÈÍѤΥܥ¿¥ó¤òɽ¼¨¤µ¤»¤ë¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òÇÛÃÖ¤·¤Æ¤¤¤Þ¤¹¡£





¡¡²èÌ̤κ¸²¼¤Ë¤Ï¥³¥ó¥È¥í¡¼¥é¡¼¤Î¥Ü¥¿¥ó¡¢±¦²¼¤Ë¤ÏÌð°õ¤Î¥Ü¥¿¥ó¤¬¸«¤¨¤Æ¤¤¤ë¤È»×¤¤¤Þ¤¹¡£
¤³¤ì¤é¤âƱÍͤ˶õ¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òºîÀ®¤·¤Æ¤½¤ì¤ò¥Õ¥©¥ë¥ÀÂå¤ï¤ê¤ËÍøÍѤ·¤ÆÀßÃÖ¤·¤Æ¤¤¤Þ¤¹¡£

¡¡¤³¤Î¤è¤¦¤ËÅý°ì¤µ¤ì¤¿ÆâÍƤˤè¤Ã¤ÆUI´ÉÍý¤ò¹Ô¤¦¤³¤È¤Ç¡¢¤É¤³¤Ë¤É¤ÎUI¤¬ÇÛÃÖ¤µ¤ì¤Æ¤¤¤ë¤«¤òÄɤ¤¤ä¤¹¤¯¤Ê¤ê¡¢½¤Àµ¤âÍưפˤʤê¤Þ¤¹¡£
ÀßÃ֤Ǥ­¤¿¤«¤é¤¤¤¤¤ä¡¢¤Ç¤Ï¤Ê¤¯¡¢¤½¤Î¸å¤Î´ÉÍý¡¦½¤Á¶¤Î¤³¤È¤â¹Í¤¨¤¿¾å¤ÇÀ߷פò¹Ô¤¦¤³¤È¤¬É¬ÍפǤ¹¡£


¥¹¥Þ¥Û¥²¡¼¥à¤Ë¤ª¤±¤ëUI¤Î°ÌÃ֤ˤĤ¤¤Æ


¡¡Â¿¤¯¤Î¥²¡¼¥à¤Ç¤ÏUI¤Ï¾ðÊóÅÁã¤Î¾ì½ê¤Ç¤¢¤ê¡¢´ðËÜŪ¤Ë¤Ï¤¢¤Þ¤ê¤ËUI¤¬Â礭¤¹¤®¤Æ¤·¤Þ¤¦¤È¥²¡¼¥à²èÌ̤¬¸«¤¨¤Ë¤¯¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
Æä˥¹¥Þ¥Û¥²¡¼¥à¤Î¾ì¹ç¤Ë¤Ï¼ê¤ÇľÀܲèÌ̤òÁàºî¤¹¤ë¤¿¤á¡¢¥Ü¥¿¥óÍѤÎÁàºî¤ò¹Ô¤¦ºÝ¤Ë¤½¤Î¤»¤¤¤Ç½ÅÍפÊUI¤¬¸«¤¨¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤ï¤Ê¤¤¤è¤¦¤Ëµ¤¤ò¤Ä¤±¤Þ¤·¤ç¤¦¡£
ʸ»ú¤ÎÂ礭¤µ¡¢²èÁü¤ÎÂ礭¤µ¤Ê¤É¤ò´Þ¤á¤Æ¥²¡¼¥à¤ò³Ú¤·¤à´Ä¶­¤òÁ˳²¤·¤Ê¤¤¤è¤¦¤Ë¹Í¤¨¤ÆºîÀ®¤¹¤ë¤³¤È¤¬ÂçÀڤǤ¹¡£
¡¡¡¡
¡¡ÌÀ¤é¤«¤ËÂ礭¤Ê¥Ü¥¿¥ó¡¢¾®¤µ¤¹¤®¤ë¿ô»ú¤Ê¤É¤âÌäÂê¤Ç¤¹¤Î¤Ç¥¨¥Ç¥£¥¿¡¼¤Ç¤ÎÀßÃÖ¤¬½ª¤ï¤ê¤Þ¤·¤¿¤é¥¹¥Þ¥Û¤Î²èÌ̤Ǥâ³Îǧ¤ò¤·¤Æ¤ª¤­¤Þ¤·¤ç¤¦¡£
¤³¤ÎºÝ¤Ë¥¢¥ó¥«¡¼ÀßÄ꤬¤µ¤ì¤Æ¤¤¤Ê¤«¤Ã¤¿¤ê¤º¤ì¤Æ¤¤¤¿¤¹¤ë¤È´üÂÔ¤·¤Æ¤¤¤ë°ÌÃÖ¤ËUI¤¬ÀßÃÖ¤µ¤ì¤Þ¤»¤ó¤Î¤Ç¡¢¤½¤Á¤é¤â°ì½ï¤Ë³Îǧ¤ò¤·¤Þ¤·¤ç¤¦¡£

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


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

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

Menu


´ðÁÃ

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

private



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

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