public void ProcessOnHitEffect()
        {
            explGenerator.GenerateAndProcessExplosion(hitPos);

            DealDamageToImpactTarget();

            timedRemovalProcessor.Remove(0.5f);
        }
예제 #2
0
        public void ProcessCollision(GameObject other, CollisionType type)
        {
            if (type != CollisionType.CollisionEnter && type != CollisionType.TriggerEnter)
            {
                return;
            }

            explGenerator.GenerateAndProcessExplosion(transform.position);
        }
예제 #3
0
 private void GenerateExplosion()
 {
     explGenerator.GenerateAndProcessExplosion(explPos);
 }