Light2D icon indicating copy to clipboard operation
Light2D copied to clipboard

Default MultiplicateColour in LightObstacleGenerator.cs

Open damagefilter opened this issue 8 years ago • 1 comments

Hello.

I'll try to make it short: Basically: Since the MutliplicativeColour is full black the generated obstacle overlays the actual object completely black. Do you think there can be a way to set a default colour somewhere in a settings panel, for instance?

I don't know of the usage statistics and what is more common in general but at least I find myself rarely wanting the obstacle to be pitch black Of course it can always be changed but in all likelihood one might have a set up where you want a certain colour in most cases and not having to adjust it seems like a nice addition.

I could make a pull-request for some such thing I'm just wondering if that'd be something you'd want to do in the first place.

damagefilter avatar Feb 21 '17 12:02 damagefilter

in the light Obstacle Generator - just change the this code:

public Color MultiplicativeColor = new Color(0, 0, 0, 1f); - i changed my alpha to 0.5f

to what ever color you want.

also it loads the dual color only in editor view. which means you will need to make it so it loads at run time- or it is a variable that you select. (DualColor) Material.

samuelGrahame avatar Jan 10 '18 10:01 samuelGrahame