public void DrawCursor(Rect position, GUIContent content, int controlID, int Character)
{
Event current = Event.current;
if (current.type == EventType.Repaint)
{
Color cursorColor = new Color(0f, 0f, 0f, 0f);
float cursorFlashSpeed = GUI.skin.settings.cursorFlashSpeed;
float num = (Time.realtimeSinceStartup - GUIStyle.Internal_GetCursorFlashOffset()) % cursorFlashSpeed / cursorFlashSpeed;
if (cursorFlashSpeed == 0f || num < 0.5f)
{
cursorColor = GUI.skin.settings.cursorColor;
}
GUIStyle.Internal_DrawCursor(this.m_Ptr, position, content, Character, cursorColor);
}
}