// Awake void Awake() { anim = transform.root.gameObject.GetComponent <Animator>(); playerCtrl = transform.root.GetComponent <TwoDPlayerControl>(); }
// Awake void Awake() { anim = transform.root.gameObject.GetComponent<Animator>(); playerCtrl = transform.root.GetComponent<TwoDPlayerControl>(); }