ºÇ½ª¹¹¿·¡§ orika_ex_miyako 2021ǯ01·î22Æü(¶â) 21:35:04ÍúÎò
°Ê²¼¤ÎÆâÍƤǽçÈ֤˼ÂÁõ¤ò¿Ê¤á¤Æ¤¤¤¤Þ¤¹¡£
¡ã¼ÂÁõÆ°²è¡¡Âѵ×ÎÏÍѤΥ²¡¼¥¸¤ò¥¢¥Ë¥á±é½Ð¤·¤ÆÀ©¸æ¤¹¤ë¡ä
Æ°²è¥Õ¥¡¥¤¥ë¤Ø¤Î¥ê¥ó¥¯
¼ê½ç£±£¶¡¡¡¼¥¹¥¯¥ê¥×¥È¤Ë¤è¤ëÂѵ×ÎÏÍÑ¥²¡¼¥¸¤ÎÀ©¸æ½èÍý¤Î¼ÂÁõ¡¼
£³£²¡¥DOTween¤ò¥¤¥ó¥Ý¡¼¥È¤·¤ÆÀßÄꤹ¤ë £³£³¡¥DefenseBase ¥¹¥¯¥ê¥×¥È¤ò½¤Àµ¤·¡¢Âѵ×ÎϤΥ²¡¼¥¸¤ò¥¢¥Ë¥á±é½Ð¤·¤Ê¤¬¤é½ù¡¹¤ËÁý¸º¤µ¤»¤ëÀ©¸æ½èÍý¤ò¼ÂÁõ¤¹¤ë
¡¡¿·¤·¤¤³Ø½¬ÆâÍƤϡ¢°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£
¡¡¡¦DOTween¤ÎÊä´Öµ¡Ç½¤È¼ÂÁõÎã¡¡¡¡¼DOValue ¥á¥½¥Ã¥É¡¼ ¡¡¡¦¥¥ã¥¹¥È½èÍý
¡¡DOTween(¥É¥Ã¥È¥¥¥¤¡¼¥ó) ¤Ï¡¢Unity ¤Î¥¢¥»¥Ã¥È¥¹¥È¥¢¤Ë¤Æ̵½þ¤Ç¸ø³«¤µ¤ì¤Æ¤¤¤ë¡¢Tween·Ï(¥¢¥Ë¥áÍÑ)¥¢¥»¥Ã¥È¤Ç¤¹¡£
¡¡¤³¤Î¥¢¥»¥Ã¥È¤Ï½èÍý¤È½èÍý¤Î´Ö¤Î¡¢Êä´Ö½èÍý¤ò¹Ô¤Ã¤Æ¤¯¤ì¤ëµ¡Ç½¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£
Î㤨¤Ð¡¢AÃÏÅÀ¤«¤é BÃÏÅÀ¤Ë¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ò°ÜÆ°¤µ¤»¤ë½èÍý¤ò¼ÂÁõ¤·¤¿¾ì¹ç¡¢Ä̾ï¤Ç¤¢¤ì¤Ð°ì½Ö¤Ç°ÜÆ°¤ò¹Ô¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¤¬
DOTween ¤òÍøÍѤ¹¤ë¤È AÃÏÅÀ¤«¤éBÃÏÅÀ¤Þ¤Ç¤Î°ÜÆ°¤¹¤ë¤Þ¤Ç¤ÎÃæ´Ö¤Î½èÍý¤òºîÀ®¤·¤Æ°ÜÆ°¤ò¹Ô¤Ã¤Æ¤¯¤ì¤Þ¤¹¡£
¡¡¤³¤ÎÊä´Ö½èÍý¤Îµ¡Ç½¤Ë¤è¤Ã¤ÆÃæ´Ö¤Î½èÍý¤¬¤¢¤ë¤³¤È¤Ç¡¢¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤¬¥¢¥Ë¥á¡¼¥·¥ç¥ó¤·¤Æ¤¤¤ë¤è¤¦¤Ë¸«¤»¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£
¡¡¥¢¥»¥Ã¥È¥¹¥È¥¢¤Ë¥µ¥¤¥ó¥¤¥ó¤·¤Æ¡¢¸¡º÷¤Ç DOTween ¤ÈÆþÎϤ¹¤ì¤Ð¸«¤Ä¤«¤ê¤Þ¤¹¡£ProÈÇ¡Êͽþ¡Ë¤â¤¢¤ê¤Þ¤¹¤¬¡¢Ìµ½þÈǤÇÌäÂꤢ¤ê¤Þ¤»¤ó¡£
ľÀܤΥê¥ó¥¯¥¢¥É¥ì¥¹¤Ï¤³¤Á¤é¤Ç¤¹¡£
https://assetstore.unity.com/packages/tools/animat...
¡¡¥À¥¦¥ó¥í¡¼¥É¤·¤Æ Unity ¤Ë¥¤¥ó¥Ý¡¼¥È¤·¤Æ¤¯¤À¤µ¤¤¡£¥¤¥ó¥Ý¡¼¥ÈÀßÄê¤Ï¤½¤Î¤Þ¤Þ¤ÇÌäÂꤢ¤ê¤Þ¤»¤ó¡£
¥¤¥ó¥Ý¡¼¥È¤µ¤ì¤ë¤ÈProjectÆâ¤ËDemigiant¤È¤¤¤¦¥Õ¥©¥ë¥À¤¬Äɲ䵤ì¤Þ¤¹¡£¤³¤Á¤é¤¬DOTween¥¢¥»¥Ã¥È¤Î¥Õ¥©¥ë¥À¤Ë¤Ê¤ê¤Þ¤¹¡£
Demigiant/DOTween
¡¡¥¤¥ó¥Ý¡¼¥È¸å¡¢DOTween Utility Panel¤È¤¤¤¦¡¢DOTween¤ÎÀßÄêÍѤΥݥåץ¢¥Ã¥×¥¦¥¤¥ó¥É¥¦¤¬¼«Æ°Åª¤Ë³«¤¤Þ¤¹¤Î¤Ç¡¢Setup DOTween¥Ü¥¿¥ó¤ò²¡¤·¤Æ¼Â¹Ô¤·¤Þ¤·¤ç¤¦¡£
¤â¤·¤â¼«Æ°¤Ç³«¤«¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢Unity¤Îº¸¾å¤Î¥á¥Ë¥å¡¼¤è¤ê Tools => Demigiant => DOTween Utility Panel ¤òÁªÂò¤¹¤ì¤Ð¥¦¥¤¥ó¥É¥¦¤ò³«¤¯¤³¤È¤¬½ÐÍè¤Þ¤¹¡£
¡¡½àÈ÷ÍѤΥݥåץ¢¥Ã¥×¤¬¤µ¤é¤Ë³«¤¤¤Æ¡¢½àÈ÷¤¬´°Î»¤¹¤ë¤ÈApply¥Ü¥¿¥ó¤¬²¡¤»¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
¡¡¤³¤ì¤ÇDOTween¤Î½àÈ÷¤¬´°Î»¤·¡¢Unity¤ÇÍøÍѤǤ¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£Àè¤Û¤É¤ÎDOTween Utility Panel ¥¦¥¤¥ó¥É¥¦¤ÏÊĤ¸¤Æ¤·¤Þ¤Ã¤ÆÌäÂꤢ¤ê¤Þ¤»¤ó¡£
¡¡¤Ê¤ªDOTween¤Ë¤ÏÍÍ¡¹¤Êµ¡Ç½¤¬¤¢¤ê¤Þ¤¹¤¬¡¢º£²ó¤ÎÀ½ºî¤Ç¤Ï¤½¤Î°ìÉô¤òÍøÍѤ·¤Æ¤¤¤¤Þ¤¹¡£
¾Ü¤·¤¤ÀâÌÀ¤Ï¸ø¼°¥ê¥Õ¥¡¥ì¥ó¥¹¡¢¤¢¤ë¤¤¤Ï¿¤¯¤Î»ÈÍÑÊýË¡¤Î¾Ò²ðµ»ö¤¬¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢¼«Ê¬¤ÇÄ´¤Ù¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£
¸ø¼°¥µ¥¤¥È¤Î¥ê¥ó¥¯¡Ê¥É¥¥å¥á¥ó¥È¡Ë
http://dotween.demigiant.com/documentation.php
£³£³¡¥DefenseBase ¥¹¥¯¥ê¥×¥È¤ò½¤Àµ¤·¡¢Âѵ×ÎϤΥ²¡¼¥¸¤ò¥¢¥Ë¥á±é½Ð¤·¤Ê¤¬¤é½ù¡¹¤ËÁý¸º¤µ¤»¤ëÀ©¸æ½èÍý¤ò¼ÂÁõ¤¹¤ë
¡¡Âѵ×ÎÏÍѤΥ²¡¼¥¸¤Î¥¢¥Ë¥á±é½Ð¤ò¼ÂÁõ¤¹¤ë¤Ë¤Ï¡¢¥¤¥ó¥Ý¡¼¥È¤·¤¿ DOTween ¤Îµ¡Ç½¤òÍøÍѤ·¤Þ¤¹¡£
¡¡DOTween ¤Îµ¡Ç½¤òÍøÍѤ¹¤ë¾ì¹ç¤Ç¤¢¤Ã¤Æ¤â¡¢Áàºî¤ÎÂоݤȤʤ륳¥ó¥Ý¡¼¥Í¥ó¥È¤Î¾ðÊ󤬥¹¥¯¥ê¥×¥È¤Ë¤Ê¤±¤ì¤ÐÁàºî¤Ï¹Ô¤¨¤Þ¤»¤ó¡£
º£²ó¤Î¥²¡¼¥¸¤ÎÀ©¸æ¤ò¹Ô¤¦¤¿¤á¤Ë¤Ï¡¢¥²¡¼¥¸¤Î´ÉÍý¤ò¤·¤Æ¤¤¤ë Slider ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î¾ðÊó¤¬É¬Íפˤʤê¤Þ¤¹¤Î¤Ç¡¢
Text ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î¾ðÊó¤ò¼èÆÀ¤·¤¿ºÝ¤ÈƱ¤¸¤è¤¦¤Ë¡¢SerializeField°À¤ò¤Ä¤±¤¿ Slider ·¿¤ÎÊÑ¿ô¤òÍÑ°Õ¤·¤Æ¡¢¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¤«¤é»öÁ°¤ËÅÐÏ¿¤ò¹Ô¤¤¤Þ¤¹¡£
¡¡¤³¤Î Slider ·¿¤ÎÊÑ¿ô¤ËÂФ·¤Æ¡¢DOTween ¤Î½èÍý¤òÌ¿Î᤹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
¡¡¥²¡¼¥¸¤ÎÀ©¸æ¤Î½èÍý¤òµ½Ò¤¹¤ë¾ì½ê¤Ï¡¢¤¹¤Ç¤Ë TODO µ¡Ç½¤Çµ½Ò¤·¤Æ¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢¤½¤ÎÉôʬ¤Ë½èÍý¤òÄɵ¤·¤Þ¤·¤ç¤¦¡£
£²¡¥DefenseBase ¥¹¥¯¥ê¥×¥È¤ò½¤Àµ¤·¡¢DOTween ¤Îµ¡Ç½¤òÍøÍѤ·¤Æ Slider ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î Value ¤ÎÃͤòÀ©¸æ¤¹¤ë½èÍý¤òÄɲ乤ë
¡¡À߷פò¸µ¤Ë½èÍý¤òµ½Ò¤·¤Þ¤¹¡£
º£²ó¤Ï½é¤á¤Æ¤Î DOTween ¤Î¼ÂÁõ¤Ç¤¹¤Î¤Ç¡¢¼«Ê¬¤ÇÄ´¤Ù¤Æ¼ÂÁõ¤ò¤·¤Æ¤¤¤¿¤À¤¤¤Æ¤â¤è¤¤¤Ç¤¹¤¬¡¢¶µºà¤ò¸«¤Ê¤¬¤é¿Ê¤á¤Æ¤¤¤¿¤À¤¤¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£
DefenseBase.cs
¡¡¥¹¥¯¥ê¥×¥È¤òºîÀ®¤·¤¿¤é¥»¡¼¥Ö¤·¤Þ¤¹¡£
DefenseBase ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¤ò³Îǧ¤·¡¢¿·¤·¤¯ SerializeField°À ¤ÇÀë¸À¤·¤¿ÊÑ¿ô¤¬Äɲ䵤ì¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤·¤Þ¤¹¡£
DefenseBase ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¡¡¥¤¥ó¥¹¥Ú¥¯¥¿¡¼²èÁü
¡¡DOValue ¥á¥½¥Ã¥É¤Ï DOTween ¤Î°·¤¨¤ë¥á¥½¥Ã¥É¤Î£±¤Ä¤Ç¤¹¡£
Slider ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ËÂФ·¤Æ»ÈÍѤ¹¤ë¤³¤È¤¬½ÐÍè¤ë¤â¤Î¤Ç¡¢¤½¤Î̾Á°¤ÎÄ̤ꡢSlider ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î»ý¤Ä Value ¤ÎÃͤÎÊä´Ö½èÍý¤ò¹Ô¤Ã¤Æ¤¯¤ì¤Þ¤¹¡£
// ¥²¡¼¥¸¤Îɽ¼¨¤òÂѵ×ÎϤÎÃͤ˹ç¤ï¤»¤Æ¹¹¿· slider.DOValue((float)durability / maxDurability, 0.25f);
¡¡Âè1°ú¿ô¤Ë¤ÏºÇ½ªÅª¤Ê Value ¤ÎÃÍ(Êѹ¹¸å¤ÎÃÍ)¤òÆþ¤ì¤Þ¤¹¡£º£²ó¤Ï¡¢durability(¸½ºßÃÍ) ¤ÎÃͤò maxDurability(ºÇÂçÃÍ) ¤ÎÃͤǽü»»¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢
·×»»·ë²Ì¤ÎÃͤ¬¡¢0 ¡Á 1.0f ¤Î´Ö¤ÎÃͤˤʤê¤Þ¤¹¡£Slider ¤Î Value ¤ÎÃͤâ 0 ¡Á 1.0f ¤ÎÃͤÇÀßÄꤵ¤ì¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢
¤³¤Î·×»»·ë²Ì¤ÎÃͤò¤½¤Î¤Þ¤Þ Value ¤ÎÉôʬ¤ËŬÍѤ¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢¸½ºßÃͤ˱þ¤¸¤¿Ê¬¤À¤±¥²¡¼¥¸¤¬Æ°¤¯¤è¤¦¤ËÀ߷פ·¤Æ¤¤¤Þ¤¹¡£
¡¡Âè2°ú¿ô¤Ë¤Ï¡¢Âè1°ú¿ô¤ÎÃͤËÊѲ½¤¹¤ë¤Þ¤Ç¤Ë¤«¤±¤ë»þ´Ö¤òÀßÄꤷ¤Þ¤¹¡£
¤½¤Î¤¿¤á¡¢º£²ó¤Î¼ÂÁõ¤Ç¤Ï¡¢Value ¤Î·×»»·ë²Ì¤ÎÃͤˤʤë¤Þ¤Ç¤Ë 0.25 É䫤±¤Æ Value ¤ÎÃͤòÊѹ¹¤·¤Æ¤¤¤Þ¤¹¡£
¤³¤Î DOValue ¥á¥½¥Ã¥É¤Îµ¡Ç½¤Ë¤è¤ê¡¢¥²¡¼¥¸¤¬½ù¡¹¤Ë¸º¤ê¤Ê¤¬¤éÆ°¤¯¡¢¥¢¥Ë¥á¡¼¥·¥ç¥ó¤·¤Æ¤¤¤ë¤è¤¦¤Ê½èÍý¤¬¼ÂÁõ½ÐÍè¤Þ¤¹¡£
¡¡Âè1°ú¿ô¤Ë¤Ä¤¤¤Æ¤Ï·×»»·ë²Ì¤¬ 0 - 1.0f ¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¢¤³¤ÎÉôʬ¤Ë¤Ä¤¤¤Æ¤Ï¼¡¤Î¥¥ã¥¹¥È½èÍý¤¬¤¢¤ë¤³¤È¤Ë¤è¤Ã¤ÆÀ®Î©¤·¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢Â³¤±¤Æ³Ø½¬¤·¤Þ¤¹¡£
¡¡DOValue ¥á¥½¥Ã¥É¤ÎÂè1°ú¿ô¤ËÃíÌܤ·¤Æ¤¯¤À¤µ¤¤¡£
(float)durability / maxDurability
¡¡ÊÑ¿ô¤ÎÁ°¤Ë()¤Ç·¿¤Î»ØÄ꤬¤¢¤ê¤Þ¤¹¡£
¡¡¤³¤Î½èÍý¤Ï¥¥ã¥¹¥È¤È¸Æ¤Ð¤ì¤ë½èÍý¤Ç¡¢·×»»¤·¤¿·ë²Ì¤ÎÃͤò ()Æâ¤Ç»ØÄꤷ¤¿·¿¤Ë·¿ÊÑ´¹¤¹¤ëµ¡Ç½¤Ç¤¹¡£
¡¡º£²ó¤Î¥±¡¼¥¹¤Ç¤Ï¡¢ durability ¤ÎÃͤò maxDurability ¤Ç³ä¤Ã¤Æ float ·¿¤Ë¥¥ã¥¹¥È(·¿ÊÑ´¹)¤·¤¿ÃÍ(0.0f - 1.0f)¤ò Value ¤ÎÃͤȤ·¤Æ¤¤¤Þ¤¹¡£
Value ¤ÎÃÍ¤Ï float ·¿¤Ç¤¹¤Î¤Ç¡¢int·¿¤Ç¤¢¤ë durability ¤È maxDurability ¤Î·×»»·ë²Ì¤Ï int ·¿¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤¿¤á¡¢¤½¤Î¤Þ¤Þ¤Ç¤Ï»È¤¨¤Þ¤»¤ó¡£
¤Þ¤¿¡¢int ·¿¤ò½ü»»¤¹¤ë¤ÈÉâÆ°¾®¿ôÅÀ¤ÎÃͤ¬ÀÚ¤ê¼Î¤Æ¤é¤ì¤Æ¤·¤Þ¤¤¡¢0 ¤« 1 ¤Î¤¤¤º¤ì¤«¤ÎÃͤ·¤«¼èÆÀ¤Ç¤¤Þ¤»¤ó¡£
¡¡¤½¤Î¤¿¤á¡¢¤³¤³¤Ç¤Ï¥¥ã¥¹¥È¤ò¹Ô¤¤¡¢int ·¿¤ò½ü»»¤·¤¿·ë²Ì¤ò float ·¿¤Ë¥¥ã¥¹¥È¤¹¤ë¤³¤È¤Ç¡¢¾®¿ôÅÀ¤ÎÃͤòÍøÍѤǤ¤ë¤è¤¦¤Ë½èÍý¤·¤Æ¤¤¤Þ¤¹¡£
¡¡¥¥ã¥¹¥È¤È¤Ï·¿ÊÑ´¹¤Î½èÍý¤Î¤³¤È¤Ç¤¹¡£º£²ó¤Ï int ·¿¤òÊÑ´¹¤·¤Æ¤¤¤Þ¤¹¤¬¡¢Â¾¤Î·¿¤Ç¤ÎÊÑ´¹¤â¡¢·¿Æ±»Î¤ÎÊÑ´¹½èÍý¤Ï¥¥ã¥¹¥È¤È¸Æ¤Ð¤ì¤Þ¤¹¡£
¾¤Ë¤â¤è¤¯»ÈÍѤ·¤Æ¤¤¤ë½èÍý¤¬¤¢¤ê¤Þ¤¹¡£¤½¤ì¤¬ ToString ¥á¥½¥Ã¥É¤Ç¤¹¡£¤³¤ì¤Ï int ·¿¤Ê¤É¤Î¿ô»ú¤ò°·¤¦·¿¤ò¡¢Ê¸»úÎó¤Ç¤¢¤ë string ¤ËÊÑ´¹¤·¤Æ¤¤¤ë½èÍý¤Ç¤¹¡£
¡¡DefenseBaseSet ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î¥¤¥ó¥¹¥Ú¥¯¥¿¡¼¤è¤ê¡¢DefenseBase ¥¹¥¯¥ê¥×¥È¤ËÄɲ䵤ì¤Æ¤¤¤ëÊÑ¿ô¤ËɬÍפʾðÊó¤ò¥¢¥µ¥¤¥ó¤·¤Þ¤¹¡£
º£²óɽ¼¨¤µ¤ì¤Æ¤¤¤ëÊÑ¿ô¤Ï slider ÊÑ¿ô¤Ç¡¢¸½ºß¤Ï None(Slider) ¤Èɽ¼¨¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
¤½¤Î¤¿¤á¡¢¤³¤ÎÊÑ¿ô¤Ë¥¢¥µ¥¤¥ó¤Ç¤¤ë¾ðÊó¤Ï¡¢Slider ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î¥¢¥¿¥Ã¥Á¤µ¤ì¤Æ¤¤¤ë¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Ë¤Ê¤ê¤Þ¤¹¡£
¡¡¥Ò¥¨¥é¥ë¥¡¼¤è¤ê¡¢Slider ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤ò¸«¤Ä¤±¤Æ¡¢slider ÊÑ¿ô¤Ë¥É¥é¥Ã¥°¥¢¥ó¥É¥É¥í¥Ã¥×¤·¤Æ¥¢¥µ¥¤¥ó¤·¤Æ¤¯¤À¤µ¤¤¡£
¤³¤ì¤Ç¡¢DefenseBase ¥¹¥¯¥ê¥×¥È¤Ï¡¢Slider ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¤Î Slider ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤òÁàºî¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
DefenseBaseSet ¥²¡¼¥à¥ª¥Ö¥¸¥§¥¯¥È¡¡¥¤¥ó¥¹¥Ú¥¯¥¿¡¼²èÁü
¡¡°Ê¾å¤ÇÀßÄê¤Ï´°Î»¤Ç¤¹¡£
¡¡¼ÂÁõ¤¬½ªÎ»¤·¤Þ¤·¤¿¤Î¤Ç¡¢¥²¡¼¥à¤ò¼Â¹Ô¤·¤Æ¥²¡¼¥¸¤¬¥¢¥Ë¥á±é½Ð¤¹¤ë¤«¡¢³Îǧ¤·¤Þ¤¹¡£
¡¡¥²¡¼¥à¤¬¥¹¥¿¡¼¥È¤¹¤ë¤È¡¢¶õ¤Ç¤¢¤ëÂѵ×ÎϤΥ²¡¼¥¸¤¬¥¢¥Ë¥á±é½Ð¤·¤Ê¤¬¤é½ù¡¹¤ËËþ¥¿¥ó¤Ë¤Ê¤ê¤Þ¤¹¡£
¤Þ¤¿¡¢¥¨¥Í¥ß¡¼¤¬µòÅÀ¤Ë¿¯Æþ¤·¤ÆÂѵ×ÎϤÎÃͤ¬¸º»»¤µ¤ì¤¿¾ì¹ç¤Ë¤â¡¢¸º»»¸å¤ÎÂѵ×ÎϤÎÃͤˤʤë¤Þ¤Ç¡¢¥¢¥Ë¥á±é½Ð¤·¤Ê¤¬¤é½ù¡¹¤Ë¥²¡¼¥¸¤¬¸º¤Ã¤Æ¤¤¤¤Þ¤¹¡£
¡ã¼ÂÁõÆ°²è¡¡Âѵ×ÎÏÍѤΥ²¡¼¥¸¤ò¥¢¥Ë¥á±é½Ð¤·¤ÆÀ©¸æ¤¹¤ë¡ä
Æ°²è¥Õ¥¡¥¤¥ë¤Ø¤Î¥ê¥ó¥¯
¡¡²¾¤Ë¡¢¤â¤·¤â DOTween ¤ÎÊä´Öµ¡Ç½¤òÍøÍѤ·¤Ê¤¤¾ì¹ç¡¢¤É¤Î¤è¤¦¤Ë¤Ê¤ë¤«¤ò¸«¤Æ¤ß¤Þ¤·¤ç¤¦¡£
¼«Ê¬¤Ç¤â¸¡¾Ú¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£
¡ã¸¡¾ÚÆ°²è¡¡DOValue ¥á¥½¥Ã¥É¤òÍøÍѤ·¤Ê¤¤¾ì¹ç¡ä
Æ°²è¥Õ¥¡¥¤¥ë¤Ø¤Î¥ê¥ó¥¯
¡¡°ã¤¤¤Ï°ìÌÜÎÆÁ³¤Ç¤¹¡£
¡¡DOValue ¥á¥½¥Ã¥É¤òÍøÍѤ·¤Æ¤¤¤ë¾ì¹ç¡¢¥¹¥¿¡¼¥È»þ¤Ë¥²¡¼¥¸¤¬¶õ¤Î¾õÂÖ¤«¤éËþ¥¿¥ó¤Î¾õÂ֤ˤʤë¤è¤¦¤Ë¥¢¥Ë¥á±é½Ð¤µ¤ì¤ÆËþ¥¿¥ó¤Ë¤Ê¤ê¤Þ¤¹¡£
¤Ç¤¹¤¬¡¢Value ¤ÎÃͤò½ñ¤´¹¤¨¤ë¤À¤±¤Ç¤¹¤È¡¢¤¹¤°¤ËËþ¥¿¥ó¤Î¾õÂ֤ˤʤê¤Þ¤¹¡£¤³¤Î°ã¤¤¤¬Êä´Ö½èÍý(ºÇ½é¤ÈºÇ¸å¤À¤±¤Ç¤Ï¤Ê¤¯¡¢Ãæ´ÖÉôʬ¤¬¤¢¤ë)¤Ç¤¹¡£
¡¡¤Þ¤¿¥¨¥Í¥ß¡¼¤Ë¿¯Æþ¤µ¤ì¤¿¾ì¹ç¤â¡¢DOValue ¥á¥½¥Ã¥É¤Î¾ì¹ç¤Ë¤Ï¡¢¥²¡¼¥¸¤¬¥¢¥Ë¥á±é½Ð¤·¤Ê¤¬¤é½ù¡¹¤Ë¸º¾¯¤·¤Æ¸½ºß¤ÎÂѵ×ÎϤÎÃͤޤǰÜÆ°¤·¤Þ¤¹¡£
Value ¤ÎÃͤò½ñ¤´¹¤¨¤ë½èÍý¤Î¾ì¹ç¤À¤È¡¢¤¹¤°¤Ë¥²¡¼¥¸¤¬¸½ºßÃͤΰÌÃ֤ޤǰÜÆ°¤·¤Þ¤¹¡£
¡¡±é½Ð¤Ï¥²¡¼¥à¾å¡¢Èó¾ï¤Ë½ÅÍפÊÍ×ÁǤˤʤê¤Þ¤¹¡£
DOTween ¤Ï¿µ¡Ç½¤Ç¤¹¤Î¤Ç¡¢Â¾¤ÎÉôʬ¤Ë¤âÍøÍѤǤ¤Þ¤¹¡£º£¸å¤â³Ø½¬¤·¤Æ¤¤¤¤Þ¤¹¤Î¤Ç¡¢½ù¡¹¤Ë´·¤ì¤Æ¤¤¤¤Þ¤·¤ç¤¦¡£
¡¡°Ê¾å¤Ç¤³¤Î¼ê½ç¤Ï½ªÎ»¤Ç¤¹¡£
¡¡¼¡¤Ï¡¡¼ê½ç£±£·¡¡¡¼¥¨¥Í¥ß¡¼¤ÎHP¥²¡¼¥¸¤ÎºîÀ®¤È¥¹¥¯¥ê¥×¥È¤Ë¤è¤ëÀ©¸æ¤Î¼ÂÁõ¡¼¡¡¤Ç¤¹¡£
- ¥«¥Æ¥´¥ê¡§
- ¿Ê³Ø/¥¹¥¯¡¼¥ë
- ¥×¥í¥°¥é¥ß¥ó¥°
¥³¥á¥ó¥È¤ò¤«¤¯