c1_unity/Assets/Editor/HotfixCfg.cs
2023-04-03 11:04:31 +08:00

30 lines
676 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using XLua;
namespace BFEditor
{
public static class HotfixCfg
{
[Hotfix]
public static List<Type> Properties
{
get
{
var types = (from type in Assembly.Load("Assembly-CSharp").GetTypes()
where type.Namespace == "BF"
select type).ToList();
return types;
}
}
[Hotfix]
public static List<Type> Others = new List<Type>()
{
//typof(xxx)
};
}
}