public void Clear() { for (int i = 0; i < m_collection.Count;) { Buff buff = m_collection[i]; buff.RemoveEffect(); } m_collection.Clear(); m_bridgeData.Reset(); }
List <Buff> m_findedTmp = new List <Buff>();//用于查询优化 public BuffManager(BridgeData bData) { m_bridgeData = bData; m_bridgeData.Reset(); }