Topic was automatically imported from the old Question2Answer platform.
Asked By
AnindyaRoy
I want let the player use a certain key to turn shadows on and off but do I get access to the shadows?
Also, later I want to implement this feature as a toggle button in a separate settings menu and I am unable to get access to the directional light from the settings menu. How do I do it?
To your second question of how to access it from a button in your settings menu… That really depends on how you’ve put your game together, but the most likely answer is via a signal.