Beispiel #1
0
    void Awake()
    {
        m_ExplosionPoolInstance = ExplosionPool.Instance;
        if (m_ExplosionPoolInstance == null)
        {
            Debug.LogError("m_ExplosionPoolInstance == null");
        }
        m_ExplosionPoolInstance.Init(m_ExplosionPrefabPath);

//		m_ExplosionListArray = new LinkedList<GameObject>[(int)PathGrid.eNeighborDirection.kNumNeighbors];
        //	InitExplosionListArray();

        m_ExplosionList = new List <GameObject>();
    }