Add support for generic types in Scripting API with Template flag

This commit is contained in:
Wojtek Figat
2022-05-23 19:43:34 +02:00
parent d39b6d7120
commit b70bce1746
9 changed files with 63 additions and 41 deletions

View File

@@ -541,7 +541,7 @@ namespace Flax.Build.Bindings
private static bool UseBindings(object type)
{
var apiTypeInfo = type as ApiTypeInfo;
if (apiTypeInfo != null && apiTypeInfo.IsInBuild)
if (apiTypeInfo != null && apiTypeInfo.SkipGeneration)
return false;
if ((type is ModuleInfo || type is FileInfo) && apiTypeInfo != null)
{