We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c62c6ed commit 77c83aaCopy full SHA for 77c83aa
README.md
@@ -88,12 +88,12 @@ public class Health : MonoBehaviour, IPoolable
88
89
private float _health = 0f;
90
91
+ // Awake will be called on first _prefab.Get()
92
private void Awake() =>
93
OnGet();
94
95
// IPoolable method
- // Not being called if object was created first time
96
- // All next times will be called
+ // This method will be called on all next _prefab.Get()
97
public void OnGet() =>
98
_health = _maxHealth;
99
0 commit comments