Repository navigation
Conversation
with conditional compilation to preserve back compability.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unity UI Extensions - Pull Request
Replaces #536. That PR was opened against
releaseand, after it was retargeted todevelopment, could not merge: the branch also carried release-only commits (README, workflows, version bump) and conflicted withdevelopment.This branch is
developmentplus the Unity 6.6 layout fix only.Overview
LayoutGroup.SetLayoutInputForAxison Unity 6.6+ is(totalMin, totalMax, totalPreferred, totalFlexible, axis). The calls added in #530 appended an extra argument, so preferred, flexible, and axis were shifted.FlowLayoutGroupandTableLayoutGroupnow passtotalMaxin the second slot and keep the previous preferred and flexible values.The other Unity 6.5 / 6.6 updates from #536 (
GetEntityId,maxWidth/maxHeight,useLegacyMeshGeneration) are already ondevelopment.Changes
FlowLayoutGroup: unlimited max viaLayoutUtility.DefaultMaxSize, previous preferred and flexible values unchanged.TableLayoutGroup: fixed column width usesmax == preferred; flexible rows use an unconstrained max.Older Unity versions still use the 4-argument overload under
#if UNITY_6000_6_OR_NEWER.Fixes: BUG: Object.GetInstanceID()' is obsolete for 6000.5.6f1 #532
Fixes: BUG: Compilation problems for classes implementing ILayoutElement in 6000.6 #534
Breaking Changes
Related Submodule Changes
Testing status
Manual testing status
SetLayoutInputForAxis(totalMin, totalMax, totalPreferred, totalFlexible, axis)signature.developmentfrom Upversion development to 3.0.1-pre.1 [skip ci] #530, which appended a trailing argument and shifted preferred, flexible, and axis.