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