-
sfernandez
Site Admin
- Posts: 3188
- Joined:
Re: Unity3D and MVVM binding
We will provide a function that will allow your code behind to notify of property changes.In another post chain there's a conversation about binding. The main bit about binding is the ability to bind to any property of a xaml element and have the ViewModel/code behind provide the notification when the underlying property/variable changes..
It would look in your example something like this:
Code: Select all
private bool _isVisible;
public bool IsVisible
{
get { return _isVisible; }
set
{
if (_isVisible != value)
{
_isVisible = value;
Noesis.Reflection.PropertyChanged("IsVisible");
}
}
}
Re: Unity3D and MVVM binding
Hi ronan,
1. Yes, that is an option we could incorporate to unity. Thanks for your suggestion.
2. The idea would be selling both in our page and in the unity store. We are still analyzing the implications of selling through the store. And in fact, we are preparing a promotional video of NoesisGUI for Unity and we would like some support on their side.
1. Yes, that is an option we could incorporate to unity. Thanks for your suggestion.
2. The idea would be selling both in our page and in the unity store. We are still analyzing the implications of selling through the store. And in fact, we are preparing a promotional video of NoesisGUI for Unity and we would like some support on their side.
2 questions about unity too
1) I see the unity option only includes forum support, any chance you could sell an upgrade to email support too? (maybe a monthly fee for that support?)
2) Will you sell it on the asset store? pretty pretty please with sugar on top? Even if it means you're selling both in & out of the asset store and the asset store version is more expensive? this makes it SO MUCH easier for me to manage licences and product as someone who owns 100s of assets on unity.
- edgarhsanchez
- Posts: 34
- Joined:
Re: Unity3D and MVVM binding
Glad to see binding being done with support for a RaisePropertyChanged feature. Will there also be an ObservableCollection?
-
sfernandez
Site Admin
- Posts: 3188
- Joined:
Re: Unity3D and MVVM binding
We don't have a ObservableCollection class, but you can use our Noesis.Collection, and any modification (add, insert, remove, clear,...) will be notified to NoesisGUI, and interface will be updated accordingly.
- edgarhsanchez
- Posts: 34
- Joined:
Re: Unity3D and MVVM binding
So I'd like to pre-order. How do I do that?
Re: Unity3D and MVVM binding
Hi edgar,
Sorry, we are not accepting payments yet because the infrastructure is not ready. As soon as it is ready we will make an announcement.
Thanks for your interest.
Sorry, we are not accepting payments yet because the infrastructure is not ready. As soon as it is ready we will make an announcement.
Thanks for your interest.
- edgarhsanchez
- Posts: 34
- Joined:
Re: Unity3D and MVVM binding
Having some problems implementing my own application using the DelegateCommand in the CommandExample.
Maybe someone could point out the mistake I'm making. The project will run in Unity and I can see where my MainControlViewModel is correctly instantiated but the command won't fire when I click the properties button. When I run the CommandExample project I don't get this error but I'm seeing where the problem is.
I've tried to attach the project files here but the file limit size is way too small even after zip. Is there another way?
Maybe someone could point out the mistake I'm making. The project will run in Unity and I can see where my MainControlViewModel is correctly instantiated but the command won't fire when I click the properties button. When I run the CommandExample project I don't get this error but I'm seeing where the problem is.
I've tried to attach the project files here but the file limit size is way too small even after zip. Is there another way?
-
sfernandez
Site Admin
- Posts: 3188
- Joined:
Re: Unity3D and MVVM binding
Can you send me your project files via mail to [email protected]?, or maybe you can send me an invitation to share some folder at Dropbox, Google Drive or Microsoft SkyDrive.
- edgarhsanchez
- Posts: 34
- Joined:
Re: Unity3D and MVVM binding
thanks... I've sent you my entire project "Content" files and Unity3D project scene.
- edgarhsanchez
- Posts: 34
- Joined:
Re: Unity3D and MVVM binding
You solved my problem I think.
With fixes to DataContext I needed to make in code and your changes to the Visibility stuff things should work after that.
big thanks.
With fixes to DataContext I needed to make in code and your changes to the Visibility stuff things should work after that.
big thanks.
Who is online
Users browsing this forum: Bing [Bot] and 2 guests