Você está na página 1de 1

// DGH1 // Oisin Bourke // The function Start () will always run before anything else, so this will be e xecuted

at runtime. function Start () { // a variable of the GameObject type will be created, a basic primitive cube. // with a rigidbody, position and size are also defined here. var cube = GameObject.CreatePrimitive(PrimitiveType.Cube); cube.AddComponent(Rigidbody); cube.transform.position = Vector3 (995,5,1045); cube.transform.localScale+= Vector3(10.0,10.0,10.0); }

Você também pode gostar