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