internal override void DoDrawSelectedInstructionDetails(int index) { IMGUINamedControlInstruction iMGUINamedControlInstruction = this.m_NamedControlInstructions[base.listViewState.row]; using (new EditorGUI.DisabledScope(true)) { base.DrawInspectedRect(iMGUINamedControlInstruction.rect); } base.DoSelectableInstructionDataField("Name", iMGUINamedControlInstruction.name); base.DoSelectableInstructionDataField("ID", iMGUINamedControlInstruction.id.ToString()); }
public override void ShowOverlay() { if (!this.isInstructionSelected) { base.debuggerWindow.ClearInstructionHighlighter(); } else { IMGUINamedControlInstruction iMGUINamedControlInstruction = this.m_NamedControlInstructions[base.listViewState.row]; base.debuggerWindow.HighlightInstruction(base.debuggerWindow.inspected, iMGUINamedControlInstruction.rect, this.m_FakeMargingStyleForOverlay); } }
internal override string GetInstructionListName(int index) { IMGUINamedControlInstruction instruction = m_NamedControlInstructions[index]; return("\"" + instruction.name + "\""); }