mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-07-15 00:14:48 +00:00
✨ add a map selector for multiplayer hosting
This commit is contained in:
parent
9613e6b651
commit
8321eec6a3
21 changed files with 110 additions and 62 deletions
6
types/resources/array_packed_scene.gd
Normal file
6
types/resources/array_packed_scene.gd
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class_name ArrayPackedSceneResource extends Resource
|
||||
|
||||
@export var _packed_scenes : Array[PackedScene] = []
|
||||
|
||||
func get_items() -> Array[PackedScene]:
|
||||
return _packed_scenes
|
||||
7
types/resources/array_packed_scene.tres
Normal file
7
types/resources/array_packed_scene.tres
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_resource type="Resource" script_class="ArrayPackedSceneResource" load_steps=2 format=3 uid="uid://cpnargstkucch"]
|
||||
|
||||
[ext_resource type="Script" path="res://types/resources/array_packed_scene.gd" id="1_r1ygd"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_r1ygd")
|
||||
_packed_scenes = Array[PackedScene]([])
|
||||
Loading…
Add table
Add a link
Reference in a new issue