in JS it would be
var rlight1 : light;
but i'm trying to get this into csharp, and i'm having some difficulty. Help!
in JS it would be
var rlight1 : light;
but i'm trying to get this into csharp, and i'm having some difficulty. Help!
Light rlight1;
C# is case-sensitive. Also, by default, variables are private, so if you want to see it in the inspector or be accessible to other scripts, it would be:
public Light rlight1;