public int GetHash() { if (this.m_Hash == 0) { this.m_Hash = this.curve.GetHashCode(); this.m_Hash = (0x21 * this.m_Hash) + this.time.GetHashCode(); } return this.m_Hash; }
public void UnselectKey(AnimationWindowKeyframe keyframe) { int hash = keyframe.GetHash(); if (this.selectedKeyHashes.Contains(hash)) { this.selectedKeyHashes.Remove(hash); } this.m_SelectedKeysCache = null; }