using System.Collections; using System.Collections.Generic; using UnityEngine; public class ExploreDifferentSpaces : MonoBehaviour { // Start is called before the first frame update void Start() { var littleWolf = GameObject.FindGameObjectWithTag("ChildOfWolf"); // the tag is used to locate LittleWolf Debug.Log("Wolf world coordinates: " + transform.position); // this script is attached to Wolf Debug.Log("Wolf's child (LittleWolf) world coordinates: " + littleWolf.transform.position); } }