Quantcast
Viewing latest article 25
Browse Latest Browse All 78

How to use U.I.Elements/ U.I.Builder to access bools/toggles?

Hello, and thank you. I have 3 main questions regarding U.I. Elements/ U.I. Builder. --- 1. Am I correct in thinking that the new U.I. Builder window can be used to expand the Editor/Inspector? 2. If U.I. Builder cannot or shouldn't be used to expand the Editor/Inspector, then I should use U.I. Elements? 3. What does a simple C#,USS,UXML. setup look like when it just displays an group of named Toggles/bools. My final goal is just to have a Class or Struct contain 64 bools(eventually in an array), that I would like to have displayed in the inspector in 8x8 rows.(eventually color coded rows). I am struggling to understand or find an example of Toggle/Bool U.I. Elements. I have read and watched the following material on the topic. - https://docs.unity3d.com/2019.1/Documentation/Manual/UIElements.html?_ga=2.266540230.955561532.1574130369-226322024.1570674277 - https://www.youtube.com/watch?v=CZ39btQ0XlE - https://www.youtube.com/watch?v=sVEmJ5-dr5E&t=1075s - https://www.youtube.com/watch?v=t4tfgI1XvGs&t=1433s - https://www.youtube.com/watch?v=MNNURw0LeoQ&t=744s - https://blogs.unity3d.com/2019/04/23/whats-new-with-uielements-in-2019-1/ although some of the C#, USS, and UXML script confuses me

Viewing latest article 25
Browse Latest Browse All 78

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>