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); }
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."); } }