Script Gogoing: function () { Let player=cc. Find (' Canvas/player '); Var anim=this. Player. GetComponent (cc) Animation); Var animState=anim. Play (" stop "); AnimState. WrapMode=cc. WrapMode. Loop; AnimState. RepearCount=Infinity; },
Error: Uncaught TypeError: always read the property 'getComponent' of underfined