Signed-off-by: TRAfoer <lhf190@outlook.com>

This commit is contained in:
2025-07-17 16:44:38 +08:00
parent 015a174afc
commit 55af142af3
29 changed files with 17816 additions and 16619 deletions

View File

@@ -9,6 +9,7 @@ using TMPro;
using System.Reflection;
using System.Linq.Expressions;
using Sirenix.Utilities;
using System.Collections;
//又在写大粪 ——神币
namespace Ichni.Editor
@@ -268,7 +269,7 @@ namespace Ichni.Editor
.Reference(typeof(Vector3))
.Reference(typeof(Vector2));//这是AI给的东西
foreach (MethodInfo i in typeof(EditorConsoleMethods).GetMethods().
ToList().Where(i => i.IsStatic && i.IsPublic && i.ReturnType == typeof(void)))
ToList().Where(i => i.IsStatic && i.IsPublic && (i.ReturnType == typeof(void))))
{
var parameters = i.GetParameters().Select(p => p.ParameterType).ToArray();
var delegateType = Expression.GetDelegateType(parameters.Concat(new[] { i.ReturnType }).ToArray());