bool create_able; // 생성 가능한지 ? // Use this for initialization void Start () { Instance = this; monsterPool = new DObjectPool[monster.Length]; for (int i = 0; i < monster.Length; i++ ) { monsterPool[i] = new DObjectPool(monster[i],i); } create_able = NextIndex(); }
bool create_able; // 생성 가능한지 ? // Use this for initialization void Start() { Instance = this; monsterPool = new DObjectPool[monster.Length]; for (int i = 0; i < monster.Length; i++) { monsterPool[i] = new DObjectPool(monster[i], i); } create_able = NextIndex(); }