Esempio n. 1
0
        private bool ShouldUpdateSelection(AnimationWindowSelectionItem selectedItem)
        {
            if (m_LockTracker.isLocked)
            {
                return(false);
            }

            AnimationWindowSelectionItem currentSelection = m_AnimEditor.selection;

            return(selectedItem.GetRefreshHash() != currentSelection.GetRefreshHash());
        }
        private bool ShouldUpdateSelection(AnimationClipSelectionItem selectedItem)
        {
            if (this.m_AnimEditor.locked)
            {
                return(false);
            }
            AnimationWindowSelectionItem item = this.m_AnimEditor.selectedItem;

            if (item != null)
            {
                return(selectedItem.GetRefreshHash() != item.GetRefreshHash());
            }
            return(true);
        }
Esempio n. 3
0
        private bool ShouldUpdateSelection(AnimationWindowSelectionItem selectedItem)
        {
            bool result;

            if (this.m_Locked)
            {
                result = false;
            }
            else
            {
                AnimationWindowSelectionItem selectedItem2 = this.m_AnimEditor.selectedItem;
                result = (!(selectedItem2 != null) || selectedItem.GetRefreshHash() != selectedItem2.GetRefreshHash());
            }
            return(result);
        }
Esempio n. 4
0
        private bool ShouldUpdateSelection(AnimationWindowSelectionItem selectedItem)
        {
            bool result;

            if (this.m_LockTracker.isLocked)
            {
                result = false;
            }
            else
            {
                AnimationWindowSelectionItem selection = this.m_AnimEditor.selection;
                result = (selectedItem.GetRefreshHash() != selection.GetRefreshHash());
            }
            return(result);
        }