示例#1
0
 protected void OnDiscard(Poolable obj)
 {
     obj.gameObject.SetActive(false);
     m_Stacks[obj.Index].Push(obj);
 }
示例#2
0
 protected void OnDiscard(Poolable obj)
 {
     obj.gameObject.SetActive(false);
     m_Inactive[obj.GroupIndex].Push((T)obj);
     m_Active[obj.GroupIndex].Remove((T)obj);
 }
示例#3
0
 public void Discard(Poolable obj)
 {
     obj.Discard();
 }