Unity5ã§å¯ã§ãããããããMecanimï¼ã¢ãã¡ã¼ã·ã§ã³ç®¡çã·ã¹ãã ï¼ã«æ°ããStateMachineBehaviourã追å ããã¾ããã ãã®æ©è½ã¯Mecanimã®ã¹ãã¼ã管çæ©è½ã®åã¹ãã¼ãã«æ¯ãèããè¨å®ã§ããæ©è½ã§ããåã¹ãã¼ãæ¯ã«æ¯ãã¾ããè¨å®ãããã¨ã§ãã³ã³ãã¼ãã³ãå´ããç¾å¨ã®ã¹ãã¼ãã確èªããã¨ãã£ãäºãããåãããããã«ãªãã¾ãã ç®æ¬¡ ç®æ¬¡ 使ãæ¹ ä½¿ã£ã¦éãã§ã¿ã ä¸æºå æ¯ãèãã®ç»é² ã¢ãã¡ã¼ã·ã§ã³ã®è¨å® 使ãæ¹ StateMachineBehaviourãç¶æ¿ããã¯ã©ã¹ãç¨æããAddBehaviourãã¿ã³ã使ã£ã¦æ¯ãèããç»é²ããã ãã§ããStateMachineBehaviourã§ã¯å¹¾ã¤ãã®ã³ã¼ã«ããã¯ãããã¾ãã OnStateEnterï¼ã¹ãã¼ãã«å ¥ã£ãæã«å¼ã°ãã OnStateUpdateï¼æ¯ãã¬ã¼ã å¼ã°ãã OnStateExitï¼ã¹ãã¼ã
{{#tags}}- {{label}}
{{/tags}}