Swarm/WebLightChecker.gd

13 lines
262 B
GDScript3
Raw Normal View History

2024-03-06 00:07:26 +01:00
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