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