Example code to use IPrefabPool?

Hi there,

I can't for the life of me figure out how to use IPrefabPool. The documentation seems to indicate how to set it up, but I can't find any information on how to actually populate the pool with objects, instantiate from the pool or return to pool on destroy. I can't even figure out how to access the Pool methods once I've BoltNetwork.SetPrefabPool(new PoolName()).

Can someone please point me in the right direction?

Thanks in advance!

Comments

Sign In or Register to comment.