So I have a script that spawns enemies around me but after a few seconds basically just their sprites spawn without colliders or ai. How could I fix this?
Here is the spawner script:
Enemy spawner script
Here is the spawner script:
Code (CSharp):
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class EnemySpawner : MonoBehaviour
- {
- [SerializeField]
- private GameObject Tatar1Prefab;
- [SerializeField]
- private float Tatar1Interval = 3f;
- // Start is called before the first frame update...