void Awake()
 {
     anim       = GetComponentInChildren <Animator>();
     robot      = GetComponent <Robot>();
     locomotion = GetComponent <RobotLocomotion>();
     cc         = GetComponent <CharacterController2D>();
 }
Esempio n. 2
0
 void Awake()
 {
     locomotion = GetComponent <RobotLocomotion>();
 }