Class CustomTimelineEditorAttribute
Attribute that specifies a class as an editor for an extended Timeline type.
Implements
Inherited Members
Namespace: UnityEditor .Timeline
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class CustomTimelineEditorAttribute : Attribute, _Attribute
Remarks
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.
Examples
[CustomTimelineEditor(typeof(MyCustomClip))]
class MyCustomClipEditor : ClipEditor { }
Constructors
Name | Description |
---|---|
Custom |
Constructor. |
Properties
Name | Description |
---|---|
class |
The type that that this editor applies to. |