Skip to content

Commit 77c83aa

Browse files
authored
Update README.md
1 parent c62c6ed commit 77c83aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ public class Health : MonoBehaviour, IPoolable
8888

8989
private float _health = 0f;
9090

91+
// Awake will be called on first _prefab.Get()
9192
private void Awake() =>
9293
OnGet();
9394

9495
// IPoolable method
95-
// Not being called if object was created first time
96-
// All next times will be called
96+
// This method will be called on all next _prefab.Get()
9797
public void OnGet() =>
9898
_health = _maxHealth;
9999

0 commit comments

Comments
 (0)