public CallbackInvoke(BaseRef baseRef) { m_baseRef = baseRef; }
// 将对象从自动释放池中移除 public void RemoveObject(BaseRef refObj) { m_objectArray.Remove(refObj); }
//移除对象 public void RemoveObject(BaseRef refObj) { m_curReleasePool.RemoveObject(refObj); }
// 将对象添加到自动释放池 public void AddObject(BaseRef refObj) { m_objectArray.Add(refObj); }
//添加对象 public void AddObject(BaseRef refObj) { GetCurReleasePool().AddObject(refObj); }