Skip to content

Instantly share code, notes, and snippets.

@gordeev-dmitry
Created February 18, 2022 17:19
Show Gist options
  • Save gordeev-dmitry/9fa03a90f3062886b5138731328bab30 to your computer and use it in GitHub Desktop.
Save gordeev-dmitry/9fa03a90f3062886b5138731328bab30 to your computer and use it in GitHub Desktop.
Object Pool create pooled item
GameObject CreatePooledItem()
{
var pooledGameObject = new GameObject("Pooled GameObject");
// Add components or set other properties
return pooledGameObject;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment