Question by
kiko-sweezy-kiko · May 22, 2017 at 03:08 PM ·
triggerimage effects
how to toggle image effect with a mouse click
i want a script to toggle image effects when i press certain key(Mouse1 for ex) then i want it to be disabled when i press it again can any one help me to do that with Javascript not C# cauz i beleive when you do that with c# it wont recoginize the image effect (tried it alredy)
Comment
Answer by kiko-sweezy-kiko · May 27, 2017 at 12:24 PM
look ive a got a C# script (image effect) i want it to be anabled when i RightMB click
Your answer
![](https://koobas.hobune.stream/wayback/20220612122324im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Resetting my cannon fire to its original transform 0 Answers
2D Power up script not working 0 Answers
Using triggers to then follow a specified path 0 Answers
Check if someone is seeing an object and inside of a trigger? 0 Answers
I need my timer to only start after it hits a trigger. Please help! 0 Answers