public void ProcessOnHitEffect() { explGenerator.GenerateAndProcessExplosion(hitPos); DealDamageToImpactTarget(); timedRemovalProcessor.Remove(0.5f); }
public void ProcessCollision(GameObject other, CollisionType type) { if (type != CollisionType.CollisionEnter && type != CollisionType.TriggerEnter) { return; } explGenerator.GenerateAndProcessExplosion(transform.position); }
private void GenerateExplosion() { explGenerator.GenerateAndProcessExplosion(explPos); }