When this code is ran i want to instantiate one SizePowerUp clone but instead 3 are created this seems to be because of the delay on the Destroy() that is there to make the bullet bounce off the brick which i need. I am not sure how to fix this problem with out removing the delay any help would be much appreciated
using UnityEngine;
using System.Collections;
public class BulletCollider : MonoBehaviour
{
public GameObject SizePowerUp;
void OnTriggerEnter2D(Collider2D col)
{
if (col.gameObject.tag == "red")
{
Destroy(col.gameObject,.0002f);
Instantiate(SizePowerUp, transform.position, Quaternion.identity);
//ScoreManager.score += 200;
}
}