accessing children of gameobjects.

i have an enemy as the main gameobject with script A, i have an empty gameobject with script B attached (or is a child of) to the enemy gameobject. how do i access script A from script B without doing a GameObject.Find?
there are multiple gameobjects called “Enemy” with multiple parented empty gameobjects.
reason why im doing this is because the enemy already uses an ontriggerenter for its targeting AI, and this parented gameobject would be used for the ground check which also uses an ontriggerenter. so i made the ground check on its own layer to only collide with “Walls”

ps, using C#

I will call the classes Enemy and EnemyChildScript.

using UnityEngine;

public class Enemy : MonoBehaviour
{
  // Assign in inspector.
  public EnemyChildScript m_childScript;

  void Start() {
    m_childScript.SomeMethod();
    string gameObjectName = m_childScript.name;
    Vector3 worldPosition = m_childScript.transform.position;
  }

}

Alternatively you can do this.

EnemyChildScript child { get; set; }

void Awake() {
  child = GetComponentInChildren<EnemyChildScript>();
  child.SomeMethod();
}