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