Selaa lähdekoodia

Removed reference to deprecated property

"title" property of Unity editor window is deprecated so we replace with
"titleContent.text"
punkoffice 9 vuotta sitten
vanhempi
commit
e6aa2e34a9
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Exporters/Unity 5/Unity3D2Babylon/ExporterWindow.cs

+ 1 - 1
Exporters/Unity 5/Unity3D2Babylon/ExporterWindow.cs

@@ -40,7 +40,7 @@ namespace Unity3D2Babylon
 
         void Initialize()
         {
-            title = "Babylon.js";
+            titleContent.text = "Babylon.js";
         }
 
         void OnGUI()