UnityEditor.GUILayoutInspectView.GetInstructionListName C# (CSharp) Method

GetInstructionListName() private method

private GetInstructionListName ( int index ) : string
index int
return string
        internal override string GetInstructionListName(int index)
        {
            IMGUILayoutInstruction instruction = this.m_LayoutInstructions[index];
            StackFrame[] stack = instruction.stack;
            int interestingFrameIndex = this.GetInterestingFrameIndex(stack);
            if (interestingFrameIndex > 0)
            {
                interestingFrameIndex--;
            }
            StackFrame frame = stack[interestingFrameIndex];
            return frame.methodName;
        }