Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
2401lucas authored Jan 15, 2021
1 parent 06c8d19 commit 224be4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Unity-Object-Pool
A very simple singleton object pooler for optimization. It can handle all of the object pooling during the game loading and is persistant throughout scenes

Currently to get the objects from the pool you need to know the index in the pool, will be changed to either use the position or the name.
Currently to get the objects from the pool you need to know the index in the pool, will be changed to use the name.
# What is pooling?
It is computationally expensive to instantiate and destroy objects like bullets that get re-used a lot.
Its a lot more effective to instantiate them all in the beginning and to keep re-using them by setting them active/false
Expand Down

0 comments on commit 224be4b

Please sign in to comment.