You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,13 @@ This pool creates objects that you defined on start and creates additionally if
15
15
16
16
## Usage
17
17
18
-
1. Head to your hierarchy >> Right Click >> Create Empty
18
+
1. Head to your `hierarchy >> Right Click >> Create Empty`
19
19
2. Add Component >> Object Pooler >> Set size that you wish to add to your project.
20
20
3. Create Script which inherits from PooledObject Class
21
21
22
22
`` public Class ExampleClass : PooledObject``
23
23
24
-
4. Add a type to 'enum PooledObjectType' (Can be found under Assets/Scripts/ObjectPool/PoolderObjectType.cs)
24
+
4. Add a type to `enum PooledObjectType` (Can be found under `Assets/Scripts/ObjectPool/PoolderObjectType.cs`)
25
25
5. Retrun to the game object you created on hierarchy drag and drop your prefab to Prefab property on objectpooler's pool . Set the tag you wrote on step 4. set size (How many object you want to create on beginning).
0 commit comments