Skip to content

Fix SmartFlowLayoutGroup compilation on Unity 6.6 - #539

Merged
SimonDarksideJ merged 1 commit into
Unity-UI-Extensions:developmentfrom
redroofgames:development
Nov 5, 2026
Merged

SimonDarksideJ merged 1 commit into
Unity-UI-Extensions:developmentfrom
redroofgames:development

Conversation

@redroofgames-tim

Copy link
Copy Markdown

Unity UI Extensions - Pull Request

Overview

Fix SmartFlowLayoutGroup compilation on Unity 6.6, using the same #if-else guards as already used in FlowLayoutGroup.

Changes

Adds the newly-required 'max' parameter to SetLayoutInputForAxis(), using LayoutUtility.DefaultMaxSize in each case. #if guards to Unity 6.6+ only.

@SimonDarksideJ SimonDarksideJ left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lord, Unity are heading to messing up the API's all over again

@SimonDarksideJ
SimonDarksideJ merged commit 4974a44 into Unity-UI-Extensions:development Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants