血量显示在玩家头顶
This commit is contained in:
+1
-2
@@ -90,8 +90,7 @@ E:\GD_Projects\agame\
|
||||
│ │ ├─ CameraRig → SpringArm → Camera ← 远端玩家会被删掉这一支
|
||||
│ │ ├─ Body → Mesh ← 视觉层,换角色模型挂这里
|
||||
│ │ ├─ Sync (MultiplayerSynchronizer) ← 负责同步位置和朝向
|
||||
│ │ └─ Hud (CanvasLayer) ← 本地玩家的血条,远端玩家会被隐藏
|
||||
│ │ └─ HealthLabel (Label)
|
||||
│ │ └─ HealthLabel (Label3D) ← 头顶血条(3D 世界里的文字,跟着角色走)
|
||||
│ ├── player.gd ← 加了「本地 / 远端」分支
|
||||
│ └── player_sync.tres ← 同步配置:到底同步哪几个属性
|
||||
└── tests\
|
||||
|
||||
Reference in New Issue
Block a user