void Start() { xRotation = GetComponent <SonicXRotation>(); _rb = GetComponent <Rigidbody>(); _cam = Camera.main.transform; }
void Start() { _anim = GetComponent <Animator>(); _mov = GetComponentInParent <Sonic_Movement_v2>(); _rot = GetComponentInParent <SonicXRotation>(); }