mirror of
https://github.com/HarmonyHoney/tiny_crate.git
synced 2026-01-23 02:34:53 +00:00
DetailTileMap.visible = Shared.background_option > 0
This commit is contained in:
parent
248ae6efe6
commit
dff188fd23
1 changed files with 1 additions and 0 deletions
|
|
@ -31,3 +31,4 @@ func set_wood_color(arg := wood_color):
|
|||
func background_signal():
|
||||
var f = float(Shared.background_option)
|
||||
modulate = Color.black.linear_interpolate(Color.white, f / 10.0)
|
||||
visible = f > 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue