Araziel
Topic Author
Posts: 3
Joined: 02 Feb 2025, 11:58

GameMode as Data Context / Debug

07 Feb 2025, 13:27

Hi,

In UE5, I want to set my GameMode as the Data Context. The bindings in the XAML are all correctly set, but unfortunately, no value with "w/ NotifyChanged" is being applied.
If I set the View itself as the Data Context and assign a test value there, it is applied correctly.

Is it normal to have issues with GameMode, or what is the correct workflow?

Thanks!
 
User avatar
sfernandez
Site Admin
Posts: 3363
Joined: 22 Dec 2011, 19:20

Re: GameMode as Data Context / Debug

17 Feb 2025, 19:23

Any UObject derived class should work as DataContext, so setting your GameMode should be fine.

How are you setting the GameMode as DataContext of the View (NoesisInstance)?

Who is online

Users browsing this forum: Bing [Bot] and 3 guests