Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: inyourbus on May 26, 2015, 11:22:43 AM
-
What am i missing here.
I can't seem to find a way to set the max rows in an array.
The slider only appears in play mode, and obviously no persistence once play mode ends.
EDIT:
I am presuming that the max rows is literally just a display thing, and the rows aren't actually being capped? Its just the number of rows that being show in the inspector, correct?
-
To my knowledge there is no maximum row in arrays. If you want to cap things at say a fixed number, you'd get the count, store it as an INT, compare that INT to your maximum number, and then perform any additional actions based on the outcome of that. Otherwise you can just keep adding to an Array to your hearts content.
-
Yes I was coming to the wrong conclusion on how the max rows slider works when in playmode.
Thanks for your help.
-
Hi,
Yes, I need to rebuild the interface to make clearer that this is just to visualize in the inspector, so that you can have thousands of items, your inspector isn't a mile high and you can still view everything.
It's basically a paging facility.
Bye,
Jean