Lens Flare "Ignore Layers" mask from Code?

Is there a way to adjust the “ignore layers” mask of a Lens Flare Component from code? And if not, why?

Not according to othe scripting reference. I can’t imagine a situation where that would be necessary.

If you really, really have to change what layers a flare is affecting, create multiple flare assets and swap between them at runtime.

“I think there is a world market for maybe five computers.”Thomas Watson, president of IBM