uGUI Raycast Target option on my own script
I'm making a simple script to attach to uGUI objects, which I'd like to be clickable. I notice that Unity's own scripts have a bool "Raycast Target" which denotes whether the object can be a target or not for the events system. How do I add this "Raycast Target" option to my own scripts?
Comment