I’m trying to figure out a clean/elegant way to globally toggle shadows on and off. Has anyone tackled this already? If so, how did you approach it?
I’d say somthing like:
projectors = FindObjectsOfType (Projector);
for (var p : Projector in projectors) {
p.enabled = false;
}
I rewrote it for C#, but it works great - thanks. ![]()