madmac
New Member
Posts: 1
Posts: 1
|
Post by madmac on Oct 14, 2017 10:24:25 GMT
hello, now it's the first time i need to use the pooling feature of the Gamekit... 1. Where can i find the script documentation? 2. there are no basic examples of how to use the pooling... 3. it looks like the pool can only use GameObjects...
so plz enlighten me to find the documentation and if it is possible to use pool boss with my needs...
here is the code i need to transform to use with pooling:
Node nodeObject = Instantiate(nodePrefab, new Vector3(x,y,z), Quaternion.identity) as Node; and this line too:
Link linkObject = Instantiate(linkPrefab, new Vector3(0,0,0), Quaternion.identity) as Link; would be great to get a link to script reference? many thx M.
|
|
|
Post by DarkTonic Dev on Oct 14, 2017 18:51:01 GMT
|
|
rambo chuck
Guest
Posts: 0
|
Post by rambo chuck on Aug 24, 2018 1:14:29 GMT
Hello!
PoolBoss.DespawnAllOfPrefab(trans); don't work correct. After exec method at same cases transform's cant be despawned (Despawn only 1 transform, at first exec). Work only manually despawn from List<Transform>, ex:
for (int i = 0; i < spawnedTransform.Count; i++) { PoolBoss.Despawn(spawnedTransform[i]); }
|
|
|
Post by DarkTonic Dev on Aug 24, 2018 3:54:27 GMT
That method does work. We use it in the example Scene and it does despawn all 50 for instance.
Does your Example Scene work?
You will need to send me an example project that reproduces the error because it's working fine here.
|
|