Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AnnotationMarker.cs 604B

123456789101112131415161718
  1. using System.ComponentModel;
  2. using UnityEngine;
  3. using UnityEngine.Timeline;
  4. namespace Timeline.Samples
  5. {
  6. // Uses the USS style defined in `Editor/Stylesheets/Extensions/common.uss`.
  7. // See `ReadMe-USS-Styles.md` for more details.
  8. [CustomStyle("AnnotationStyle")]
  9. [DisplayName("Annotation")]
  10. public class AnnotationMarker : Marker // Represents the serialized data for a marker.
  11. {
  12. public string title;
  13. public Color color = new Color(1.0f, 1.0f, 1.0f, 0.5f);
  14. public bool showLineOverlay = true;
  15. [TextArea(10, 15)] public string description;
  16. }
  17. }