I have this variable
public Color uFogColor = (0.05f, 0.36f, 0.58f, 1);
And this is the error it gives me in Visual Studio is this
Error 2 Cannot implicitly convert type 'float' to 'UnityEngine.Color' D:\*****\***** Projects\!!!!!!!!!!\GAME\!!!!!!!!!!\Assets\***** Assets\Scripts\Player\PlayerController.cs 28 30 Assembly-CSharp-vs
and this
Error 1 Identifier expected D:\*****\***** Projects\!!!!!!!!!!\GAME\!!!!!!!!!!\Assets\***** Assets\Scripts\Player\PlayerController.cs 28 37 Assembly-CSharp-vs
And the error it gives me in unity is
Assets/***** Assets/Scripts/Player/PlayerController.cs(28,41): error CS1519: Unexpected symbol `0.36' in class, struct, or interface member declaration
Thanks in Advanced, and all help is appreciated.