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

¥²¡¼¥à²èÌÌÆâ¤ÎÁ«°Ü»þ¤Ë¥È¥é¥ó¥¸¥·¥ç¥ó(ÀÚ¤êÂؤ¨¡¦¥Õ¥§¥¤¥É¥¢¥¦¥È/¥Õ¥§¥¤¥É¥¤¥ó)½èÍý¤òÄɲ乤ë


¡¡º£²ó¤Î¥²¡¼¥à¤Ç¤ÏGameScene¤Ï£±¤Ä¤Ç¤¹¤Î¤ÇÊ̤Υ·¡¼¥ó¤Ø¤ÎÁ«°Ü¤ÏȯÀ¸¤·¤Þ¤»¤ó¤¬¡¢
¥²¡¼¥à¤Î³«»Ï»þ¤ä¥²¡¼¥à½ªÎ»»þ¤Ë¤Ï²èÌÌÆâ¤ËÆ°¤­¤ä±é½Ð¤¬¤¢¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢
¥²¡¼¥à¤¬³«»Ï¤µ¤ì¤¿¤³¤È¤ä¡¢½ªÎ»¤·¤¿¤È¤¤¤¦¹ç¿Þ¤ò¡¢²èÌ̤òÄ̤¸¤Æ¥æ¡¼¥¶¡¼¤ËÅÁ¤¨¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£

¡¡¤½¤¦¤¤¤Ã¤¿Ëë´Ö¤ò¶´¤à½èÍý¤Î¤³¤È¤ò¥È¥é¥ó¥¸¥·¥ç¥ó¡ÊÀÚ¤êÂؤ¨¡Ë½èÍý¤È¸À¤¤¤Þ¤¹¡£
¤³¤³¤Ç¤ÏÂåɽŪ¤Ê¥È¥é¥ó¥¸¥·¥ç¥ó½èÍý¤Ç¤¢¤ë¡¢²èÌ̤Υե§¥¤¥É¥¢¥¦¥È/¥Õ¥§¥¤¥É¥¤¥ó½èÍý¤òÄɲ䷤Ƥ¤¤­¤Þ¤¹¡£

´°À®Æ°²è­¡¡¡¥²¡¼¥à³«»Ï»þ¤Î¥Õ¥§¥¤¥É¥¤¥ó½èÍý
https://gyazo.com/5ef4c6d2c30f32d68647109cfdd4477a

¸¡¾ÚÆ°²è­¢¡¡¥²¡¼¥à½ªÎ»»þ¤Î¥Õ¥§¥¤¥É¥¢¥¦¥È½èÍý¡¡¢ª¡¡¥²¡¼¥à³«»Ï»þ¤Î¥Õ¥§¥¤¥É¥¤¥ó½èÍý
https://gyazo.com/17c6732ba356ab75710c43bcda868ca5


À߷פò¹Í¤¨¤ë


¡¡¥È¥é¥ó¥¸¥·¥ç¥óÍѤΥ²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òºîÀ®¤·¡¢¤½¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ò¥¹¥¯¥ê¥×¥È¤«¤éÀ©¸æ¤ò¹Ô¤¦¤è¤¦¤Ë¤·¤Þ¤¹¡£

¡¡¥·¡¼¥ó´Ö¤Ç¤ÎÁ«°Ü¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢ºÆ¥¹¥¿¡¼¥È¤Î½èÍý¤Ë¤Ï¥·¡¼¥ó¤Î¥í¡¼¥É¤¬Æþ¤ê¤Þ¤¹¤Î¤Ç¡¢Ä̾ï¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î¤Þ¤Þ¤Ç¤ÏÇË´þ¤µ¤ì¤ÆÀ©¸æ¤¬½ÐÍè¤Þ¤»¤ó¡£
¤½¤³¤ÇºîÀ®¤¹¤ë¥¹¥¯¥ê¥×¥È¤Ë¤Ï¡¢¥¢¥¿¥Ã¥Á¤·¤¿¥È¥é¥ó¥¸¥·¥ç¥óÍѤΥ²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ò¥·¡¼¥óÁ«°Ü¤ò¹Ô¤Ã¤Æ¤âÇË´þ¤µ¤ì¤Ê¤¤¤è¤¦¤Ë½èÍý¤òÍÑ°Õ¤·¤Æ¤ª¤­¤Þ¤¹¡£
¤Þ¤¿¥È¥é¥ó¥¸¥·¥ç¥óÍѤÎÀ©¸æ¤¬¤É¤Î¥¹¥¯¥ê¥×¥È¤«¤é¤Ç¤â¸Æ¤Ó½Ð¤»¤ë¤è¤¦¤Ë¡¢¥·¥ó¥°¥ë¥È¥ó¥Ñ¥¿¡¼¥ó¤òºÎÍѤ·¤Æ¤ª¤­¤Þ¤¹¡£
¡¡
¡¡º£²ó¤Ï¥²¡¼¥à¤Î¥¹¥¿¡¼¥È»þ(ºÆ¥¹¥¿¡¼¥È´Þ¤à)¤È¥²¡¼¥à¤Î½ªÎ»»þ¤Ë¡¢¤½¤ì¤¾¤ì¥È¥é¥ó¥¸¥·¥ç¥óÍѤνèÍý¤ò¹Ô¤¦¤è¤¦¤Ë¤·¤Þ¤¹¡£

¡¡¥²¡¼¥à¤Î¥¹¥¿¡¼¥È»þ¤Ë¤Ï¿¿¤ÃÇò¤Ê²èÌ̤«¤é¥²¡¼¥à²èÌ̤¬½ù¡¹¤Ë¸«¤¨¤Æ¤¯¤ë¤è¤¦¤Ë±é½Ð¤·¡Ê¥Õ¥§¥¤¥É¥¤¥ó½èÍý¡Ë¡¢
¥²¡¼¥à½ªÎ»»þ¤Ë¤ÏµÕ¤Ë¥²¡¼¥à²èÌ̤¬½ù¡¹¤Ë¿¿¤ÃÇò¤Ë¤Ê¤Ã¤Æ¤¤¤¯¤è¤¦¤Ë±é½Ð¡Ê¥Õ¥§¥¤¥É¥¢¥¦¥È½èÍý¡Ë¤ò¤·¤Þ¤¹¡£
½èÍý¤È¤·¤Æ¤ÏƱ¤¸Éôʬ¤òÀ©¸æ¤¹¤ë¤¿¤á¡¢¥á¥½¥Ã¥É¤Ï£±¤Ä¤Ë¤·¤Æ¡¢°ú¿ô¤Ë¤è¤Ã¤Æ¥Õ¥§¥¤¥É¥¤¥ó½èÍý¤Ë¤¹¤ë¤«¡¢¥Õ¥§¥¤¥É¥¢¥¦¥È½èÍý¤Ë¤¹¤ë¤«ÁªÂò½ÐÍè¤ë¤è¤¦¤Ë¤·¤Æ¤ª¤­¤Þ¤¹¡£


¼ÂÁõ¼ê½ç


¡¡°Ê²¼¤Î¼ê½ç¤Ç¼ÂÁõ¤ò¹Ô¤¤¤Þ¤¹¡£

¡¡£±¡¥¥È¥é¥ó¥¸¥·¥ç¥óÍѤνèÍý¤ò¹Ô¤¦¤¿¤á¤ÎTransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òºîÀ®¤¹¤ë
¡¡£²¡¥¿·¤·¤¯TransitionManager¥¹¥¯¥ê¥×¥È¤òºîÀ®¤¹¤ë
¡¡£³¡¥TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ËTransitionManager¥¹¥¯¥ê¥×¥È¤ò¥¢¥¿¥Ã¥Á¤¹¤ë
¡¡£´¡¥TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òÍøÍѤ·¤Æ¡¢¥²¡¼¥à³«»Ï»þ¤È¥²¡¼¥à½ªÎ»»þ¤Ë¥Õ¥§¥¤¥É½èÍý¤òÄɲ乤ë
¡¡£µ¡¥¥²¡¼¥à¤ò¼Â¹Ô¤·¤ÆÆ°ºî¤ò³Îǧ¤¹¤ë


£±¡¥¥È¥é¥ó¥¸¥·¥ç¥óÍѤνèÍý¤ò¹Ô¤¦¤¿¤á¤ÎTransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òºîÀ®¤¹¤ë


¡¡¥È¥é¥ó¥¸¥·¥ç¥óÍѤνèÍý¤ò¹Ô¤¦¤¿¤á¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òºîÀ®¤·¤Æ¤¤¤­¤Þ¤¹¡££²¤Ä¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Ë¤è¤Ã¤Æ¹½À®¤µ¤ì¤Æ¤¤¤Þ¤¹¤Î¤Ç½çÈ֤˺îÀ®¤·¤Þ¤¹¡£


¿·¤·¤¯Canvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òºîÀ®¤·¡¢TransitionCanvas¤Ë̾Á°¤òÊѤ¨¤ë


¡¡¥Ò¥¨¥é¥ë¥­¡¼¤Î¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤¬²¿¤â¤Ê¤¤Éôʬ¤Ç±¦¥¯¥ê¥Ã¥¯¤ò¤·¡¢UI => Canvas ¤òÁªÂò¤·¤Þ¤¹¡£¸½ºß¤ÎCanvas¤È¤ÏÊ̤ÎCanvas¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£
̾Á°¤ò TransitionCanvas ¤ËÊѹ¹¤·¤Þ¤¹¡£

¡¡TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òÁªÂò¤·¡¢¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¤Î Canvas¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ò³Îǧ¤·¤Þ¤¹¡£
¥«¥á¥é¤ÎÀßÄê¤ä²èÌÌ¥µ¥¤¥º¤Ê¤É¤ò¡¢¸µ¤«¤é¥Ò¥¨¥é¥ë¥­¡¼¤Ë¤¢¤ë¡¢Canvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ÈƱ¤¸¤Ë¤Ê¤ë¤è¤¦¤ËÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£
²¼µ­¤Î²èÁü¤ò»²¹Í¤Ë¤·¤Æ¤¯¤µ¤¤¡£

TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¤¥ó¥¹¥Ú¥¯¥¿¡¼²èÁü



»²¹ÍÍÑ¡¡Canvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¤¥ó¥¹¥Ú¥¯¥¿¡¼²èÁü()



TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î»Ò¥ª¥Ö¥¸¥§¥¯¥È¤È¤·¤ÆPanel¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òºîÀ®¤¹¤ë


¡¡Â³¤¤¤Æ¡¢TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î¾å¤Ç±¦¥¯¥ê¥Ã¥¯¤ò¤·¡¢UI => Panel ¤òÁªÂò¤·¤Þ¤¹¡£
TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î»Ò¥ª¥Ö¥¸¥§¥¯¥È¤È¤·¤ÆPanel¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤¬À¸À®¤µ¤ì¤Þ¤¹¡£

¡¡Panel¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òÁªÂò¤·¡¢¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¤«¤éRectTransform¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ò³Îǧ¤·¤Þ¤¹¡£
TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ÈƱ¤¸Â礭¤µ¤Çºî¤é¤ì¤Þ¤¹¤Î¤Ç¡¢¤½¤ì¤è¤ê¤â¾¯¤·¤À¤±Â礭¤¯¤Ê¤ë¤è¤¦¤Ë Width¡¢Height ¤ÎÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£

¡¡¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¤Î°ìÈÖ²¼¤Ë¤¢¤ë Add Compnent ¥Ü¥¿¥ó¤ò²¡¤·¤Æ¡¢CanvasGroup¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ò Add ¤·¤Þ¤¹¡£

¡¡Block Raycasts¤Î¥Á¥§¥Ã¥¯¤ò³°¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£¤³¤Î¥Á¥§¥Ã¥¯¤¬Æþ¤Ã¤Æ¤¤¤ë¤È²èÌ̤Υ¿¥Ã¥×¤¬¤³¤ÎCanvasGroup¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ë¤è¤Ã¤Æ¼õ¤±ÉÕ¤±¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£


¡¡²¼µ­¤Î²èÁü¤ò»²¹Í¤ËÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£

Panel¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¤¥ó¥¹¥Ú¥¯¥¿¡¼²èÁü



¡¡¥Ò¥¨¥é¥ë¥­¡¼¤Ï¤³¤Î¤è¤¦¤Ê¿Æ»Ò´Ø·¸¤Ë¤Ê¤Ã¤Æ¤¤¤ì¤ÐÌäÂꤢ¤ê¤Þ¤»¤ó¡£


¥Ò¥¨¥é¥ë¥­¡¼²èÁü



TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ÎScene¥Ó¥å¡¼²èÁü



¡¡¤³¤³¤Ç¤Î¥Ý¥¤¥ó¥È¤Ï¡¢¥²¡¼¥à²èÌ̤Ǥ¢¤ëCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤¬´°Á´¤Ë±£¤ì¤ë¤è¤¦¤ËPanel¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òºîÀ®¤¹¤ë¤³¤È¤Ç¤¹¡£
¤³¤ÎPanel¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤¬¥È¥é¥ó¥¸¥·¥ç¥óÍѤνèÍý¤ò¹Ô¤¤¡¢¥²¡¼¥à²èÌ̤òʤ¤¦¤¿¤á¤Ç¤¹¡£

¸¡¾ÚÆ°²è(Canvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤è¤ê¤â¾¯¤·Â礭¤¯TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òºîÀ®¤·¤Æ¡¢¥²¡¼¥à²èÌ̤¬´°Á´¤Ë±£¤ì¤ë¤è¤¦¤Ë¤¹¤ë)
https://gyazo.com/0adade00c9b85530140454e4d88bf535

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

£²¡¥¿·¤·¤¯TransitionManager¥¹¥¯¥ê¥×¥È¤òºîÀ®¤¹¤ë


¡¡ProjectÆâ¤ÎScripts¥Õ¥©¥ë¥ÀÆâ¤Ç±¦¥¯¥ê¥Ã¥¯¤·¤Æ¡¢Create => C# Script ¤òÁªÂò¤·¡¢Ì¾Á°¤ò TransitionManager ¤ËÊѹ¹¤·¤Þ¤¹¡£

¡¡¤³¤Î¥¹¥¯¥ê¥×¥È¤Ë¥È¥é¥ó¥¸¥·¥ç¥óÍѤÎPanel¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ÎÀ©¸æ½èÍý¤òµ­½Ò¤·¡¢¥È¥é¥ó¥¸¥·¥ç¥óÍѤνèÍý¤ò¹Ô¤¨¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£


TransitionManager.cs

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



£³¡¥TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ËTransitionManager¥¹¥¯¥ê¥×¥È¤ò¥¢¥¿¥Ã¥Á¤¹¤ë


¡¡ºîÀ®¤·¤¿TransitionManager¥¹¥¯¥ê¥×¥È¤ò¡¢TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Ë¥É¥é¥Ã¥°¥¢¥ó¥É¥É¥í¥Ã¥×¤·¤Æ¥¢¥¿¥Ã¥Á¤·¤Þ¤¹¡£
TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¤ò³Îǧ¤·¡¢TransitionManager¥¹¥¯¥ê¥×¥È¤¬¥¢¥¿¥Ã¥Á¤µ¤ì¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤·¤Þ¤¹¡£

¡¡£²¤Ä¤Î¥¢¥µ¥¤¥ó¾ðÊó¤¬É½¼¨¤µ¤ì¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢CanvasGroup ÊÑ¿ô¤Ë¤Ä¤¤¤Æ¤ÏPanel¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ÎCanvasGroup¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ò»²¾È¤·¤Þ¤¹¤Î¤Ç
Panel¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ò¥Ò¥¨¥é¥ë¥­¡¼¤«¤é¥É¥é¥Ã¥°¥¢¥ó¥É¥É¥í¥Ã¥×¤·¤Æ¥¢¥µ¥¤¥ó¤·¤Þ¤¹¡£

¡¡Duration ÊÑ¿ô¤Ï¥È¥é¥ó¥¸¥·¥ç¥óÍѤνèÍý¤ò¹Ô¤¦ºÝ¤Î½èÍý»þ´Ö¤Ç¤¹¡£º£²ó¤Ï¥Õ¥§¥¤¥É¥¤¥ó/¥Õ¥§¥¤¥É¥¢¥¦¥È½èÍý¤Î»þ´Ö¤Ë¤Ê¤ê¤Þ¤¹¤Î¤Ç 1 ¤òÀßÄꤷ¤Þ¤¹¡£
¤³¤ÎÃͤòÊѹ¹¤¹¤ë¤È¥Õ¥§¥¤¥É¥¤¥ó/¥Õ¥§¥¤¥É¥¢¥¦¥È¤Î»þ´Ö¤¬Êѹ¹¤µ¤ì¤Þ¤¹¤Î¤Ç¡¢Å¬µ¹¤ÊÃͤËÄ´À°¤·¤Æ¤¯¤À¤µ¤¤¡£
½é´üÃͤΠ1 ¤Ç¤¢¤ì¤Ð¡¢1É䫤±¤Æ¥Õ¥§¥¤¥É¥¤¥ó/¥Õ¥§¥¤¥É¥¢¥¦¥È¤·¤Þ¤¹¡£
¡¡

TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¤¥ó¥¹¥Ú¥¯¥¿¡¼²èÁü



£´¡¥TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤òÍøÍѤ·¤Æ¡¢¥²¡¼¥à³«»Ï»þ¤È¥²¡¼¥à½ªÎ»»þ¤Ë¥Õ¥§¥¤¥É½èÍý¤òÄɲ乤ë


¡¡TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Ë¥¢¥¿¥Ã¥Á¤·¤¿TransitionManager¥¹¥¯¥ê¥×¥È¤ÎFadePanel¥á¥½¥Ã¥É¤òÍøÍѤ¹¤ë¤³¤È¤Ç
TransitionCanvas¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ÎCanvasGroup¤¬À©¸æ¤µ¤ì¤Æ¡¢¥Õ¥§¥¤¥É¥¤¥ó/¥Õ¥§¥¤¥É¥¢¥¦¥È½èÍý¤¬¼ÂÁõ¤Ç¤­¤Þ¤¹¡£
¡¡
¡¡°Ê²¼¤Î¤è¤¦¤Ê¾õÂÖ¤òTransitionManager¥¹¥¯¥ê¥×¥È¤òÍøÍѤ·¤ÆÀ©¸æ¤·¤Æ¤¤¤Þ¤¹¡£

¸¡¾ÚÆ°²è¡¡CanvasGroup¤ÎAlphaÃͤÎÊѲ½
https://gyazo.com/7390a44cd647a8be7116b9fd62395605


¡¡¤³¤³¤Ç¤Ï³Æ¥¹¥¯¥ê¥×¥È¤ò½¤Àµ¤·¤Æ¡¢¥²¡¼¥àÆâ¤Ë¥Õ¥§¥¤¥É¥¤¥ó/¥Õ¥§¥¤¥É¥¢¥¦¥È½èÍý¤òÄɲä·¤Þ¤¹¡£


GameManager¥¹¥¯¥ê¥×¥È¤ò½¤Àµ¤·¤Æ¡¢¥²¡¼¥à³«»Ï»þ¤Î¥Õ¥§¥¤¥É¥¤¥ó½èÍý¤òÄɲ乤ë


¡¡GameManager¥¹¥¯¥ê¥×¥È¤ÎStart¥á¥½¥Ã¥É¤ò½¤Àµ¤·¤Æ¡¢¥²¡¼¥à³«»Ï»þ¤Î¥Õ¥§¥¤¥É¥¤¥ó½èÍý¤òÄɲä·¤Þ¤¹¡£

GameManager.cs

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




¸¡¾ÚÆ°²è¡¡¥²¡¼¥à³«»Ï»þ¤Î¥Õ¥§¥¤¥É¥¤¥ó½èÍý
https://gyazo.com/5ef4c6d2c30f32d68647109cfdd4477a


GameData¥¹¥¯¥ê¥×¥È¤ò½¤Àµ¤·¤Æ¡¢¥²¡¼¥à½ªÎ»»þ¤Î¥Õ¥§¥¤¥É¥¢¥¦¥È½èÍý¤òÄɲ乤ë


¡¡GameData¥¹¥¯¥ê¥×¥È¤ÎRestartGame¥á¥½¥Ã¥É¤ò½¤Àµ¤·¡¢¥²¡¼¥à½ªÎ»»þ¤Î¥Õ¥§¥¤¥É¥¢¥¦¥È½èÍý¤òÄɲä·¤Þ¤¹¡£

GameData.cs

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




¸¡¾ÚÆ°²è¡¡¥²¡¼¥à½ªÎ»»þ¤Î¥Õ¥§¥¤¥É¥¢¥¦¥È½èÍý¡¡¢ª¡¡¥²¡¼¥à³«»Ï»þ¤Î¥Õ¥§¥¤¥É¥¤¥ó½èÍý
https://gyazo.com/17c6732ba356ab75710c43bcda868ca5


£µ¡¥¥²¡¼¥à¤ò¼Â¹Ô¤·¤ÆÆ°ºî¤ò³Îǧ¤¹¤ë


¡¡°Ê¾å¤Ç¥È¥é¥ó¥¸¥·¥ç¥óÍѤκîÀ®¼ê½ç¤Ï½ªÎ»¤Ç¤¹¡£

¡¡¥²¡¼¥à¤ò¼Â¹Ô¤·¤ÆÆ°ºî¤ò³Îǧ¤·¤Þ¤¹¡£¾åµ­¤Î¸¡¾ÚÆ°²è¤Î¤è¤¦¤Ë¥È¥é¥ó¥¸¥·¥ç¥óÍѤνèÍý¤¬Æ°ºî¤·¤Æ¤¤¤ì¤Ð´°À®¤Ç¤¹¡£



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

¡¡¼¡¤Ï ȯŸ£±£³ ¤Ç¤¹¡£

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


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

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

Menu


´ðÁÃ

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

private



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

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