#Can someone look at this and help me..

1 messages · Page 1 of 1 (latest)

rapid ocean
#

Im using Opsives inventory system, and I've built a dynamic size changer for the grid inventory. My problem is now when I grow my inv so if i make my inv bigger so I can scroll but if i remove the part that makes my inv bigger the grid view port stays the same and dont shrink..

https://pastie.io/gmnrlf.cs - This is my script, the growHeightOnly is the Grid View Port in the hierarchy.

fringe nexus
wild current
#

First of all, I do not see any logs in your script. How would you know, all your code is executing as you would expect it without tracing whats happening? Try adding some logs and see, if your code is being reached at all and correctly updated when your "shrink" should happen.

rapid ocean
rapid ocean