Skip to content

Commit 8db3722

Browse files
committed
Update manifest and readme for Object Pool package
1 parent b072aa3 commit 8db3722

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,26 @@
11
# com.pixelwizards.objectpool
2+
23
Object 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);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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\nDocumentation is online: \nhttps://www.megacrush.app/api/object-pool\n\nNo editor-facing functionality.",
77
"category": null,
88
"author": {
99
"name": "Megacrush Interactive",

0 commit comments

Comments
 (0)