Cannot explicitly call operator or accesor
If I try to compile something like this in visual studio I get this compiler error "'LightingManager.time.set' Cannot explicitly call operator or accsesor"
I am very new to coding and I know some basics and this is the only problem I have run in to. Any help would be much appreciated.
Thanks.
Code:
if (GUI.Button(new Rect(60f, 80f, 80f, 20f), "Set Day"))
{
LightingManager.set_time(15);
}
I have the same issue. :S