feat: Make spawn script independent
This commit is contained in:
parent
15c3b0ac8a
commit
164ddbf0ee
|
|
@ -0,0 +1,5 @@
|
||||||
|
extends Node3D
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
$Mesh.mesh.size.x = Global.chunk_size
|
||||||
|
$Mesh.mesh.size.y = Global.chunk_size
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://dixivehd47h0o
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[gd_scene format=3 uid="uid://m45422rsfnmh"]
|
[gd_scene format=3 uid="uid://m45422rsfnmh"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://e3kpo73hvthu" path="res://station.gd" id="1_3a72r"]
|
[ext_resource type="Script" uid="uid://dixivehd47h0o" path="res://spawn.gd" id="1_3a72r"]
|
||||||
|
|
||||||
[sub_resource type="PlaneMesh" id="PlaneMesh_kdh3y"]
|
[sub_resource type="PlaneMesh" id="PlaneMesh_kdh3y"]
|
||||||
size = Vector2(150, 150)
|
size = Vector2(150, 150)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue