Make NetworkPingDisplay's width & height configurable (#3196)

This commit is contained in:
hyouuu 2022-08-07 19:23:56 -07:00 committed by GitHub
parent 88825e45d5
commit 8d1061089b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,8 +13,8 @@ public class NetworkPingDisplay : MonoBehaviour
{ {
public Color color = Color.white; public Color color = Color.white;
public int padding = 2; public int padding = 2;
int width = 150; public int width = 150;
int height = 25; public int height = 25;
void OnGUI() void OnGUI()
{ {