注意事项⚠️:
1、Vertical/Horizontal Layout Group ->Child Force Expend(width、Height)优先级高于 Layout Element(Script)的子项设置;
2、Layout Element(Script)-> Min Width/Height为预留空间,优先级高于Vertical/Horizontal Layout Group ->Child Force Expend(width、Height)。即即使设置了Vertical/Horizontal Layout Group 勾选了Child Force Expend(width、Height),其子项Layout Element(Script)-> Min Width/Heigh开启的情况下,默认会为Layout Element(Script)-> Min Width/Heigh的值预留空间。然后把,剩余的UI空间进行平分。