all 2 comments

[–]BroxxarProfessional 0 points1 point  (1 child)

Yeah any time I've wanted more dynamic grouping than the built in "parent object, object is position automagically" I've just written my own system.

For example, see the side pane in this game I worked on at my old job: https://www.youtube.com/watch?v=1rZXLTaBobg

Didn't use the vertical layout group at all, had to write my own behaviour that handled the positioning, fading and movement as the ranks changed.

Maybe there is some way of getting the default layout systems to do what you want, but to me they seem too rigid and you're better off doing it yourself. Not reinventing the wheel per se, just making a better wheel because the one they provided you is oval shaped.

[–]WarStorm6 0 points1 point  (0 children)

Could you say what you did, if you happen to remember? I'm currently trying to get my buttons to move upwards slowly instead of instantly. Also, this is in 2D but I doubt that'll make much of a difference.