-
-
Save gordeev-dmitry/9fa03a90f3062886b5138731328bab30 to your computer and use it in GitHub Desktop.
Object Pool create pooled item
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
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