This repository has been archived on 2022-01-09. You can view files and clone it, but cannot push or open issues/pull-requests.
liblast/Game/Assets/Weapons/Handgun/Flash.gd

11 lines
170 B
GDScript

extends Node3D
func _ready():
print("Muzzle flash spawned")
$GPUParticles3D.emitting = true
$AnimationPlayer.play("Flash")
func _on_Timer_timeout():
queue_free()