NetworkStatisticsEnabled
How do I use Network Statistics Enabled
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
68 | PhotonNetwork.NetworkStatisticsEnabled = true; | 1 |
File name: SupportLogger.cs
Copy
61 public void OnConnectedToPhoton()
62 {
63 Debug.Log("SupportLogger OnConnectedToPhoton().");
64 this.LogBasics();
65
66 if (LogTrafficStats)
67 {
68 PhotonNetwork.NetworkStatisticsEnabled = true;
69 }
70 }
NetworkStatisticsEnabled 137 lượt xem
Gõ tìm kiếm nhanh...