Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 1
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { public GameObject respawnPrefab; public GameObject respawn; void Start() { if (respawn == null) respawn = GameObject.FindWithTag("Respawn"); Instantiate(respawnPrefab, respawn.transform.position, respawn.transform.rotation) as GameObject; } }
+ 1
Is this what you are asking for?
+ 1
In case you want to apply tags
the inspector shows the drop-down menus below every GameObject's name, to apply an existing tag to a GameObject open the tag's drop-down and choose the tag you want to apply
+ 1
No problen
+ 1
Problem*