Search found 32 matches

by kemarofangs
31 Jul 2016, 06:35
Forum: General Discussion
Replies: 12
Views: 5303

Re: Cast As Interface

I seem to have issues trying to make unity realize that changes have been made. It's like the editor won't auto compile. Frustrating. I did windows update and rebooted then the Lion example project magically started working. Had to open my XAML file and change the background color on my personal pro...
by kemarofangs
31 Jul 2016, 01:23
Forum: General Discussion
Replies: 12
Views: 5303

Re: Cast As Interface

So I've got a fresh copy of Unity 5.4.0f3 installed with Noesis 1.2.6f5. Loading the sample lion project produces the following error... The file is there so I'm trying to figure out why the Noesis GUI panel can't locate it. Any ideas or should I just wait for the new unity store noesis package to c...
by kemarofangs
29 Jul 2016, 23:48
Forum: General Discussion
Replies: 12
Views: 5303

Re: Cast As Interface

Ok, I've almost got it working. Had to comment alot of the #ifndef / #endif sections since I'm using the latest full version of unity 4 and it doesn't understand the unity 5 references. Can you advise on how to get the root element of the noesis panel now? NoesisGUIPanel noesisGUIPanel = GetComponen...
by kemarofangs
29 Jul 2016, 13:42
Forum: General Discussion
Replies: 12
Views: 5303

Re: Cast As Interface

So, is there a proper way to overwrite / upgrade the noesis unity asset? I backed up before upgrading but have since only ran into problems. It seems that the DependencyData cs file is empty no matter what I do. It's preventing UIElementData from compiling. Even tried reimporting the old asset then ...
by kemarofangs
29 Jul 2016, 12:32
Forum: General Discussion
Replies: 12
Views: 5303

Re: Cast As Interface

Hey, mine's version 1.1 from 2014. I'm downloading the new one since I'm registered now. thanks!
Just got to muck through importing the latest version without errors. Seems DependencyData.cs in Proxies is an empty file...
by kemarofangs
29 Jul 2016, 08:55
Forum: General Discussion
Replies: 12
Views: 5303

Cast As Interface

What is the proper way to cast interfaces in the code behind? Is there a simple trick to make this work? // Attempt 1) uiElement is valid and implements I_Equipment I_Equipment iEquipment = uiElement as I_Equipment; // iEquipment is NULL // Attempt 2) uiElement is valid and implements I_Equipment I_...
by kemarofangs
22 Jul 2016, 22:18
Forum: General Discussion
Replies: 3
Views: 2468

Re: Issue With Determining UIElement Actual Size

Thank you again. Changing to grid fixes my issue.
by kemarofangs
22 Jul 2016, 22:17
Forum: General Discussion
Replies: 2
Views: 2093

Re: How To Add Expression Blend XAML w/ Code Behind

Thanks! I feel so dumb right now.
by kemarofangs
22 Jul 2016, 04:05
Forum: General Discussion
Replies: 3
Views: 2468

Issue With Determining UIElement Actual Size

Hey, a simple problem I'm having is grabbing the actual size of a parent container. The child containers may have any number of randomly sized components. In VS this code just works. Is this a bug that exists / was fixed? If there is another way to get the size please let me know. I looked here but ...
by kemarofangs
22 Jul 2016, 00:51
Forum: General Discussion
Replies: 2
Views: 2093

How To Add Expression Blend XAML w/ Code Behind

I'm trying to integrate an expression blend xaml into unity with noesis and having trouble. The conversion doesn't seem to work. What am I doing wrong? Here's the specific error. "Ignoring unknown type 'Silver_Gauntlet'" Unity version 4.7.1.1f1 XAML that uses other custom defined xaml. <Ca...