fix object pooling

This commit is contained in:
Pedro Gomes 2025-09-26 20:20:57 +01:00
parent 4593c0e53d
commit fc204930bb

View File

@ -175,6 +175,7 @@ public class ScrollingText : MonoBehaviour, IPoolable
} }
tmpText.text = ""; tmpText.text = "";
GameObjectPoolManager.Instance.Release(this.gameObject);
} }
public void OnGetFromPool() public void OnGetFromPool()