Esempio n. 1
0
 void BlastClearanceHole()
 {
     if (explosionLocationList.Count > 0)
     {
         int nextLocationIndex = Random.Range(0, explosionLocationList.Count);
         topography.DigCircle(explosionLocationList [nextLocationIndex], digExplosionRadius, false, true);
         explosionLocationList.RemoveAt(nextLocationIndex);
         Invoke("BlastClearanceHole", 0.05f);
     }
 }
    void CircleStamp()
    {
        Topography topography = (Topography)FindObjectOfType(typeof(Topography));

        topography.DigCircle(this.transform.position, stampSize, isSolid, false);
    }