UnityEngine.GUIStyle.Internal_DrawPrefixLabel C# (CSharp) Method

Internal_DrawPrefixLabel() private static method

private static Internal_DrawPrefixLabel ( IntPtr style, Rect position, GUIContent content, int controlID, bool on ) : void
style System.IntPtr
position Rect
content GUIContent
controlID int
on bool
return void
        private static void Internal_DrawPrefixLabel(IntPtr style, Rect position, GUIContent content, int controlID, bool on)
        {
            INTERNAL_CALL_Internal_DrawPrefixLabel(style, ref position, content, controlID, on);
        }

Usage Example

コード例 #1
0
ファイル: GUIStyle.cs プロジェクト: zuohu/UnityDecompiled
 internal void DrawPrefixLabel(Rect position, GUIContent content, int controlID)
 {
     if (content != null)
     {
         GUIStyle.Internal_DrawPrefixLabel(this.m_Ptr, position, content, controlID, false);
     }
     else
     {
         Debug.LogError("Style.DrawPrefixLabel may not be called with GUIContent that is null.");
     }
 }