xiandie/scene/entity/general/sfx2d.tscn

23 lines
746 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://cyobva6ppmapr"]
[ext_resource type="AudioStream" uid="uid://cvttds81trcoc" path="res://asset/audio/sfx/ui/click.wav" id="1_7vcpo"]
[ext_resource type="Script" path="res://scene/entity/general/sfx2d.gd" id="1_k1qpr"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xx2jy"]
size = Vector2(200, 200)
[node name="Sfx2d" type="AudioStreamPlayer2D"]
stream = ExtResource("1_7vcpo")
autoplay = true
bus = &"game_sfx"
script = ExtResource("1_k1qpr")
file = "click.wav"
[node name="Area2D" type="Area2D" parent="."]
collision_layer = 0
input_pickable = false
monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_xx2jy")