UnityEditor.GUIViewDebuggerHelper.GetContentImageFromInstruction C# (CSharp) Method

GetContentImageFromInstruction() private method

private GetContentImageFromInstruction ( int instructionIndex ) : Texture
instructionIndex int
return UnityEngine.Texture
        private static extern Texture GetContentImageFromInstruction(int instructionIndex);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

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