Unity-UI-Framework icon indicating copy to clipboard operation
Unity-UI-Framework copied to clipboard

a simple UI framework based on UGUI

Results 4 Unity-UI-Framework issues
Sort by recently updated
recently updated
newest added

KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Generic.Dictionary`2[System.Int32,UnityEngine.RectTransform].get_Item (Int32 key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) GridScroller.ChangeToIndex (Int32 from, Int32 to) (at Assets/Scripts/UI/UIBase/GridScroller.cs:248) GridScroller.SwapIndex (Int32 startIndex) (at Assets/Scripts/UI/UIBase/GridScroller.cs:235) GridScroller.OnValueChanged (Vector2 normalizedPosition)...

这个SampleScene场景文件打开只有Camera和Directional Light,其他的东西都丢失了,Unity2018,看不到演示效果了

原来的逻辑在多行多列的情况下,可能最后一行会滑不进显示区域,我发现了这个问题并尝试修改了。原因在于计算包围盒大小的算法出了点问题。