Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Newbie: problem with light in tutorial. C#

$
0
0
Hi all, i'm seeing something a little confusing, doing the stealth tutorial, copying out code from the video ( i understand it as i go, better than copypasting)

Anyways, this line causes a problem

// When the level starts we want the light to be "off".
light.intensity = 0f;


See, whenever i type "light" in monodevelop, it immediately and forcibly autocorrects itself to "Light" and highlights itself too. My prior experience would seem to indicate that this is some kind of reserved keyword in...

Newbie: problem with light in tutorial. C#

Viewing all articles
Browse latest Browse all 1466670

Trending Articles