ãUnityãAnimationClipåä½ã§ã¢ãã¡ã¼ã·ã§ã³ãåçããPlayable API
æ°ããè¨äº
Â
Â
Â
Â
Animatorï¼AnimationController+AnimationClip(s)ã®çµã¿åããã使ç¨ããã¨ãã¢ãã¡ã¼ã·ã§ã³ãåçã§ããPlayable APIã«ã¤ãã¦ã§ãã
ãã®APIã¯æ£ç¢ºã«ã¯ã«ã¹ã¿ãã¤ãºå¯è½ãªãã¬ã³ãããªã¼çãªä½ãã«ãªãã®ã§ãããããç¾ç¶ã¯AnimationClipãAnimationControllerã®å¶å¾¡ã«ãã使ããã¦ãã¾ããã
ãªããPlayable APIã¯å®é¨å ¬éä¸ã®æ©è½ããããã¡ããã¡ããAPIãå¤ããã¾ãã5.4ã¨5.3ã§ãå°ãç°ãªãã®ã§ããã®ãããã¯æç´ããå¿ è¦ã
Playable APIã§ã¢ãã¡ã¼ã·ã§ã³ãåçãã
â»5.6ã§ããªãã³ã¼ããå¤ããã¾ã
https://forum.unity3d.com/threads/animationclipplayable.451854/
Â
AnimationClipãPlayableAPIã§åçãã¾ãã
ããã使ç¨ããå ´åãAnimationControllerã¯ä½¿ç¨ãã¾ãããã¾ãAnimatorã§é§åããã®ã§Spriteããããªã¢ã«ã®ã¢ãã¡ã¼ã·ã§ã³ã«ã対å¿ãã¦ããã®ããã¤ã³ãã§ãã
æµãã¨ãã¦ã¯ãAnimationClipPlayableãä½æããAnimatorã§åçããã ãã§ãã
Â
ã¢ãã¡ã¼ã·ã§ã³ã®ãã¬ã³ã
ãã¦ããã®Playable APIã§ãããã°ãªã®ãä»æ§ãªã®ããä¸åº¦ç»é²ããAnimationClipPlayableãå·®ãæ¿ããäºãåºæ¥ã¾ããããä¿®æ£æ¸ã¿
ã¢ãã¡ã¼ã·ã§ã³ãåãæ¿ãããå ´åãã¦ã§ã¤ãã§èª¿æ´ãã¾ãã
ä¸ã®ã³ã¼ãã®å ´åãweightããããã£ãã¹ã©ã¤ãã¼ã§å¶å¾¡ããã¨ããããªæãã«ãªãã¾ãã
ã¡ãªã¿ã«ãç¾å¨2ã¤ä»¥ä¸ã®ã¢ãã¡ã¼ã·ã§ã³ã®ã¦ã§ã¤ãã0以å¤ã«è¨å®ããã¨å¤ã«ãªãã¾ãã