cakeslice / Outline-Effect

Outline Image Effect for Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable\Disable Outlines

IncDD opened this issue · comments

commented

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

commented

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.

commented

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

Fixed with #43 .