// Use this for references void Awake() { // Configuración general del pasillo way = transform.parent.parent.GetComponent<WaySettings>(); backWall = way.GetComponentInChildren<BackWall>(); backWall.Hide(); }