diff --git a/Assets/XLua/Editor/ExampleConfig.cs b/Assets/XLua/Editor/ExampleConfig.cs index a4c3dd519..5f186a377 100644 --- a/Assets/XLua/Editor/ExampleConfig.cs +++ b/Assets/XLua/Editor/ExampleConfig.cs @@ -187,6 +187,10 @@ public static class ExampleConfig // { // foreach (var typeArg in type.GetGenericArguments()) // { + // if (typeArg.IsGenericParameter) { + // //skip unsigned type parameter + // continue; + // } // if (typeHasEditorRef(typeArg)) // { // return true;