UnityEngine.GUIStyle.Internal_Draw2 C# (CSharp) Method

Internal_Draw2() private static method

private static Internal_Draw2 ( 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_Draw2(IntPtr style, Rect position, GUIContent content, int controlID, bool on)
        {
            INTERNAL_CALL_Internal_Draw2(style, ref position, content, controlID, on);
        }

Usage Example

コード例 #1
0
 public void Draw(Rect position, GUIContent content, int controlID, bool on)
 {
     if (content != null)
     {
         GUIStyle.Internal_Draw2(this.m_Ptr, position, content, controlID, on);
     }
     else
     {
         Debug.LogError("Style.Draw may not be called with GUIContent that is null.");
     }
 }
All Usage Examples Of UnityEngine.GUIStyle::Internal_Draw2