CSharpRedotTools / Template

A template used for quickly setting up new Redot 4 C# games.
MIT License
111 stars 8 forks source link

I need help reducing duplicate code for 3 functions in VisualUIBuilder.cs #52

Closed valkyrienyanko closed 1 month ago

valkyrienyanko commented 1 month ago

The 3 functions are

I tried doing this myself but weird behavior (wrong elements being removed or initial values being duplicated) arose so I reverted these commits.

Be sure to test all types you change. For example if you change Array type you should test the following.

[Visualize] string[] test;
[Visualize]
public void Test(string[] test) {}

Make sure all the keys and values are updated properly.

So far everything works 100% so I'm afraid to change anything myself.

valkyrienyanko commented 1 month ago

Moved to https://github.com/ValksGodotTools/Visualize/issues/1