spawning chests in csg boxes, working on making them root of scene so they aren't cleared with the scene on exit
This commit is contained in:
12
scripts/chest_spawner.tscn
Normal file
12
scripts/chest_spawner.tscn
Normal file
@@ -0,0 +1,12 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://c5t4uqihf8q0i"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://fs6qd8efarl7" path="res://scripts/csg_spawner.gd" id="1_l7ryb"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hthjk"]
|
||||
transparency = 1
|
||||
shading_mode = 0
|
||||
albedo_color = Color(1, 1, 1, 0)
|
||||
|
||||
[node name="ChestSpawner" type="CSGBox3D" groups=["chest_spawner"]]
|
||||
material = SubResource("StandardMaterial3D_hthjk")
|
||||
script = ExtResource("1_l7ryb")
|
||||
Reference in New Issue
Block a user