8 lines
118 B
GDScript
8 lines
118 B
GDScript
extends Sprite
|
|
|
|
export var shadows : bool = false
|
|
|
|
func _ready():
|
|
$Light2D.show()
|
|
$Light2D.shadow_enabled = shadows
|