playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Register on the forums to download actions, updates, etc.
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Adding prefabs to favourite list.
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Adding prefabs to favourite list. (Read 1134 times)
SanosVerd
Playmaker Newbie
Posts: 4
Adding prefabs to favourite list.
«
on:
February 18, 2018, 03:47:37 PM »
G’day to you all. I need advise or just point out in to right direction. Well I am working on informational app with different places and description and trying to implement list of favorites. Player/user would have a plus button where he can add specific game object in to that favourite list. He can check his favourite list by pressing an icon in the corner, panel would appear with scrolling function and players added favourite would be in there, one after another, player will be able to remove that game object at any time (while panel with favourite GO is open).. Now I can’t figure out what actions would be most suitable for this functionality. I was thinking about adding a prefab or activating a game object (when player press plus button) but how do I position in in to horizontally scrollable list where one GO would be located after another.
Any tips or ideas?
Thank you
Greg
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Adding prefabs to favourite list.
«
Reply #1 on:
February 19, 2018, 02:19:50 AM »
Hi,
you position items in lists by indexing them by their child index.
use the action SetTransformSiblingIndex from the ecosystem
if you search for sibling, you'll also find few more, liekt set as first sibling or set as last sibling.
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Adding prefabs to favourite list.