Search found 22 matches

by joshmond
17 Nov 2020, 06:27
Forum: General Discussion
Replies: 1
Views: 382

A few questions about working with Noesis and Unity

Hello guys, after playing around with Noesis I was able to get some simple UI's set up with Unity and get basic interaction but I have a few questions about the general workflow. The first question I have is whether or not I can interact with views/UI's without making the ViewModel a Monobehaviour. ...
by joshmond
15 Nov 2020, 06:51
Forum: General Discussion
Replies: 4
Views: 1622

Re: Issue With Custom views in NoesisGUI

I thought I would report back and give an update on where I am now with Noesis. I have no idea what the issue was or what was causing it, I got around the issue by creating a new Unity project, installing the NoesisGUI package and everything just worked. I could not get the current project to work, ...
by joshmond
13 Nov 2020, 03:46
Forum: General Discussion
Replies: 4
Views: 1622

Issue With Custom views in NoesisGUI

Hello guys, I recently have installed the Noesis plugin for Unity and I'm trying to create and load a smaple view. I have created a separate WPF project and created a very basic view. I have dragged both the MainWindow.xaml view and the MainWindow.xaml.cs file over to my Unity project but I get erro...
by joshmond
25 Jun 2018, 22:53
Forum: General Discussion
Replies: 37
Views: 3898

Re: MonoGame: switching between views

I have tried using a reference to my MainViewModel from my LoginView, something similar to this: mainViewModel.SelectedViewModel = new CreateCharacterViewModel(mainViewModel); This didn't work and kept throwing a null reference exception, in order for this to work, would I have to take SelectedViewM...
by joshmond
25 Jun 2018, 00:35
Forum: General Discussion
Replies: 37
Views: 3898

Re: MonoGame: switching between views

Hey guys, I have one small problem when switching my views that's quite bizarre I am getting the intended behaviour (sort of) in that I can switch from my main window to my LoginView just fine however, when I try to switch from my LoginView to my CreateCharacterView, the button doesn't do anything. ...
by joshmond
21 Jun 2018, 13:44
Forum: General Discussion
Replies: 37
Views: 3898

Re: MonoGame: switching between views

I just want to thanks you again for all your help mate, your advice was great and I have everything working now, I can now switch between UserControls. The only thing I'm a little unsure on is two things, one is the way that I'm choosing to switch views, I'm wondering if that's ok or if there is a m...
by joshmond
21 Jun 2018, 00:18
Forum: General Discussion
Replies: 37
Views: 3898

Re: MonoGame: switching between views

If my xaml is outside of my project and my xaml.cs file is within my project, how would the paths look in the xaml because I would still need to let my xaml files know about my views and viewmodels, will they have the same namespace still, if not is is possible to reference a class in a different na...
by joshmond
20 Jun 2018, 23:26
Forum: General Discussion
Replies: 37
Views: 3898

Re: MonoGame: switching between views

Awesome, thanks so much for all your help dude. Where are the xaml files usually stored in these types of projects, would you recommend creating a folder outside the project altogether and just referencing that. You mentioned that the xaml files should be worked on in Blend, does Blend store the xam...
by joshmond
20 Jun 2018, 22:26
Forum: General Discussion
Replies: 37
Views: 3898

Re: MonoGame: switching between views

For this to work do I also have to modify the xaml file or does that stay the same? Ffter adding the noesis stuff that seems to break my xaml. Below are some screenshots of the various exceptions being thrown. How would I go about excluding the xaml but keeping the xaml.cs file as for me they show a...
by joshmond
19 Jun 2018, 13:27
Forum: General Discussion
Replies: 37
Views: 3898

Re: MonoGame: switching between views

After some messing around with the xaml, I think that the problem may lie in my heirarchy and how I've set the project up. Blow I've posted a link to my entire project, I was wondering if anyone could take a look and provide some feedback. I feel like I'm very close to solving this problem and getti...