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