UnityEditor.GUIViewDebuggerHelper.GetContentTextFromInstruction C# (CSharp) Method

GetContentTextFromInstruction() private method

private GetContentTextFromInstruction ( int instructionIndex ) : string
instructionIndex int
return string
        private static extern string GetContentTextFromInstruction(int instructionIndex);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

 internal static GUIContent GetContentFromInstruction(int instructionIndex)
 {
     return(new GUIContent
     {
         text = GUIViewDebuggerHelper.GetContentTextFromInstruction(instructionIndex),
         image = GUIViewDebuggerHelper.GetContentImageFromInstruction(instructionIndex)
     });
 }