示例#1
0
    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();
	}
示例#2
0
    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();
    }