fix object pooling
This commit is contained in:
parent
4593c0e53d
commit
fc204930bb
@ -175,6 +175,7 @@ public class ScrollingText : MonoBehaviour, IPoolable
|
||||
}
|
||||
|
||||
tmpText.text = "";
|
||||
GameObjectPoolManager.Instance.Release(this.gameObject);
|
||||
}
|
||||
|
||||
public void OnGetFromPool()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user