- Home /
ImageEffects-toggling through code issues
I'm using Unity5 and i'm having issues with toggling ImageEffects of any sort through coding C# or JavaScript. i have even tried to write the most simplistic code of (Really rough example)
function start ()
{
Camera.main.Getcomponent<SSAOEffect>().enable = false;
}
Here is what i want to be able to do a toggle bool consisting of a on/off on(checked) = (example) SSAO ON off(unchecked) = SSAO off
any info you can give me will be better than 5hr of searching for a solution
Comment
Your answer
Follow this Question
Related Questions
SSAO shader problem 0 Answers
Option to toggle SSAO in game? [Solved] 1 Answer
BloomAndFlares Monodevelop compile error 0 Answers
Primitive Nitro Effect 1 Answer
Noob trying to figure out Depth of Field, documentation (edited) 1 Answer