mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-06 12:35:54 +00:00
3D Explosions
This commit is contained in:
parent
aa8f6c6fa8
commit
ad63d2ff43
20 changed files with 207 additions and 19 deletions
|
|
@ -34,6 +34,9 @@ public partial class Bullet3D : Area3D, IBullet
|
|||
[Signal]
|
||||
public delegate void OnDestroyEventHandler();
|
||||
|
||||
[Signal]
|
||||
public delegate void InitializedEventHandler();
|
||||
|
||||
private AudioStreamPlayer3D _grazeSound;
|
||||
private GpuParticles3D _grazeParticles;
|
||||
|
||||
|
|
@ -65,6 +68,8 @@ public partial class Bullet3D : Area3D, IBullet
|
|||
|
||||
// Ugly hack to make instances unique
|
||||
_modifiers = _bulletInfo.TimeModifiers.Select(x => x.Wrap()).ToList();
|
||||
|
||||
EmitSignalInitialized();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue