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

            AnimationWindowSelectionItem currentSelection = m_AnimEditor.selection;

            return(selectedItem.GetRefreshHash() != currentSelection.GetRefreshHash());
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo 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);
        }
Ejemplo 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);
        }