Skip to content

Commit 113040b

Browse files
authored
Update README.md
1 parent d6349aa commit 113040b

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
@@ -23,10 +23,10 @@ This pool creates objects that you defined on start and creates additionally if
2323

2424
### To Spawn and Despawn
2525

26+
#### Spawn
2627
`` ObjectPooler.Instance.SpawnFromPool(PooledObjectType.YourTypeComesHere , transform.position, Random.rotation); ``
27-
28-
Attention ! : Despawn should be called from the pooled object .
29-
`` ObjectPooler.Instance.Despawn(Type,gameObject); ``
28+
#### Despawn
29+
`` ObjectPooler.Instance.Despawn(gameObject); ``
3030

3131

3232
## Contributing

0 commit comments

Comments
 (0)