I'm a little confused about how to get contents from a PackedScene. I have a script that fires projectile weapons:
export (PackedScene) var Bullet
export (float) var gun_cooldown
var velocity = Vector2()
var can_shoot = true
$GunTimer.wait_time = gun_cooldown
Currently the rate of fire is determined by
gun_cooldown, the script attached to the scene assigned to
export (float) var rate_of_firewhich I'd like to use instead.
No idea how I go about accessing this, I'm aware that PackedScene comes with a dictionary, but taking a look through it and I can't seem to get the value of
Can anyone point me in the right direction?