unity3d javascript tutorial (part 1)

Published: 22 October 2013
on channel: anthony hajjar
225
1

#pragma strict

function Update ()
{
if(Input.GetKeyDown(KeyCode.R))
{
gameObject.renderer.material.color = Color.red;
}
if(Input.GetKeyDown(KeyCode.G))
{
gameObject.renderer.material.color = Color.green;
}
if(Input.GetKeyDown(KeyCode.B))
{
gameObject.renderer.material.color = Color.blue;
}
}


On this page of the site you can watch the video online unity3d javascript tutorial (part 1) with a duration of hours minute second in good quality, which was uploaded by the user anthony hajjar 22 October 2013, share the link with friends and acquaintances, this video has already been watched 225 times on youtube and it was liked by 1 viewers. Enjoy your viewing!