So basically in start, I am assigning DayNightController
void Start()
{
DayNightController dayNightScript = DayNightCycle.GetComponent<DayNightController>();
}
Then, when i try to access it anywhere else.
dayNightScript.daySpeedMultiplier = 0.05f;
It doesn’t recognize dayNightScript, doesnt matter where i put it, not sure why it does this…
(Its probably something simple, just cant come up with it XD)
@MatrixTai Hi. Apologies for the late reply. I set the emission strength all the way up to 99. The wall color was entirely black. It still didn't work. It only seems to be working if the wall color is lighter. I also noticed that the emission doesn't bounce of the walls if the metallic-ness of the walls' material is set high. This is not a good thing because I'm currently working on a game where an object should be emitting light over a fully metallic surface.
– TheSaviour