Excuse me how should handle
CodePudding user response:
SoldierAnimation. Js this script line 143CodePudding user response:
To solve, I also do the shooting gameCodePudding user response:
Should be a unity 4 x script, to upgrade to the unity 5. X problems,Didn't see code don't know what's wrong, you can use the following method to fix:
Animation [r]. "run" normalizedSpeed=runSpeedScale;
Change
((GetComponent. & lt; Animation> () as Animation) (" run ") as AnimationClip.) normalizedSpeed=runSpeedScale; Or GetComponent. & lt; Animation> (a) [r]. "run" normalizedSpeed=runSpeedScale;