Esempio n. 1
0
 public static ExplosionObject Explosion(Vector3 position, float scale)
 {
     if (ExplosionManagerStatic != null)
     {
         return(ExplosionManagerStatic.CreateExplosion(position, scale));
     }
     return(null);
 }
 private void PlayExplodeEffect(Vector3 position)
 {
     if (this.verbPayload != GameThing.Verbs.Vanish)
     {
         ExplosionManager.CreateExplosion(position, 2.0f);
         if (!Launcher.Mute)
         {
             Foley.PlayBoom(missile);
         }
     }
 }   // end of PlayExplodeEffect()
Esempio n. 3
0
 public void BigReveal()
 {
     ExplosionManager.CreateExplosion(transform.position, 4.0f);
 }