cakeslice / Outline-Effect

Outline Image Effect for Unity
MIT License
1.43k stars 198 forks source link

Enable\Disable Outlines #33

Closed IncDD closed 4 years ago

IncDD commented 6 years ago

How to disable Outline when starting a project? And enable if necessary.

eobet commented 6 years ago

Yes, this script enables outline components in the editor even if you manually disabled them yourself.

That's really bad form, because it makes it difficult to write your own scripts that enables and disables the effect.

iseta commented 4 years ago

Hi, I'm not sure if this is still helpful to anyone, or even to cakeslice itself but a workaround I found on this issue is to comment out everything inside the OnEnable() function inside the OutlineEffect.cs, it seems to work alright now and I can enable/disable in the editor or by scripts whenever I choose. image

JimmyCushnie commented 4 years ago

Fixed with #43 .