Get three-mesh-ui references from canvas elements


I’d love to use Unity Canvas for rough layouting our UI elements and then adjusting it and setting text content on runtime. Is it possible to get a reference to the underlying three-mesh-ui blocks and inline elements?


Original Post on Discord

by user 827095900392259645

Yes, every UI component has a field “shadowComponent” which is the related three mesh ui object