internal override void OnDoubleClickInstruction(int index) { IMGUIInstruction instruction = this.m_Instructions[index]; BaseInspectView inspectViewForType = this.GetInspectViewForType(instruction.type); inspectViewForType.OnDoubleClickInstruction(instruction.typeInstructionIndex); }
internal override void DoDrawSelectedInstructionDetails(int index) { IMGUIInstruction instruction = this.m_Instructions[index]; BaseInspectView inspectViewForType = this.GetInspectViewForType(instruction.type); inspectViewForType.DoDrawSelectedInstructionDetails(instruction.typeInstructionIndex); }
internal override string GetInstructionListName(int index) { IMGUIInstruction instruction = this.m_Instructions[index]; BaseInspectView inspectViewForType = this.GetInspectViewForType(instruction.type); return(inspectViewForType.GetInstructionListName(instruction.typeInstructionIndex)); }
public UnifiedInspectView(GUIViewDebuggerWindow guiViewDebuggerWindow) : base(guiViewDebuggerWindow) { m_InstructionClipView = new GUIClipInspectView(guiViewDebuggerWindow); m_InstructionStyleView = new StyleDrawInspectView(guiViewDebuggerWindow); m_InstructionLayoutView = new GUILayoutInspectView(guiViewDebuggerWindow); m_InstructionPropertyView = new GUIPropertyInspectView(guiViewDebuggerWindow); m_InstructionNamedControlView = new GUINamedControlInspectView(guiViewDebuggerWindow); }
public UnifiedInspectView(GUIViewDebuggerWindow guiViewDebuggerWindow) : base(guiViewDebuggerWindow) { this.m_Instructions = new List<IMGUIInstruction>(); this.m_StacktraceScrollPos = new Vector2(); this.m_InstructionClipView = new GUIClipInspectView(guiViewDebuggerWindow); this.m_InstructionStyleView = new StyleDrawInspectView(guiViewDebuggerWindow); this.m_InstructionLayoutView = new GUILayoutInspectView(guiViewDebuggerWindow); }
public UnifiedInspectView(GUIViewDebuggerWindow guiViewDebuggerWindow) : base(guiViewDebuggerWindow) { this.m_Instructions = new List <IMGUIInstruction>(); this.m_StacktraceScrollPos = new Vector2(); this.m_InstructionClipView = new GUIClipInspectView(guiViewDebuggerWindow); this.m_InstructionStyleView = new StyleDrawInspectView(guiViewDebuggerWindow); this.m_InstructionLayoutView = new GUILayoutInspectView(guiViewDebuggerWindow); }
public override void ShowOverlay() { if (this.HasSelectedinstruction()) { BaseInspectView inspectViewForType = this.GetInspectViewForType(this.m_Instructions[this.m_ListViewState.row].type); inspectViewForType.ShowOverlay(); } }
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(); }
public override void ShowOverlay() { if (!this.isInstructionSelected) { base.debuggerWindow.ClearInstructionHighlighter(); } else { BaseInspectView inspectViewForType = this.GetInspectViewForType(this.m_Instructions[base.listViewState.row].type); inspectViewForType.ShowOverlay(); } }
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(); } }
public UnifiedInspectView(GUIViewDebuggerWindow guiViewDebuggerWindow) : base(guiViewDebuggerWindow) { this.m_InstructionClipView = new GUIClipInspectView(guiViewDebuggerWindow); this.m_InstructionStyleView = new StyleDrawInspectView(guiViewDebuggerWindow); this.m_InstructionLayoutView = new GUILayoutInspectView(guiViewDebuggerWindow); }