Browse Source

Fix for compile error on Unity 5_0

master
chrisgregan 10 years ago
parent
commit
ffa591f726
  1. 6
      Assets/Fungus/Thirdparty/Usfxr/Editor/SfxrGenerator.cs

6
Assets/Fungus/Thirdparty/Usfxr/Editor/SfxrGenerator.cs vendored

@ -67,7 +67,13 @@ public class SfxrGenerator : EditorWindow {
public static void Initialize() {
var window = ScriptableObject.CreateInstance<SfxrGenerator>();
window.name = "Sound Effects";
#if UNITY_5_0
window.title = window.name;
#else
window.titleContent = new GUIContent(window.name);
#endif
window.Show();
}

Loading…
Cancel
Save