Class CustomTimelineEditorAttribute
Attribute that specifies a class as an editor for an extended Timeline type.
구현
상속된 멤버
네임스페이스: UnityEditor.Timeline
어셈블리: solution.dll
구문
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class CustomTimelineEditorAttribute : Attribute, _Attribute
참고
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(MyCustomClip))]
class MyCustomClipEditor : ClipEditor { }
생성자
이름 | 설명 |
---|---|
CustomTimelineEditorAttribute(Type) | Constructor. |
프로퍼티
이름 | 설명 |
---|---|
classToEdit | The type that that this editor applies to. |