private void DestroyText(FloatText text) { if (pools.Count > _Instance.maxPoolCount) { GameObject.Destroy(text); return; } text.OnRecycle(); pools.Enqueue(text); }
// Token: 0x0600002F RID: 47 RVA: 0x00002EB0 File Offset: 0x000010B0 private void DestroyText(FloatText text) { bool flag = this.pools.Count > FloatTextManager._Instance.maxPoolCount; if (flag) { Object.Destroy(text); } else { text.OnRecycle(); this.pools.Enqueue(text); } }