Search found 11 matches

  • 1
  • 2
by Weltista
28 Jul 2014, 19:44
Forum: General Discussion
Replies: 2
Views: 1061

[Unity] Binding to struct type

Hi, I was wondering if there is a way to bind View to a struct type. Say I have the class that contains struct type: public SpaceShip myShip; [Noesis.Extended] public class SpaceShip: Noesis.BaseComponent { private Damage_Resist _current_Resist; public Damage_Resist current_Resist { get { return _cu...
by Weltista
29 Jun 2014, 18:19
Forum: General Discussion
Replies: 4
Views: 2417

Re: [Unity] Casting sender to Button in its Click handler

Plus one -- very helpful, thanks. (Had to use Noesis.Button.GetIsMouseOver() before that).
by Weltista
28 Jun 2014, 21:10
Forum: General Discussion
Replies: 7
Views: 3434

Re: [Unity] Binding to the nested properties.

Hi, Thanks for the tips, it's actually working now, at least to some degree :? . Thing is that in order to make it work, you have to assign 'non-null' value to corresponding property before calling 'ContentControl.SetContent' , otherwise it won't show the property in GUI. So, the following code only...
by Weltista
26 Jun 2014, 23:28
Forum: General Discussion
Replies: 2
Views: 1168

[Unity] Noesis excepton(s) on exiting playmode

Hey,

For some reason I seem to be unable to login to bugtracker, so I post the repro scene along with the crash dumps here.
The problem originated in ShipModulesPanel.xaml, I commented the relevant lines in the file.
Unity 4.5, Noesis 1.1.8.
by Weltista
26 Jun 2014, 16:22
Forum: General Discussion
Replies: 3
Views: 2139

Re: [Unity] Exception when game is stopped

Joining 'exceptions' thread. I get this: {{{ Unhandled exception at 0x01470150: Access Violation reading location 0xAB77C548 }}} {{{ [ 0] [0x01470150] Unity.exe!Behaviour::Transfer<YAMLWrite> + 0xdd47c0 bytes [ 1] [0x26B339AF] Noesis.dll!Noesis::Gui::Binding::GetClassType + 0x16cf bytes [ 2] [0x26B3...
by Weltista
23 Jun 2014, 17:55
Forum: General Discussion
Replies: 7
Views: 3434

Re: [Unity] Binding to the nested properties.

Also I recommend you to use NotifyPropertyChanged() at the LocalObject.object_id property to provide updates to the NoesisGUI: Got it, but I can't do it ATM since LocalObject is a parent class, and there is a bug with NotifyPropertyChanged() events declared in parent classes: http://www.noesisengin...
by Weltista
23 Jun 2014, 15:21
Forum: General Discussion
Replies: 7
Views: 3434

Re: [Unity] Binding to the nested properties.

Hello ai! I adjusted code as you advised, but GUI still doesn't show this data. So I guess it wasn't the only problem or maybe this feature is not [correctly] implemented in Noesis plugin. It would be great to hear developers opinion on the matter. Thanks for your advice anyway -- at least there is ...
by Weltista
22 Jun 2014, 17:29
Forum: General Discussion
Replies: 7
Views: 3434

[Unity] Binding to the nested properties.

Hi! I'm trying to display the property that belongs not to the object set in DataContest itself, but rather the property of property of that object. In this case property prime_Target.object_ID of SpaceShip class object: public class LocalObject: Noesis.BaseComponent { ... public string object_ID; }...
by Weltista
17 Jun 2014, 01:02
Forum: General Discussion
Replies: 5
Views: 2082

Re: [Unity] Property changed event 'lost' in child classes?

Just wanted to add that upcasting doesn't help either. Following code yields the same exception:
SpaceShip myShip = new SpaceShip();
LocalObject myObj = (LocalObject) myShip;
myObj.currentSpeed = 10f;
Can you hint on how soon you are planning to release the next version?
by Weltista
16 Jun 2014, 15:09
Forum: General Discussion
Replies: 5
Views: 2082

Re: [Unity] Property changed event 'lost' in child classes?

Understood, thanks. Looking forward to the update then. Cheers.
  • 1
  • 2