I have a prefab that is, maritime navigation lights. It has a Java script that says:
var thisColor: Color;
function Awake (){
light.color = thisColor;
}
Each light’s color is then selected from the Inspector. It works well but the problem is that, it should have a halo since ‘Draw Halo’ is selected but that doesn’t appear. It does if that line is missing. It does it too if the line is, for example:
light.color = Color.red;
Strange, isn’t it? Is it a bug?