Answers for "how to spawn in your own objects unity"

C#
8

spawn a object with unity

//In Unity, spawn = instatiate.
//So if you want to spawn something you instantiate it like so:

public GameObject WhatToInstantiate; //Set this in the inspector to what you want to spawn

Instantiate(WhatToInstantiate, transform.position, transform.rotation);
Posted by: Guest on August-25-2021

Code answers related to "how to spawn in your own objects unity"

C# Answers by Framework

Browse Popular Code Answers by Language