GlobalGameJame/Library/PackageCache/com.unity.timeline@1.2.10/Editor/inspectors/EditorClip.cs

25 lines
468 B
C#
Raw Normal View History

2020-01-31 15:10:04 +00:00
using UnityEngine;
using UnityEngine.Timeline;
namespace UnityEditor.Timeline
{
[ExcludeFromPreset]
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();
}
}
}