Refactor various Editor APIs to use auto-generated bindings instead of manual code
This commit is contained in:
@@ -1416,13 +1416,12 @@ namespace Flax.Build.Bindings
|
||||
toManagedContent.Append($"return new {structureInfo.Name}() {{ ");
|
||||
|
||||
bool useSeparator = false;
|
||||
contents.AppendLine();
|
||||
foreach (var fieldInfo in structureInfo.Fields)
|
||||
{
|
||||
if (fieldInfo.IsStatic || fieldInfo.IsConstexpr)
|
||||
continue;
|
||||
|
||||
contents.AppendLine();
|
||||
|
||||
string type, originalType;
|
||||
if (fieldInfo.Type.IsArray && (fieldInfo.NoArray || structureInfo.IsPod))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user