新增FishNet文档
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
---
|
||||
description: >-
|
||||
The PingDisplay can be used to easily display the client's network ping during
|
||||
development.
|
||||
---
|
||||
|
||||
# PingDisplay
|
||||
|
||||
## Description
|
||||
|
||||
Often times you may want to display the local client's ping while developing your game, this can easily be done with the **PingDisplay** component. This component is commonly added to the [NetworkManager](../managers/network-manager.md) object, but that is not a requirement.
|
||||
|
||||
<div align="left"><figure><img src="../../../.gitbook/assets/ping-display-example.png" alt="An image of a game with a text at the top right showing the client's ping"><figcaption><p>Example of the PingDisplay component in-use</p></figcaption></figure></div>
|
||||
|
||||
## Settings
|
||||
|
||||
<div align="left"><figure><img src="../../../.gitbook/assets/ping-display-component.png" alt=""><figcaption><p>Default settings</p></figcaption></figure></div>
|
||||
|
||||
### :gear: **Color**
|
||||
|
||||
> This is which color to use for the displayed text.
|
||||
|
||||
### :gear: **Placement**
|
||||
|
||||
> The P**lacement** indicates in which part of the screen to display the client's ping.
|
||||
|
||||
### :gear: **Hide Tick Rate**
|
||||
|
||||
> This option will remove tick rate latency from the ping results otherwise the displayed ping will include the delay caused by the server's tick rate.
|
||||
Reference in New Issue
Block a user