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 09c862a commit c62c6edCopy full SHA for c62c6ed
README.md
@@ -89,7 +89,7 @@ public class Health : MonoBehaviour, IPoolable
89
private float _health = 0f;
90
91
private void Awake() =>
92
- _health = _maxHealth;
+ OnGet();
93
94
// IPoolable method
95
// Not being called if object was created first time
0 commit comments