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