- Home /
Unity 4.6 - Interactable UI Elements
Brief Description
Essentially what I want to do is create a single list of all the buttons, sliders, scroll bars, toggles, and input fields that are children of the current Object. Now I know I could create five different lists and modify it that way, but I'd much rather have a single list to cycle through.
I presume that Unity would inherit from a base class in order to not repeat code, but it may not be available outside their library.
My Question: Is there a publicly available base class to these elements that contains the interactable bool?
If what I'm trying to portray isn't overly clear then I apologize.
Answer by AyAMrau · Sep 04, 2014 at 01:02 AM
UnityEngine.UI.Selectable is parent of at least some of those for sure. You can check in the local documentation (help > scripting API in unity menu) for the full info.
I seriously appreciate your help! I completely forgot that Unity deploys local documentation.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Move files from folder a to folder b 1 Answer
Index out of range exception 1 Answer
create string array from xml 2 Answers