Hey all, simple question here.
I was wondering if there was a way to get the UI they use for buttons in another script. I have some functions I want to be called on some other scripts. I could program it in using GameObject.Find and GetComponent, but that wouldn’t be as generic as I’d like.
If not, I can resort to dragging GameObjects into a lit and use SendMessage(); on each of them, but that doesn’t seem that efficient… Anyway, if anyone has some tips, I’d love to hear them.
Thanks for your time!
-RiokuTheSlayer
