Swarm/WebLightChecker.gd
2024-03-06 00:07:26 +01:00

12 lines
262 B
GDScript

extends DirectionalLight3D
# Called when the node enters the scene tree for the first time.
func _ready():
if OS.has_feature("web"):
light_color /= PI
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass