protected override void OnUIInit() { m_MsgList = new Stack <FloatMsg>(); m_GameObjectPool = GameObjectPoolMgr.S.CreatePool("FloatMessagePool", m_Prefab, -1, 5, UIPoolStrategy.S); m_Prefab.SetActive(false); }
public void AddPool(GameObjectPool pool) { m_PoolMap.Add(pool.poolName, pool); }