示例#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>();
 }