Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
private void ShootS() { GameObject bullet = Instantiate(bulletPrefab, shootPos.position, shootPos.rotation); Rigidbody rb = bullet.GetComponent <Rigidbody>(); rb.AddForce(shootPos.up * _arenaManager.GetEnemyBulletSpeed(), ForceMode.Impulse); }