Singularity/Library/PackageCache/com.unity.timeline@1.6.4/Editor/inspectors/EditorClip.cs

26 lines
512 B
C#
Raw Normal View History

2024-05-06 14:45:45 -04:00
using UnityEngine;
using UnityEngine.Timeline;
namespace UnityEditor.Timeline
{
[ExcludeFromPreset]
[TimelineHelpURL(typeof(TimelineClip))]
class EditorClip : ScriptableObject
{
[SerializeField] TimelineClip m_Clip;
public TimelineClip clip
{
get { return m_Clip; }
set { m_Clip = value; }
}
public int lastHash { get; set; }
public override int GetHashCode()
{
return clip.Hash();
}
}
}