I've been working on a strategy game which ends up with a lot of buttons in the UI. However, I've been indecisive about how to create buttons. I ended up creating buttons with three different methods and I think that I should really just unify them to one thing. Some use the "Button" component, some use the "Event Trigger" component, and for most I'm using raycasting to just see where the mouse is when clicked. Is one of these ways of making buttons considered better than the others? My instinct is to do everything with raycasting but I'm not sure. Even then I'm not sure if I should just have one place where all the raycasting is checked or separate ones for separate menus. What do you all think?