コード例 #1
0
        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());
        }
コード例 #2
0
 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);
     }
 }
コード例 #3
0
        internal override string GetInstructionListName(int index)
        {
            IMGUINamedControlInstruction instruction = m_NamedControlInstructions[index];

            return("\"" + instruction.name + "\"");
        }