Example #1
0
 private void Start()
 {
     screenShake = FindObjectOfType <ScreenShake>();
     explosion   = new BasicExplosion(gameObject, radius);
 }
 private void Start()
 {
     base.Start();
     explosion   = new BasicExplosion(gameObject, triggerRadius * damagingRadiusMultiplier, "Damager");
     screenShake = FindObjectOfType <ScreenShake>();
 }