Where is the code documentation/examples for the new uGUI?

I must be missing it somewhere. So far I can’t even establish a reference to a control in the canvas… lol.

Help > Unity Manual > UI (on left hand side)
Or
Help > Scripting Reference > type component (eg. RectTransform) in the search box.

There are also a bunch of videos here, which it’s important to watch. No screenshots or transcripts, sadly.

Thanks, but what I was missing was the using statement that needed to be added referencing UnityEngine.UI. Not sure where I missed that at but I am just now figuring it out.

And now that I have that… I am still having trouble referencing a panel. I am now trying to establish what class a Panel is represented by using the autocomplete in the editor because I have found no mention of it in the docs.

If you look at the Panel GameObject you can see that there’s no Panel component. It’s just a RectTransform with an Image component on it.

1 Like

Thank you!