拾起物品同步
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
[gd_scene load_steps=6 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://world/items/carryable.gd" id="1_carryable"]
|
||||
[ext_resource type="SceneReplicationConfig" path="res://world/items/carryable_sync.tres" id="2_sync"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_body"]
|
||||
size = Vector3(0.6, 0.6, 0.6)
|
||||
@@ -22,3 +23,6 @@ surface_material_override/0 = SubResource("StandardMaterial3D_box")
|
||||
|
||||
[node name="Collision" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_body")
|
||||
|
||||
[node name="Sync" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = ExtResource("2_sync")
|
||||
|
||||
Reference in New Issue
Block a user