You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Unity-Object-Pool
2
2
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
3
3
4
-
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.
4
+
Currently to get the objects from the pool you need to know the index in the pool, will be changed to use the name.
5
5
# What is pooling?
6
6
It is computationally expensive to instantiate and destroy objects like bullets that get re-used a lot.
7
7
Its a lot more effective to instantiate them all in the beginning and to keep re-using them by setting them active/false
0 commit comments