Unity Tutorial 3: Basic Scripting: Transform (1 / 2)

Published: 05 December 2013
on channel: UnityEducationSite
2,839
11

In this tutorial we will learn how to make our little cube move on X axis.

Unity 3D Official Site: http://unity3d.com/

Our Script that we wrote so far:

#pragma strict
var speedOfAnimation : float;
var cube : GameObject;

function Start()
{

}

function Update()
{
cube.transform.position.x += speedOfAnimation;
}


On this page of the site you can watch the video online Unity Tutorial 3: Basic Scripting: Transform (1 / 2) with a duration of hours minute second in good quality, which was uploaded by the user UnityEducationSite 05 December 2013, share the link with friends and acquaintances, this video has already been watched 2,839 times on youtube and it was liked by 11 viewers. Enjoy your viewing!