title = "CustomWindow "; -> #if UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_5_0 title = "CustomWindow "; #else titleContent = new GUIContent("CustomWindow "); #endif