ºÇ½ª¹¹¿·¡§ orika_ex_miyako 2023ǯ11·î19Æü(Æü) 14:43:01ÍúÎò
¡¡°ìÄê»þ´Ö¤´¤È¤ËÃƤòÀ¸À®¤·¡¢¥×¥ì¥¤¥ä¡¼¤Î¿Ê¹ÔÊý¸þ¤Ë¸þ¤±¤ÆÃƤòȯ¼Í¤¹¤ëµ¡Ç½¤òºîÀ®¤·¤Þ¤¹¡£
¡¡º£²ó¤Î¼ÂÁõ¤Ç¤ÏÃƦ¤Ç¤Ï¤Ê¤¯¡¢Áê¼ê¦¤ÇÅö¤¿¤êȽÄê¤òºîÀ®¤¹¤ëÁ°Äó¤ÇÀ߷פ·¤Æ¤¤¤Þ¤¹¡£
Î㤨¤Ð¡¢Å¨¤ä¾ã³²ÊªÍѤΥ¯¥é¥¹¤ËÅö¤¿¤êȽÄêÍѤΥ᥽¥Ã¥É(OnTriggerEnter2D ¤ä OnCollisionEnter2D)¤òÍÑ°Õ¤¹¤ëÀ߷פǤ¹¡£
¥×¥ì¥¤¥ä¡¼¤Î¿Ê¹ÔÊý¸þ¤Î¾ðÊó¤ò¥á¥½¥Ã¥É¤Î°ú¿ô¤Ç¼õ¤±¼è¤ê¡¢¤½¤Î¾ðÊó¤òÍøÍѤ¹¤ë¤³¤È¤ÇÃƤοʹÔÊý¸þ¤ò¥×¥ì¥¤¥ä¡¼¤Î¿Ê¹ÔÊý¸þ¤ÈƱ´ü¤µ¤»¤Þ¤¹¡£
Bullet.cs
¡¡ÃƤΥץì¥Ï¥Ö¤Ï»öÁ°¤ËÀ©ºî¤·¤Æ¤ª¤¤Þ¤·¤ç¤¦¡£
Rigidbody2D ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤È 2D ÍѤΥ³¥é¥¤¥À¡¼(·Á¾õ¤Ï²èÁü¤Ë±þ¤¸¤ÆÊѤ¨¤ë)¤ò¥¢¥¿¥Ã¥Á¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£
¡¡²¼µ¤Ï¥µ¥ó¥×¥ë¤Ç¤¹¡£
¡¡¥²¡¼¥à¤ò¼Â¹Ô¤·¡¢°ìÄê»þ´Ö¤ª¤¤ËÃƤ¬À¸À®¤µ¤ì¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£
¤Þ¤¿¡¢ÃƤ¬È¯¼Í¤µ¤»¤ëÊý¸þ¤¬¥×¥ì¥¤¥ä¡¼¤Î¿Ê¹ÔÊý¸þ¤ÈƱ´ü¤·¤Æ¤¤¤ë¤³¤È¤â³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£
¡¡ÃƤ¬´Ý¾õ¤Ç¤Ê¤¯¡¢Î㤨¤ÐÃÆÀ褬¤¢¤ë¤â¤Î¡¢Ì𤸤꤬¤¢¤ë¤â¤Î¤Ê¤É¤Î¾ì¹ç¤Ë¤Ï¡¢ÃƤοʹÔÊý¸þ¤À¤±¤Ç¤Ï¤Ê¤¯¡¢
ÃƤÎÃÆÀè¤â¥×¥ì¥¤¥ä¡¼¤Î¿Ê¹ÔÊý¸þ¤Ë¹ç¤ï¤»¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
¥µ¥ó¥×¥ë¥¢¥»¥Ã¥È
Warped Shooting Fx
¡¡¤½¤¦¤¤¤Ã¤¿¥±¡¼¥¹¤ËÂбþ¤·¤¿ Bullet ¥¯¥é¥¹¤Î¥½¡¼¥¹¥³¡¼¥É¤òÄ󼨤·¤Þ¤¹¡£
Bullet.cs
¥¤¥ó¥¹¥Ú¥¯¥¿¡¼²èÁü
- ¥«¥Æ¥´¥ê¡§
- ¿Ê³Ø/¥¹¥¯¡¼¥ë
- ¥×¥í¥°¥é¥ß¥ó¥°
¥³¥á¥ó¥È¤ò¤«¤¯