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:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Pooling - best practices?[SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Pooling - best practices?[SOLVED] (Read 1018 times)
nFighter
Beta Group
Full Member
Posts: 174
Pooling - best practices?[SOLVED]
«
on:
March 07, 2020, 10:08:35 PM »
I'm going to instancing/deleting 20..30..40 UI prefabs to the scene. Should I considering pooling instead of simple create/deleting, is it really make sense? And if yes - what's the best pooling solution supporting by playmaker for now?
«
Last Edit: March 09, 2020, 04:22:00 AM by jeanfabre
»
Logged
indie developer of multiplayer adult fighting
http://nakedfighter3d.com
djaydino
Administrator
Hero Member
Posts: 7616
Re: Pooling - best practices?
«
Reply #1 on:
March 08, 2020, 01:39:27 AM »
Hi.
For simple pooling you can use the pooler pool on the ecosystem.
Something important to know is that when variables where changed on the fsm, they do not reset when reused.
also values changed on the components are not reset(color/scale/size etc)
So a good way is to reset variables/components @start or just before de-spawning
for more complex i use lean pool. it does not have build in actions.
But i do have playmaker support for it on my asset
https://hutonggames.com/playmakerforum/index.php?topic=19544.0
«
Last Edit: March 08, 2020, 01:44:28 AM by djaydino
»
Logged
Join the PlayMaker Discord Channel!
nFighter
Beta Group
Full Member
Posts: 174
Re: Pooling - best practices?
«
Reply #2 on:
March 08, 2020, 06:07:49 PM »
Oh, I see! Thanks a lot
Logged
indie developer of multiplayer adult fighting
http://nakedfighter3d.com
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Pooling - best practices?[SOLVED]