Чистка.
This commit is contained in:
BIN
data/РТР.png
BIN
data/РТР.png
Binary file not shown.
|
Before Width: | Height: | Size: 106 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 48 KiB |
BIN
data/рамка-1.png
Normal file
BIN
data/рамка-1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 220 B |
34
data/рамка-1.png.import
Normal file
34
data/рамка-1.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b0o8jhb5jbrev"
|
||||
path="res://.godot/imported/рамка-1.png-f12c78d1806344f437cab5886e375731.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://data/рамка-1.png"
|
||||
dest_files=["res://.godot/imported/рамка-1.png-f12c78d1806344f437cab5886e375731.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
15
scenes/контроль/кнопка-прибора.gd
Normal file
15
scenes/контроль/кнопка-прибора.gd
Normal file
@@ -0,0 +1,15 @@
|
||||
@tool
|
||||
|
||||
extends Node
|
||||
|
||||
@export var textures: Array
|
||||
|
||||
func _on_toggled(toggled_on): $frame.visible = toggled_on
|
||||
|
||||
@export var state: int:
|
||||
set(v):
|
||||
v = 0 if v < 0 else v % textures.size()
|
||||
state = v
|
||||
$state.texture = textures[v]
|
||||
get:
|
||||
return state
|
||||
Reference in New Issue
Block a user