private void OnEnable() { if (Instance != null) { Destroy(gameObject); return; } Instance = this; }
public List <GameObject> activeHoles = new List <GameObject>(); // currently active bullet holes void Start() { bulletHole = this; }
// Use this for initialization void Start() { instance = this; }