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