feat 接入Prometheus
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user