Search found 6 matches

by CyberFox
25 Jun 2019, 12:31
Forum: General Discussion
Replies: 14
Views: 417

Re: Unity3D autogenerate .g.cs

much appreciated!
by CyberFox
25 Jun 2019, 08:41
Forum: General Discussion
Replies: 14
Views: 417

Re: Unity3D autogenerate .g.cs

Thanks for the extra work. I have opened a github repo https://github.com/CyberFoxHax/NoesisGUIBindingsGenerator should be better than stitching the code together in the forums. I'll add you as a collaborator. I don't want the version history bloated with bracket changes, so i wont be accepting any ...
by CyberFox
19 Jun 2019, 11:43
Forum: General Discussion
Replies: 14
Views: 417

Re: Unity3D autogenerate .g.cs

Hello I'm back again with an update to the generator. This may be the final version as i don't see any more functions needed. Here's a demo: /* This file has been generated automatically. All user changes will be overwritten if the XAML is changed. */ using Noesis; namespace UserControls { [UnityEng...
by CyberFox
08 May 2019, 07:40
Forum: General Discussion
Replies: 14
Views: 417

Re: Unity3D autogenerate .g.cs

I tried the update. There were a bunch of differences in the code so i updated mine accordingly. NoesisCsBindingsGenerator.cs using System.IO; using System.Collections.Generic; using UnityEngine; using UnityEditor; using System.Text.RegularExpressions; using System.Linq; public class NoesisCsBinding...
by CyberFox
07 May 2019, 12:28
Forum: General Discussion
Replies: 14
Views: 417

Re: Unity3D autogenerate .g.cs

Yes, the x:Class is definitely the way to go. I've already had issues already because i needed (and forgot) to change the namespace structure manually Looking at your example projects i also noticed these "event connectors". I believe them to be a tad more difficult to identify using a regex. "x:Nam...
by CyberFox
06 May 2019, 12:08
Forum: General Discussion
Replies: 14
Views: 417

Unity3D autogenerate .g.cs

https://www.noesisengine.com/docs/2.2/Gui.Core.WPFComparison.html#code-behind-differences I'm too lazy and too stupid to manage that. Here's piece for generating the .g.cs code. You can find the latest version of the script at https://github.com/CyberFoxHax/NoesisGUIBindingsGenerator Installation: I...