LogStats
How do I use Log Stats
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
30 | this.InvokeRepeating("LogStats", 10, 10); | 1 |
39 | public void LogStats() | 2 |
File name: SupportLogger.cs
Copy
26 public void Start()
27 {
28 if (LogTrafficStats)
29 {
30 this.InvokeRepeating("LogStats", 10, 10);
31 }
32 }
File name: SupportLogger.cs
Copy
39 public void LogStats()
40 {
41 if (this.LogTrafficStats)
42 {
43 Debug.Log("SupportLogger " + PhotonNetwork.NetworkStatisticsToString());
44 }
45 }
LogStats 145 lượt xem
Gõ tìm kiếm nhanh...