-
-
Save gordeev-dmitry/c253d5eda925f86103b9ae32b9e8e4cf to your computer and use it in GitHub Desktop.
Object pool create instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var poolInstance = new ObjectPool<GameObject>( | |
CreatePooledItem, | |
OnTakeFromPool, | |
OnReturnedToPool, | |
OnDestroyPoolObject, | |
collectionChecks, | |
10, | |
100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment