roozbehid
Topic Author
Posts: 9
Joined: 30 Apr 2025, 17:59

NoesisGUI Unity 4.0.0b5 and using UserControl

24 Oct 2025, 20:56

Is this feature working?
Meaning if I put a usercontrol in my page, should I clicking on "Start" button inside Studio display the control?
I tried several of samples like AnimatedNumber or NineSlice and it didnt work. I didnt tried the unity one...but I was hoping it would work insdie studio
 
User avatar
sfernandez
Site Admin
Posts: 3363
Joined: 22 Dec 2011, 19:20

Re: NoesisGUI Unity 4.0.0b5 and using UserControl

27 Oct 2025, 11:34

Hello,

I have tested creating a UserControl in Unity and then adding it to a page with Noesis Unity 4.0.0b5 and it works as expected. The key is that UserControl needs code to load its associated xaml.

I have attached a small example that explains how it's done: take a look at MyControl.xaml.cs constructor.

Hope it helps, cheers.
Attachments
TestUserControl.unitypackage
(8.01 KiB) Downloaded 64 times
 
roozbehid
Topic Author
Posts: 9
Joined: 30 Apr 2025, 17:59

Re: NoesisGUI Unity 4.0.0b5 and using UserControl

27 Oct 2025, 13:51

Great thanks it worked.
That would be great if in next versions you also ship examples like this or your many examples like AnimatedNumber, 9Slice, etc. also as part of package
 
User avatar
jsantos
Site Admin
Posts: 4822
Joined: 20 Jan 2012, 17:18
Contact:

Re: NoesisGUI Unity 4.0.0b5 and using UserControl

28 Oct 2025, 11:00

Thank you for the feedback! We really appreciate it.

And yes, we’re actively working on adding more samples as part of future beta releases.

Who is online

Users browsing this forum: No registered users and 0 guests