public FEnumItem(Type type, object item) { _item = item; _type = type; _resource = RResource.Find(_type); }
/// <summary> /// 模拟构造函数 /// </summary> internal static void Init() { internalRes = new Dictionary<string, Texture2D>();//系统自带资源 externalRes = new Dictionary<string, Texture2D>();//系统自带资源 tempRes = new Dictionary<string, Texture2D>(); mainDll = new RResource("main", ""); }
public FEnumItem(object item) { _item = item; _type = item.GetType(); _resource = RResource.Find(_type); }