Marco Polo "Monster" character broken in 5.3.2
I get this error in several files after downloading from the tutorial page link
I'll try the asset store package
Assets/Monstergame/Resources/Scripts/CharacterControl.js(61,9): BCE0048: Type 'UnityEngine.Component' does not support slicing.
I'll try the asset store package
0
Comments
-
...actually I cannot find that "monster" character in the asset store - can someone provide a link?0
-
Update: after a quick search on Unity Answers I found the 'patch'
Here's a code snipit of both the old ("//") and patched code using GetComponent//animation[fallPoseAnimation.name].speed = fallAnimationSpeed; GetComponent.<Animation>()[fallPoseAnimation.name].speed = fallAnimationSpeed;
After fixing the errors the API Updater ran and patched the rest of the code.1 -
First, let's thank @MeachWare for reporting this issue and finding a fix. Better late than never.
PSA:
The original "MarcoPolo" tutorial is quite old now. We recommend our customers to move to the new "PunBasicsTutorial".
In any case, PUN package on the asset store contains the "MarcoPolo" tutorial and Monster character that are fully working.0