public void ObjectPoolInit() { bullet_FourWay_Pool = gameObject.AddComponent<ItemPool>(); bullet_FourWay_Pool.CreateItemPool(bullet_FourWay_Prefab, fourWayNum); bullet_Parabola_Pool = gameObject.AddComponent<ItemPool>(); bullet_Parabola_Pool.CreateItemPool(bullet_Parabola_Prefab, parabolaNum); }