From 3af4c218c0e70167db23a6303d2af30aff37d2fe Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 20 Aug 2020 23:40:50 -0400 Subject: Removed a bunch of stuff; Changes --- .../Editor/Utilities/CustomTrackDrawerAttribute.cs | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100644 Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/CustomTrackDrawerAttribute.cs (limited to 'Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/CustomTrackDrawerAttribute.cs') diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/CustomTrackDrawerAttribute.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/CustomTrackDrawerAttribute.cs deleted file mode 100644 index 021a635..0000000 --- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/CustomTrackDrawerAttribute.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; - -namespace UnityEditor.Timeline -{ - // Tells a custom [[TrackDrawer]] which [[TrackAsset]] it's a drawer for. - sealed class CustomTrackDrawerAttribute : Attribute - { - public Type assetType; - public CustomTrackDrawerAttribute(Type type) - { - assetType = type; - } - } - - /// - /// Attribute that specifies a class as an editor for an extended Timeline type. - /// - /// - /// Use this attribute on a class that extends ClipEditor, TrackEditor, or MarkerEditor to specify either the PlayableAsset, Marker, or TrackAsset derived classes for associated customization. - /// - /// - /// [CustomTimelineEditor(typeof(LightControlClip))] - /// class LightControlClipEditor : ClipEditor - /// { - /// } - /// - [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] - public sealed class CustomTimelineEditorAttribute : Attribute - { - /// - /// The type that that this editor applies to. - /// - public Type classToEdit { get; private set; } - - /// - /// Constructor. - /// - /// The type that that this editor applies to. - /// Thrown if type is null - public CustomTimelineEditorAttribute(Type type) - { - if (type == null) - throw new System.ArgumentNullException(nameof(type)); - classToEdit = type; - } - } -} -- cgit v1.2.3