diff --git a/Assets/Fungus/Thirdparty/Usfxr/Editor/SfxrGenerator.cs b/Assets/Fungus/Thirdparty/Usfxr/Editor/SfxrGenerator.cs index 32d76800..744d2c17 100644 --- a/Assets/Fungus/Thirdparty/Usfxr/Editor/SfxrGenerator.cs +++ b/Assets/Fungus/Thirdparty/Usfxr/Editor/SfxrGenerator.cs @@ -67,7 +67,13 @@ public class SfxrGenerator : EditorWindow { public static void Initialize() { var window = ScriptableObject.CreateInstance(); window.name = "Sound Effects"; + +#if UNITY_5_0 + window.title = window.name; +#else window.titleContent = new GUIContent(window.name); +#endif + window.Show(); }