예제 #1
0
 public FEnumItem(Type type, object item)
 {
     _item     = item;
     _type     = type;
     _resource = RResource.Find(_type);
 }
예제 #2
0
 /// <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", "");
 }
예제 #3
0
 public FEnumItem(object item)
 {
     _item     = item;
     _type     = item.GetType();
     _resource = RResource.Find(_type);
 }