generated from krampus/template-godot4
Overhead light can take initial mask
This commit is contained in:
parent
cedd7d8108
commit
660e851007
@ -1,11 +1,16 @@
|
||||
extends Node3D
|
||||
|
||||
@export var threshold := 100.0
|
||||
@export var initial_mask: Texture
|
||||
|
||||
@onready var spot_light_3d: SpotLight3D = %SpotLight3D
|
||||
@onready var gunk_body: GunkBody = %GunkBody
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
if initial_mask:
|
||||
gunk_body.initial_mask = initial_mask
|
||||
|
||||
_deferred_init.call_deferred()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user