From 224be4be3ea196d5456b32c13f6a015b13c5790f Mon Sep 17 00:00:00 2001 From: Lucas McCully Date: Fri, 15 Jan 2021 11:20:30 -0400 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b6490a..d584d0c 100644 --- a/README.md +++ b/README.md @@ -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