File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Object Pooling for Unity
88- Callbacks OnSpawn & OnDespawn for resseting after object being used
99
1010## Usage
11- How to populate pool:
11+ ### How to populate pool:
1212``` csharp
1313using ToolBox .Pools ;
1414using UnityEngine ;
@@ -29,7 +29,7 @@ Also, you can just put PoolInstaller component on any object on Scene and select
2929
3030![ ] ( https://i.imgur.com/gnyZ0RQ.png )
3131
32- How to spawn object from pool:
32+ ### How to spawn object from pool:
3333``` csharp
3434using ToolBox .Pools ;
3535using UnityEngine ;
@@ -50,7 +50,7 @@ public class Spawner : MonoBehaviour
5050
5151```
5252
53- How to return object to pool:
53+ ### How to return object to pool:
5454``` csharp
5555using ToolBox .Pools ;
5656using UnityEngine ;
@@ -70,7 +70,7 @@ public class Spawner : MonoBehaviour
7070}
7171```
7272
73- How to use callbacks:
73+ ### How to use callbacks:
7474``` csharp
7575using ToolBox .Pools ;
7676using UnityEngine ;
You can’t perform that action at this time.
0 commit comments