Beispiel #1
0
 void Awake()
 {
     //Snags the character controller that commands the entire character
     _mov = GetComponentInParent <Sonic_Movement_v2>();
 }
Beispiel #2
0
 void Start()
 {
     _anim = GetComponent <Animator>();
     _mov  = GetComponentInParent <Sonic_Movement_v2>();
     _rot  = GetComponentInParent <SonicXRotation>();
 }
Beispiel #3
0
 void Start()
 {
     _mov  = FindObjectOfType <Sonic_Movement_v2>();
     angle = transform.Find("Angle");
 }
Beispiel #4
0
 void Start()
 {
     _mov = GetComponent <Sonic_Movement_v2>();
 }