mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:35:34 +00:00
Shooting
This commit is contained in:
parent
1229613def
commit
341f76d885
17 changed files with 156 additions and 55 deletions
|
|
@ -124,10 +124,10 @@ public partial class PoolingManager : Node
|
|||
|
||||
private IBullet InstantiateBullet(BulletResource bulletData)
|
||||
{
|
||||
var bullet = bulletData.BulletScene.Instantiate<Bullet>();
|
||||
var bullet = bulletData.BulletScene.Instantiate<Node>();
|
||||
this.AddChild(bullet);
|
||||
//this.CreateChild<Bullet>(bulletData.BulletScene);
|
||||
return bullet;
|
||||
return bullet as IBullet;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue