Search found 19 matches

  • 1
  • 2
by b1qb0ss
12 May 2016, 19:57
Forum: General Discussion
Replies: 5
Views: 3067

Re: [Unity] Save Problem

InventoryNew..ctor ()
UnityEditor.DockArea:OnGUI()
Could you paste the code for the ctor of InventoryNew?
sorry for replying after 2 weeks but i had some real life business and i fixed the error Thank you
by b1qb0ss
25 Apr 2016, 19:50
Forum: General Discussion
Replies: 5
Views: 3067

Re: [Unity] Save Problem

Hi, It seems you are trying to create an InventoryNew label control when NoesisGUI is not initialized. Our framework only works in Play mode if you attach a NoesisGUIPanel component in your scene. Could you please verify it? nope i never created label it's just 2 textboxes and button for login <Gri...
by b1qb0ss
25 Apr 2016, 09:51
Forum: General Discussion
Replies: 5
Views: 3067

[Unity] Save Problem

whenever i save the project or press Play NoesisGUI throws this error NullReferenceException: Object reference not set to an instance of an object Noesis.NoesisGUI_PINVOKE.new_Label () (at Assets/Plugins/NoesisGUI/Scripts/Proxies/NoesisGUI_PINVOKE.cs:66124) Noesis.Label.CreateCPtr (System.Type type,...
by b1qb0ss
08 Jan 2016, 12:33
Forum: General Discussion
Replies: 9
Views: 6639

Re: [Unity] simplest way to have a messagebox

The problem is that the name given in the XAML and the one used in FindName does not match. <Grid x:Name="LayoutRoot" Background="#80000000"> mainWindowRoot = (Grid)root.FindName("xpGrid"); It should be mainWindowRoot = (Grid)root.FindName("LayoutRoot"); i ha...
by b1qb0ss
08 Jan 2016, 12:14
Forum: General Discussion
Replies: 9
Views: 6639

Re: [Unity] simplest way to have a messagebox

and this is how i'm using the MessageBox var gui = GetComponent<NoesisGUIPanel>(); Grid root = (Grid)gui.GetContent(); mainWindowRoot = (Grid)root.FindName("xpGrid"); MessageBox msgBox = new MessageBox { Title = "Quit?", Message = "Do you really want to quit?", OkText =...
by b1qb0ss
08 Jan 2016, 12:13
Forum: General Discussion
Replies: 9
Views: 6639

Re: [Unity] simplest way to have a messagebox

XML <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="MessageBox"> <Grid x:Name="LayoutRoot" Background="#80000000"> <Border BorderBrush="Black" Bo...
by b1qb0ss
08 Jan 2016, 10:20
Forum: General Discussion
Replies: 9
Views: 6639

Re: [Unity] simplest way to have a messagebox

i was wondering how to add Click event for the button i used FindName to find the button but i'm getting
NullReferenceException: Object reference not set to an instance of an object
by b1qb0ss
07 Jan 2016, 17:46
Forum: General Discussion
Replies: 9
Views: 6639

Re: [Unity] simplest way to have a messagebox

great thank you
by b1qb0ss
28 Dec 2015, 13:51
Forum: General Discussion
Replies: 9
Views: 6639

[Unity] simplest way to have a messagebox

i want to know what is the simplest way to get a popup messagebox with OK / Cancel buttons

Thanks in advance
by b1qb0ss
27 Dec 2015, 13:11
Forum: General Discussion
Replies: 4
Views: 2575

Re: [Unity] NoesisGUIPanel has to be in MainCamera

The recommended approach is described here:

Best approach to switch/navigate between views

Basically, you have a root container in the NoesisGUI panel and dynamically add/remove XAMLs.

I also recommend you having a look at the MenuDemo sample
great thanks i'm new to Xaml too :D
  • 1
  • 2