Exemplo n.º 1
0
            private static bool CheckFunc(ScriptType scriptType)
            {
                if (scriptType.IsStatic || scriptType.IsGenericType || !scriptType.IsPublic || scriptType.HasAttribute(typeof(HideInEditorAttribute), true))
                {
                    return(false);
                }
                var managedType = TypeUtils.GetType(scriptType);

                return(!TypeUtils.IsDelegate(managedType));
            }