UnityEditor.GUIViewDebuggerHelper.GetInstructionCount C# (CSharp) Method

GetInstructionCount() private method

private GetInstructionCount ( ) : int
return int
        internal static extern int GetInstructionCount();
        internal static void GetLayoutInstructions(List<IMGUILayoutInstruction> layoutInstructions)

Usage Example

コード例 #1
0
 private void ShowDrawInstructions()
 {
     if (this.m_Inspected == null)
     {
         return;
     }
     this.m_ListViewState.totalRows = GUIViewDebuggerHelper.GetInstructionCount();
     if (this.m_QueuedPointInspection)
     {
         this.m_ListViewState.row = this.FindInstructionUnderPoint(this.m_PointToInspect);
         this.m_ListViewState.selectionChanged = true;
         this.m_QueuedPointInspection          = false;
         this.m_Instruction.Reset();
     }
     SplitterGUILayout.BeginHorizontalSplit(this.m_InstructionListDetailSplitter, new GUILayoutOption[0]);
     this.DrawInstructionList();
     EditorGUILayout.BeginVertical(new GUILayoutOption[0]);
     if (this.m_ListViewState.selectionChanged)
     {
         this.OnSelectedInstructionChanged();
     }
     this.DrawSelectedInstructionDetails();
     EditorGUILayout.EndVertical();
     SplitterGUILayout.EndHorizontalSplit();
 }
All Usage Examples Of UnityEditor.GUIViewDebuggerHelper::GetInstructionCount