+ 2
How do you add a object in unity using the classes of c#
by using monodeveloper in unity engine
2 Respostas
+ 1
You could Instantiate() look on unity documentation or YouTube for more info
0
Make a script and put this in it.
public GameObject yourObject;
private Vector3 spot;
void start(){
spot= new Vector3(0,0,0);
Instantiate(thing, spot, transform.rotation
}
Save your script and put it on an object in your scene. In the inspector for that object the script has a space for you to place the pre-fab you would like to add to the scene. Drag and drop.