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