Skip to content

Commit

Permalink
Update manifest and readme for Object Pool package
Browse files Browse the repository at this point in the history
  • Loading branch information
gekidoslair committed Apr 9, 2024
1 parent b072aa3 commit 8db3722
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
# com.pixelwizards.objectpool

Object pooling system for Unity.

Documentation is online:
https://www.megacrush.app/api/object-pool

No editor-facing functionality.

Create new Object pools with:

GameObject prefab;

PoolManager.AddNewObjectPool(new PoolObjectSetting()
{
count = 10,
prefab = prefab,
});

Get an instance from the Pool:

var instance = PoolManager.GetInstance(prefab);

Return the Instance to the Pool:

PoolManager.ReturnInstance(thisObject);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Object Pooling",
"version": "1.0.0",
"unity": "2018.4",
"description": "Powerful Object Pooling system.",
"description": "Powerful Object Pooling system.\n\nDocumentation is online: \nhttps://www.megacrush.app/api/object-pool\n\nNo editor-facing functionality.",
"category": null,
"author": {
"name": "Megacrush Interactive",
Expand Down

0 comments on commit 8db3722

Please sign in to comment.