feat 接入Prometheus

This commit is contained in:
2025-12-17 21:05:12 +08:00
parent efa9f50d3e
commit da91cff056
24 changed files with 289 additions and 60 deletions

View File

@@ -17,7 +17,10 @@ public class PlayerControl : MonoBehaviour
if (Time.time >= _lastSendTime + 1f / SendRate)
{
SendMoveInput(currentDir);
if (currentDir != Vector2.zero)
{
SendMoveInput(currentDir);
}
}
else if (currentDir != _lastSentDirection)
{