Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
ClosetotalMin | The min size for the layout group. |
totalPreferred | The preferred size for the layout group. |
totalFlexible | The flexible size for the layout group. |
axis | The axis to set sizes for. 0 is horizontal and 1 is vertical. |
Used to set the calculated layout properties for the given axis.