您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

23 行
911 B

using System;
using UnityEngine.Perception.GroundTruth;
namespace UnityEditor.Perception.GroundTruth {
/// <summary>
/// Attribute for <see cref="CameraLabelerDrawer"/> types which specifies the <see cref="CameraLabeler"/> type
/// whose inspector should be drawn using the decorated type.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class CameraLabelerDrawerAttribute : Attribute
{
internal Type targetLabelerType;
/// <summary>
/// Creates a new CameraLabelerDrawerAttribute specifying the <see cref="CameraLabeler"/> type to be drawn
/// </summary>
/// <param name="targetLabelerType">The type whose inspector should be drawn by the decorated type</param>
public CameraLabelerDrawerAttribute(Type targetLabelerType)
{
this.targetLabelerType = targetLabelerType;
}
}
}