NoesisGUI Unity 4.0.0b5 and using UserControl
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
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
-
-
sfernandez
Site Admin
- Posts: 3363
- Joined:
Re: NoesisGUI Unity 4.0.0b5 and using UserControl
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.
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 65 times
Re: NoesisGUI Unity 4.0.0b5 and using UserControl
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
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
Re: NoesisGUI Unity 4.0.0b5 and using UserControl
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.
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 1 guest