Skip to content

Commit 6308580

Browse files
committed
Setup
1 parent c3258ed commit 6308580

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Poolable.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ public class Poolable : MonoBehaviour, IReactor
1616
private bool _isPooled = false;
1717
private bool _isEnabled = true;
1818

19+
private void Awake()
20+
{
21+
_onBackToPool.Setup();
22+
_onBackFromPool.Setup();
23+
}
24+
1925
public void ReturnToPool()
2026
{
2127
if (!_isEnabled)

0 commit comments

Comments
 (0)