using System; namespace Fort23.GameData { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)] public class ConfigAttribute : Attribute { /// <summary> /// 资源名字 /// </summary> public string prefab { get; set; } } }