They appear and disappear, as if by magic!

How to Instantiate and Destroy GameObjects in Unity

A Hide and Seek game I made with some AI tools!

Instantiate

Using the second method to spawn a clone of an Entity, and it will spawn at the Spawner position, with the original prefab’s rotation, and without a parent.
Huh? Where am I? Where’s Reznov?

Destroy

Using the second method to destroy a GameObject. This time, I am referencing the Entity GameObject to destroy it after 10 seconds.
And like that, this Entity was never seen again…

Conclusion

I am a recently graduated Game Designer with strong knowledge of the Unity Engine! You can check my game “Noise Hunters” on Steam!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store