之前試過從Unity 5.0更新到Unity 5.1遇上一個小問題,最後發覺原來是Unity的命名改變了:
不過在uFrame,有個比較萭用的方法,因為uFrame有兩個腳本(Script)會檢查Unity的版本,只要加上新得版就可以了!
這兩個腳本分別是:
UIBinding.cs
JSON.cs (這個要修改的地方在line 665, 比較難找~)
本來是這樣:
#if UNITY_4_6 || UNITY_5_0 || UNITY_5_1
加上新版本:
#if UNITY_4_6 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2 || UNITY_5_3
uFrame已经很久没更新了。。。是不是不干了
回覆刪除我這邊的消息是開發者病了~
刪除谢谢博主,这下可以继续用uFrame了,真的很喜欢这个框架,希望作者能够继续更新下去呢
回覆刪除希望幫到你啦~不過,uFrame最近Open Source了,MVVM和ECS都免費了
刪除UnityException: Texture 'Header3' is not readable, the texture memory can not be accessed from scripts. You can make the texture readable in the Texture Import Settings.
回覆刪除UnityEngine.Texture2D.GetPixels32 () (at C:/buildslave/unity/build/artifacts/generated/common/runtime/TextureBindings.gen.cs:336)
Invert.Common.TexturesExtensions.CutTextureBottomBorder (UnityEngine.Texture2D texture, Int32 cutSize) (at D:/Invert/uFrameGit/uFrameTools/Invert.Core.GraphDesigner.Unity/ElementDesignerStyles.cs:1998)
Invert.Core.GraphDesigner.Unity.Schemas.UnityNodeStyleSchema.ConstructHeaderImage (Boolean expanded, Color color, System.String iconName) (at D:/Invert/uFrameGit/uFrameTools/Invert.Core.GraphDesigner.Unity/Schemas/UnityNodeStyleSchema.cs:57)
Invert.Core.GraphDesigner.Schemas.impl.NodeStyleSchema.GetHeaderImage (Boolean expanded, Color color, System.String iconName) (at D:/Invert/uFrameGit/uFrameTools/Invert.Core.GraphDesigner/Schemas/impl/NodeStyleSchema.cs:176)
Invert.Core.GraphDesigner.HeaderDrawer.Draw (IPlatformDrawer platform, Single scale) (at D:/Invert/uFrameGit/uFrameTools/Invert.Core.GraphDesigner/Drawers/impl/HeaderDrawer.cs:97)
Invert.Core.GraphDesigner.DiagramNodeDrawer.DrawChildren (IPlatformDrawer platform, Single scale) (at D:/Invert/uFrameGit/uFrameTools/Invert.Core.GraphDesigner/Drawers/impl/DiagramNodeDrawer.cs:356)
Invert.Core.GraphDesigner.DiagramNodeDrawer.Draw (IPlatformDrawer platform, Single scale) (at D:/Invert/uFrameGit/uFrameTools/Invert.Core.GraphDesigner/Drawers/impl/DiagramNodeDrawer.cs:292)
Invert.Core.GraphDesigner.GenericNodeDrawer`2[TData,TViewModel].Draw (IPlatformDrawer platform, Single scale) (at D:/Invert/uFrameGit/uFrameTools/Invert.Core.GraphDesigner/Drawers/impl/DiagramNodeDrawer.cs:64)
Invert.Core.GraphDesigner.DiagramDrawer.Draw (IPlatformDrawer platform, Single scale) (at D:/Invert/uFrameGit/uFrameTools/Invert.Core.GraphDesigner/Drawers/impl/DiagramDrawer.cs:146)
在设计的子系统的时候出现了这个问题....
兄弟你遇到过吗?
你是用Unity 5.1嗎?uFrame 的Header3怪怪的,我更新了本文,你可以看看設定有沒有幫助
刪除我5.1的時候也有這個error但不影響運作,升上5.3就沒有這個問題
謝謝 ^^
回覆刪除感谢分享, 按照你的方法已经正常使用. 请问有没有中文教程, 越多越好, 谢谢
回覆刪除好像沒有了, youtube比較多教學片,可以參考一下:
刪除http://isaacforfun.blogspot.hk/2015/09/unity3d-uframe-16-youtube.html
另外理解1.5的運作對使用1.6也有很大幫助,所以1.5的教學也可以看看