1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using System;
- namespace UnityEditor.Timeline
- {
-
- sealed class CustomTrackDrawerAttribute : Attribute
- {
- public Type assetType;
- public CustomTrackDrawerAttribute(Type type)
- {
- assetType = type;
- }
- }
-
-
-
-
-
-
-
-
-
-
-
-
- [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
- public sealed class CustomTimelineEditorAttribute : Attribute
- {
-
-
-
- public Type classToEdit { get; private set; }
-
-
-
-
-
- public CustomTimelineEditorAttribute(Type type)
- {
- if (type == null)
- throw new System.ArgumentNullException(nameof(type));
- classToEdit = type;
- }
- }
- }
|