9 Months Ago
ReApply after merge conflicts Implementation of Unity's ScrollRect, including a Mask & ChildCanvas for better performance Added Scrollbar support, allowing the customization of color, thickness Added mask softness for RectMask2D added in Unity 2019.4.20 Added Update support for Scrollviews Added enable support for scrollbars no Selective Update support for individual Scrollbars as they are in a sub json object, could be added by replicating the ShouldUpdateField with the sub object revert offsetmax fix reversed offsetmax fix because alot of UIs rely on it Fixes after validating code within Client this PR addresses issues i identified while modding this PR into the game for testing, other than these changes it works as expected with the test JSON provided (after it is updated) Updated example updated scroll example to actually look the part in the client really appreciating whoever put Assets/Icons/rust.png instead of Assets/Content/UI/UI.Background.Tile.psd as the default sprite for RawImages btw Reduce needless recursion retains the same functionality Fix FindPanel issues due to ghost scrollview entries if a scrollview was indirectly destroyed its entry would remain causing subsequent lookups for the same name to not return anything. disabled the scrollview redirect when looking for a panel to update, this allows the code to correctly find and update the GameObject containing the scrollview instead of its content Merge branch 'master' into pr/54 Moved the test into it's own folder Will be better for future tests Remove mask.softness reference Unsure what unity version this was added in but we don't currently support this property Merge pull request #54 from Kulltero/ScrollView Adding Support for Scrollable Containers