Skip to content

Commit befb0cf

Browse files
Update README.md
1 parent 7326ba6 commit befb0cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This asset will be used to get and return objects from and to the pool providing
44
You can use this asset for reusability of your objects.
55

66

7-
##-------- ObjectPool<T>
7+
-------- ObjectPool<T>
88

99
ObjectPool(string a_strObjectType, int a_iStartSize = 0)
1010

@@ -15,7 +15,7 @@ Pool.getObject() returns a object of type T from the pool and sets it to active.
1515
Pool.returnToPool(T obj) to return the object to the pool and deactivates the object.
1616
Pool.returnAll() to return all objects back into the pool and deactivates all the object.
1717

18-
##-------- IReusable
18+
-------- IReusable
1919

2020
The reusable object of type T should be derived from IReusable
2121
-- T.onRetrievedFromPool()
@@ -25,7 +25,7 @@ will be called when the object is returned to the pool.
2525

2626

2727

28-
##-------- MonoObjectPool<T>
28+
-------- MonoObjectPool<T>
2929
To use an object pool for MonoBehaviour objects, use
3030

3131
MonoObjectPool<T>(T a_Prefab, GameObject a_Parent, int a_iStartSize = 0)

0 commit comments

Comments
 (0)