可复用玩家状态机
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[gd_scene format=4 uid="uid://bekuuw153mv03"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://f5ptp3is4agf" path="res://character/player/player.gd" id="1_gtsfv"]
|
||||
[ext_resource type="Script" uid="uid://roaqmma0vjon" path="res://character/player/player_animator.gd" id="3_g20gq"]
|
||||
[ext_resource type="Texture2D" uid="uid://cq3awe0wjqsih" path="res://character/player/assets/Textures/colormap.png" id="3_gtsfv"]
|
||||
[ext_resource type="SceneReplicationConfig" uid="uid://c4ubbxjfrrs47" path="res://character/player/player_sync.tres" id="3_wu8e1"]
|
||||
|
||||
@@ -2796,6 +2797,9 @@ skeleton = NodePath("..")
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Body/character-male-e2" unique_id=1443249442]
|
||||
libraries/ = SubResource("AnimationLibrary_muffn")
|
||||
|
||||
[node name="PlayerAnimator" type="Node" parent="Body" unique_id=390989323]
|
||||
script = ExtResource("3_g20gq")
|
||||
|
||||
[node name="Sync" type="MultiplayerSynchronizer" parent="." unique_id=1979575210]
|
||||
replication_config = ExtResource("3_wu8e1")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user