(client) feat:定义存档标记相关属性
This commit is contained in:
13
Client/Assets/Scripts/Base/Attributes.cs
Normal file
13
Client/Assets/Scripts/Base/Attributes.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace Base
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
|
||||
public class NeedSaveAttribute : Attribute
|
||||
{
|
||||
}
|
||||
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
|
||||
public class UnSaveAttribute : Attribute
|
||||
{
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user