void Awake() { PathController = GetComponentInChildren <AbstractPathMind>(); PathController.SetCharacter(this); LocomotionController = GetComponent <Locomotion>(); LocomotionController.SetCharacter(this); }