15 lines
352 B
C#
15 lines
352 B
C#
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;
|
|
}
|
|
}
|