Reply To: Code error from "chapter 3" – section: "Accessing controllers from a script"

Home Forums Books Mastering Unity 2D Game Development Code error from "chapter 3" – section: "Accessing controllers from a script" Reply To: Code error from "chapter 3" – section: "Accessing controllers from a script"

#5647

JoelR

Yes, I believe the problem is pg. 79 at the very bottom is missing

anim = (Animator)GetComponent(typeof(Animator));

this resolves itself when the code is changed on pg 84