using System.Collections; using System.Collections.Generic; using UnityEngine; public class MicroSubParenting : MonoBehaviour { private GameObject microSub; // Start is called before the first frame update void Start() { microSub = GameObject.FindWithTag("MicroSub"); transform.parent = microSub.transform; } }