Skip to content

Instantly share code, notes, and snippets.

@gordeev-dmitry
Created February 18, 2022 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gordeev-dmitry/5c3ae9d32ef9925592cbaed6bf098c20 to your computer and use it in GitHub Desktop.
Save gordeev-dmitry/5c3ae9d32ef9925592cbaed6bf098c20 to your computer and use it in GitHub Desktop.
Object Pool take from pool
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