mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-16 04:03:47 +00:00
2D Character and weapons
This commit is contained in:
parent
072f6d0ce6
commit
cc9c4e5aa1
37 changed files with 1115 additions and 91 deletions
|
|
@ -80,7 +80,7 @@ public partial class Barrel : Area2D, IDestructible
|
|||
if (ExplosionData == null) return;
|
||||
|
||||
|
||||
var explosion = PoolingManager.Instance.SpawnBullet(ExplosionData);
|
||||
var explosion = PoolingManager.Instance.SpawnBullet<Bullet>(ExplosionData);
|
||||
explosion.GlobalPosition = this.GlobalPosition;
|
||||
|
||||
//var explosion = this.CreateSibling<Bullet>(ExplosionData.BulletScene);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue