File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 11# com.pixelwizards.objectpool
2+
23Object pooling system for Unity.
4+
5+ Documentation is online:
6+ https://www.megacrush.app/api/object-pool
7+
8+ No editor-facing functionality.
9+
10+ Create new Object pools with:
11+
12+ GameObject prefab;
13+
14+ PoolManager.AddNewObjectPool(new PoolObjectSetting()
15+ {
16+ count = 10,
17+ prefab = prefab,
18+ });
19+
20+ Get an instance from the Pool:
21+
22+ var instance = PoolManager.GetInstance(prefab);
23+
24+ Return the Instance to the Pool:
25+
26+ PoolManager.ReturnInstance(thisObject);
Original file line number Diff line number Diff line change 33 "displayName" : " Object Pooling" ,
44 "version" : " 1.0.0" ,
55 "unity" : " 2018.4" ,
6- "description" : " Powerful Object Pooling system." ,
6+ "description" : " Powerful Object Pooling system.\n\n Documentation is online: \n https://www.megacrush.app/api/object-pool \n\n No editor-facing functionality. " ,
77 "category" : null ,
88 "author" : {
99 "name" : " Megacrush Interactive" ,
You can’t perform that action at this time.
0 commit comments