浏览代码

Removed reference to deprecated property

"title" property of Unity editor window is deprecated so we replace with
"titleContent.text"
punkoffice 9 年之前
父节点
当前提交
e6aa2e34a9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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()