protected void OnDiscard(Poolable obj) { obj.gameObject.SetActive(false); m_Stacks[obj.Index].Push(obj); }
protected void OnDiscard(Poolable obj) { obj.gameObject.SetActive(false); m_Inactive[obj.GroupIndex].Push((T)obj); m_Active[obj.GroupIndex].Remove((T)obj); }
public void Discard(Poolable obj) { obj.Discard(); }