26 lines
512 B
C#
26 lines
512 B
C#
|
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();
|
||
|
}
|
||
|
}
|
||
|
}
|