-
-
Save gordeev-dmitry/5c3ae9d32ef9925592cbaed6bf098c20 to your computer and use it in GitHub Desktop.
Object Pool take from pool
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 OnReturnedToPool(GameObject pooledGameObject) | |
{ | |
pooledGameObject.SetActive(false); | |
// any other stuff here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment