EditorClip.cs 468 B

123456789101112131415161718192021222324
  1. using UnityEngine;
  2. using UnityEngine.Timeline;
  3. namespace UnityEditor.Timeline
  4. {
  5. [ExcludeFromPreset]
  6. class EditorClip : ScriptableObject
  7. {
  8. [SerializeField] TimelineClip m_Clip;
  9. public TimelineClip clip
  10. {
  11. get { return m_Clip; }
  12. set { m_Clip = value; }
  13. }
  14. public int lastHash { get; set; }
  15. public override int GetHashCode()
  16. {
  17. return clip.Hash();
  18. }
  19. }
  20. }