-
-
Save gordeev-dmitry/f6f20ace7ff5492a3c65b0078de3b480 to your computer and use it in GitHub Desktop.
Object Pool destroy object
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
void OnDestroyPoolObject(GameObject pooledGameObject) | |
{ | |
Destroy(pooledGameObject); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment