Exemple #1
0
 /// <summary>
 /// Finds if mouse is hovering given editor window type.
 /// </summary>
 /// <param name="windowType">Editor window type.</param>
 /// <returns>True if the mouse is hovering given window type, otherwise false.</returns>
 public static bool IsMouseOverWindow(EditorWindowType windowType)
 {
     return(IsMouseOverWindow("UnityEditor." + windowType.ToString()));
 }