|
Unity 3d Tutorial - Create Object
[Back]
Code:var object : GameObject;
//This is the Variable that will let you pick what object you want it to create var object : GameObject = Instantiate(object, transform.position, transform.rotation); //This will create the object on top of the object this code is on. |
Description:
In this tutorial, I will show you some Basic Scripting,
on how to Create Object in Unity using java. If you have any questions feel free to ask. |