21 lines
475 B
C#
21 lines
475 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
//将一些不需要赋值或者手动赋值的进行标记,以提高效率
|
|
|
|
/// <summary>
|
|
/// 手动标签;请将标签置于首位
|
|
/// </summary>
|
|
[AttributeUsage( AttributeTargets.All, AllowMultiple = true, Inherited = true)]
|
|
public class ManualAttribute : Attribute
|
|
{
|
|
private string _name;
|
|
public string name => _name;
|
|
public ManualAttribute(string UIName = "")
|
|
{
|
|
_name = UIName;
|
|
}
|
|
}
|