UnityGame/Library/PackageCache/com.unity.timeline/Editor/inspectors/EditorClip.cs

26 lines
512 B
C#
Raw Permalink Normal View History

2024-10-27 10:53:47 +03: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();
}
}
}