Marco Polo "Monster" character broken in 5.3.2

Options
I get this error in several files after downloading from the tutorial page link
Assets/Monstergame/Resources/Scripts/CharacterControl.js(61,9): BCE0048: Type 'UnityEngine.Component' does not support slicing.
I'll try the asset store package

Comments

  • MeachWare
    Options
    ...actually I cannot find that "monster" character in the asset store - can someone provide a link?
  • MeachWare
    Options
    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.
  • JohnTube
    JohnTube ✭✭✭✭✭
    edited August 2016
    Options
    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.