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

¡¡Á°²ó¤Î¼ê½ç¤ÇºîÀ®¤·¤¿¥¹¥Æ¡¼¥¸¤Î¥Ç¡¼¥¿¤ò³èÍѤ·¤¿µ¡Ç½¤Î¼ÂÁõ¤ò¹Ô¤¤¤Þ¤¹¡£



ȯŸ£´ ¡¼¥¹¥Æ¡¼¥¸Æâ¤Î°ÜÆ°·ÐÏ©¾ðÊó¤Î¼«Æ°ÀÚ¤êÂؤ¨µ¡Ç½¡¼

Àß·×


¡¡¤¤¤Þ¤Þ¤Ç¤Ï¸ÇÄê¤ÇÍøÍѤ·¤Æ¤¤¤¿ RailPathData ¤Ë¤Ä¤¤¤Æ¡¢º£²ó¤Î½¤Àµ¤Ë¤è¤ê¥¹¥¯¥ê¥×¥¿¥Ö¥ë¡¦¥ª¥Ö¥¸¥§¥¯¥ÈÆâ¤Î¥¹¥Æ¡¼¥¸¤Î¥Ç¡¼¥¿¤ò»²¾È¤¹¤ëÊý¼°¤ËÊѹ¹¤·¤Þ¤¹¡£
¤³¤Î¤è¤¦¤Ë¤·¤Æ¤ª¤¯¤³¤È¤Ç¡¢°Û¤Ê¤ë RailPathData ¤µ¤¨¤¢¤ì¤Ð¡¢¼«Æ°Åª¤Ë¥Ç¡¼¥¿¤òÆɤ߹þ¤ó¤Ç¡¢Æ±¤¸À©¸æ¤¬¹Ô¤¨¤ë¾õÂ֤ˤ·¤Æ¤ª¤­¤Þ¤¹¡£
¤Ä¤Þ¤ê¡¢¥¹¥Æ¡¼¥¸¤Î¥Ç¡¼¥¿¤ò¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ç¤¢¤ë¥¹¥¯¥ê¥×¥¿¥Ö¥ë¡¦¥ª¥Ö¥¸¥§¥¯¥È¤«¤éÆɤ߹þ¤à¤³¤È¤Ç¡¢·ÐÏ©°ÜÆ°¤ÎÆâÍƤòưŪ¤ËÊѹ¹¤µ¤»¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£

¡¡¤³¤¦¤¤¤Ã¤¿À߷פò¿´¤¬¤±¤Æ¤¤¤¿¤À¤¯¤È¡¢¥á¥¤¥ó¤È¤Ê¤ë·ÐÏ©°ÜÆ°¤Îµ¡Ç½¤¬½ÐÍè¾å¤¬¤ì¤Ð¡¢¤¢¤È¤Ï¥Ç¡¼¥¿¤òº¹¤·Âؤ¨¤ë¤À¤±¤Ç¼«Æ°Åª¤Ë°Û¤Ê¤ë·ÐÏ©°ÜÆ°¤Î½èÍý¤¬±¿ÍѤǤ­¤ëÀ߷פˤʤê¤Þ¤¹¡£

¡¡µÕ¤Ë¹Í¤¨¤ë¤È¡¢ÈÆÍÑÀ­¤Î¤¢¤ëµ¡Ç½¤òºîÀ®¤Ç¤­¤Ê¤¤¤È¡¢¤¤¤Ä¤âƱ¤¸¥Ç¡¼¥¿¤Î¤ß¤òÆɤ߹þ¤ó¤Ç¤·¤Þ¤¦½èÍý¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤¿¤á¡¢¥²¡¼¥àÆâÍƤÎȯŸÀ­¤¬¼º¤ï¤ì¤·¤Þ¤¦¤³¤È¤Ë¤â¤Ä¤Ê¤¬¤ê¤Þ¤¹¡£


GameManager ¥¹¥¯¥ê¥×¥È¤ò½¤Àµ¤¹¤ë


¡¡GameManager ¤Ç¤Ï¥¹¥Æ¡¼¥¸¤Î¾ðÊó¤ò´ÉÍý¤·¤Þ¤¹¡£¤½¤·¤Æ¡¢¥¹¥Æ¡¼¥¸¤Î¾ðÊ󤫤鼡¤Î°ÜÆ°·ÐÏ©¤Î¾ðÊó¤ò»²¾È¤·¡¢
¤½¤ì¤ò RailMoveController ¥¯¥é¥¹¤Ø¤ÈÄ󶡤¹¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£¤³¤Îµ¡Ç½¤¬Æ°ºî¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢¥Ç¡¼¥¿¤òº¹¤·Âؤ¨¤ë¤³¤È¤Ç·ÐÏ©¤¬¼«Æ°Åª¤ËÊѤï¤ëµ¡Ç½¤¬¼ÂÁõ¤Ç¤­¤Æ¤¤¤Þ¤¹¡£

¡¡¤Ê¤ª¡¢¸½ºß¤Ïʬ´ô¤Î¤Ê¤¤¾õÂ֤ǤμÂÁõ¤Ç¤¹¤¬¡¢¤³¤ÎÀè¤Çʬ´ô½èÍý¤òºîÀ®¤·¤Þ¤¹¤Î¤Ç¡¢½èÍýÆâ¤Ë¤Ï TODO ¤òÍÑ°Õ¤·¤Æ¤¤¤Þ¤¹¡£

¡¡½èÍý¤¬Èó¾ï¤ËÊ£»¨¤Ç¤¹¤Î¤Ç¡¢¤·¤Ã¤«¤ê¤ÈÆɤ߲ò¤¤¤Æ¤¯¤À¤µ¤¤¡£
ÆäËÌá¤êÃͤΤ¢¤ë¥á¥½¥Ã¥É¤ä¡¢Linq ¤Ë¤è¤ë½èÍý¤Ê¤É¤¬¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢¥¹¥¯¥ê¥×¥È¤ÎɽÌ̤À¤±¤ò¸«¤Æ¤¤¤Æ¤Ï½èÍý¤¬Íý²ò¤Ç¤­¤Ê¤¤¾õÂ֤ˤʤê¤Þ¤¹¡£


GameManager.cs

<= ¥¯¥ê¥Ã¥¯¤¹¤ë¤È³«¤­¤Þ¤¹¡£


¡¡¥¹¥¯¥ê¥×¥È¤ò½¤Àµ¤·¤¿¤é¥»¡¼¥Ö¤·¤Þ¤¹¡£


RailMoveController ¥¹¥¯¥ê¥×¥È¤ò½¤Àµ¤¹¤ë


¡¡·ÐÏ©°ÜÆ°¤¬ºÇ½ªÃÏÅÀ¤Þ¤ÇÅþ㤷¤¿¤é¡¢GameManager ¥¯¥é¥¹Â¦¤ËÂФ·¤Æ¡¢°ÜÆ°¤¬´°Î»¤·¤¿¤³¤È¤È¡¢
¼¡¤Î·ÐÏ©¤Î¾ðÊ󤬤¢¤ë¤«¤É¤¦¤«¤òȽÃǤµ¤»¤ë½èÍý¤Î¥á¥½¥Ã¥É¤òÌ¿Îᤷ¤Þ¤¹¡£
³ºÅö¤¹¤ë¥á¥½¥Ã¥É¤ÏÀè¤Û¤É GameManager ¥¯¥é¥¹Â¦¤ËºîÀ®¤·¤Æ¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢¤¢¤È¤Ï¡¢¤¹¤Ù¤Æ¤Î·ÐÏ©¤Î°ÜÆ°¤¬´°Î»¤·¤¿¥¿¥¤¥ß¥ó¥°¤Ë
GameManager ¥¯¥é¥¹¤Ø¤ÎÌ¿Îá¤òµ­½Ò¤·¤Æ½èÍý¤ò¼Â¹Ô¤·¤Þ¤¹¡£

¡¡¤Þ¤¿¡¢¾éĹŪ¤Ë¤Ê¤Ã¤Æ¤¤¤¿½èÍý¤Î°ìÉô¤Î¥ê¥Õ¥¡¥¯¥¿¥ê¥ó¥°¤ò¹Ô¤¤¡¢Linq ¤Î¥á¥½¥Ã¥É¤òÍøÍѤ·¤¿½èÍý¤Ë½ñ¤­´¹¤¨¤Æ¤¤¤Þ¤¹¡£
°ìÅÙ½ñ¤¤¤¿½èÍý¤Ç¤¢¤Ã¤Æ¤â¡¢¤½¤ì¤¬²þÁ±¤Ç¤­¤ëÆâÍƤʤΤ«¡¢¾ï¤Ë³Îǧ¤ò¤ª¤³¤Ê¤Ã¤Æ¡¢¤è¤ê¤è¤¤½èÍý¤Ë¤·¤Æ¤¤¤¯¤³¤È¤¬¥¹¥­¥ë¥¢¥Ã¥×¤ÎÈë·í¤Ë¤Ê¤ê¤Þ¤¹¡£

¡¡½èÍý¤¬½ñ¤±¤¿¤é½ª¤ï¤ê¡¢¤Ç¤Ï¤Ê¤¯¤Æ¡¢¿·¤·¤¤½èÍý¤Ë½ñ¤­´¹¤¨¤ë¤³¤È¤¬½ÐÍè¤Ê¤¤¤«¤É¤¦¤«¤òÄ´¤Ù¤Æ¤ß¤ë¤³¤È¤¬ÂçÀڤǤ¹¡£


RailMoveController.cs

<= ¥¯¥ê¥Ã¥¯¤¹¤ë¤È³«¤­¤Þ¤¹¡£




ʬ´ô¤Ê¤·¤Î¾õÂ֤ǡ¢£²¤Ä°Ê¾å¤Î PathData ¤òÍøÍѤ·¤Æ°ÜÆ°¤¬¹Ô¤ï¤ì¤ë¤«¤ò³Îǧ¤¹¤ë


¡¡¤Þ¤º¤Ïʬ´ô¤Î¤Ê¤¤¥¹¥Æ¡¼¥¸¤Î¾ðÊó¤òÍøÍѤ·¤Æ¡¢£²¤Ä¤Î°Û¤Ê¤ë BranchData ¥¯¥é¥¹¤Î¾ðÊó¤òÆɤ߹þ¤ó¤Ç¡¢
£±¤ÄÌܤηÐÏ©°ÜÆ°¤¬¤¹¤Ù¤Æ½ªÎ»¤·¤¿¤é¡¢¼«Æ°Åª¤Ë¼¡¤Îʬ´ôÀè¤È¤Ê¤ë BranchData ¥¯¥é¥¹¤Î¾ðÊó¤òÆɤ߹þ¤ß¡¢
°Û¤Ê¤ë·ÐÏ©¤Ç¤Î°ÜÆ°¤¬³«»Ï¤µ¤ì¤ë¤«¤ò³Îǧ¤·¤Æ¤ª¤­¤Þ¤¹¡£

¡¡¤³¤Î½èÍý¤Ï¡¢¥¹¥¯¥ê¥×¥ÈÆâ¤Î¤É¤ÎÉôʬ¤Ë¤è¤Ã¤Æµ¡Ç½¤·¤Æ¤¤¤ë¤«¤ò¤·¤Ã¤«¤ê¤ÈÍý²ò¤·¤Æ¤«¤é¡¢¼¡¤Îʬ´ô¤òºîÀ®¤¹¤ë½èÍý¤Ø°Ü¤Ã¤Æ¤¯¤À¤µ¤¤¡£



¡¡°Ê¾å¤Ç¤³¤Î¼ê½ç¤Ï´°Î»¤Ç¤¹¡£

¡¡=>¡¡¼¡¤Ï¡¡È¯Å¸£µ¡¡¡¼·Ðϩʬ´ôÍѥݥåץ¢¥Ã¥×¥¦¥¤¥ó¥É¥¦¤ÎºîÀ®¡¼¡¡¤Ç¤¹¡£

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


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

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

Menu


´ðÁÃ

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

private



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

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