Instantiating & Destroying Game Objects in Unity

  • Now right click in the hierarchy and create your game object and drag it to the prefab folder to create your prefab.
  • Now delete the game object in the hierarchy.
  • This should be done after you instantiate the game object

--

--

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