mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 03:35:53 +00:00
2D Character and weapons
This commit is contained in:
parent
072f6d0ce6
commit
cc9c4e5aa1
37 changed files with 1115 additions and 91 deletions
|
|
@ -18,7 +18,7 @@ public partial class SpiderbombEffectResource : ItemEffectResource
|
|||
public IITemEffectMachine Execute()
|
||||
{
|
||||
|
||||
var bullet = PoolingManager.Instance.SpawnBullet(item.WeaponData.BulletData);
|
||||
var bullet = PoolingManager.Instance.SpawnBullet<Bullet>(item.WeaponData.BulletData);
|
||||
bullet.GlobalPosition = parent.Machine.MainObject.GlobalPosition;
|
||||
|
||||
//var bullet = parent.CreateChildOf<Bullet>(GameManager.Instance.BulletsContainer, item.WeaponData.BulletData.BulletScene, parent.GlobalPosition);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue