예제 #1
0
 protected void Start()
 {
     _bulletPooler = BulletPooler.Instance;
     InvokeRepeating(nameof(Spawn), 0.0f, shootInterval);
 }
예제 #2
0
 private void Awake()
 {
     Instance = this;
 }