OnSelectedInstructionChanged() abstract private method

abstract private OnSelectedInstructionChanged ( int newSelectionIndex ) : void
newSelectionIndex int
return void
コード例 #1
0
        internal override void OnSelectedInstructionChanged(int index)
        {
            base.m_ListViewState.row = index;
            IMGUIInstruction instruction        = this.m_Instructions[base.m_ListViewState.row];
            BaseInspectView  inspectViewForType = this.GetInspectViewForType(instruction.type);

            inspectViewForType.OnSelectedInstructionChanged(instruction.typeInstructionIndex);
            this.ShowOverlay();
        }
コード例 #2
0
 internal override void OnSelectedInstructionChanged(int index)
 {
     base.listViewState.row = index;
     if (base.listViewState.row >= 0)
     {
         IMGUIInstruction iMGUIInstruction   = this.m_Instructions[base.listViewState.row];
         BaseInspectView  inspectViewForType = this.GetInspectViewForType(iMGUIInstruction.type);
         inspectViewForType.OnSelectedInstructionChanged(iMGUIInstruction.typeInstructionIndex);
         this.ShowOverlay();
     }
     else
     {
         base.debuggerWindow.ClearInstructionHighlighter();
     }
 }