void Start() { theEnemyCharacterMotor = gameObject.GetComponent<CharacterMotor2> (); thePlayerCharacterMotor = GameObject.Find ("Player").GetComponent<CharacterMotor2> (); //Using "ThePlayerCharacterMotor" to find this to avoid having to search through everything again. thePlayerGrounded = thePlayerCharacterMotor.GetComponentInChildren<GroundCheck> (); }