NBC修改
This commit is contained in:
20
Assets/Scripts/NBC/Runtime/Core/Attributes/Attributes.cs
Normal file
20
Assets/Scripts/NBC/Runtime/Core/Attributes/Attributes.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace NBC
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class BaseAttribute : Attribute
|
||||
{
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class SortAttribute : Attribute
|
||||
{
|
||||
public int Sort;
|
||||
|
||||
public SortAttribute(int sort)
|
||||
{
|
||||
Sort = sort;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 32bc35c38967479d81a79bd1354d38e8
|
||||
timeCreated: 1733995116
|
||||
Reference in New Issue
Block a user