Home > other >  Model cannot be used
Model cannot be used

Time:09-19

Used in unity5.3 model error, error: Assets/Cartoon as Soldier/Scripts/as/soldierAnimation js (143) : BCE0048: Type 'ponent UnityEngine.Com does not support slicing.
Excuse me how should handle

CodePudding user response:

SoldierAnimation. Js this script line 143

CodePudding user response:

To solve, I also do the shooting game

CodePudding 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;

  • Related