Custom func_godot entities

This commit is contained in:
Marco 2025-06-12 11:50:22 +02:00
commit 929d993f99
360 changed files with 4983 additions and 3944 deletions

View file

@ -0,0 +1,8 @@
@tool
class_name LightSpot
extends SpotLight3D
func _func_godot_apply_properties(props: Dictionary) -> void:
LightBase._func_godot_apply_properties(self, props)
spot_angle = props["angle"] as float
spot_range = (props["range"] as float) * TbManager.INVERSE_SCALE