UnityEngine.GUIStyle.Internal_DrawPrefixLabel C# (CSharp) Метод

Internal_DrawPrefixLabel() приватный статический Метод

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
Результат 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
 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.");
     }
 }