PunSupportLogger
How do I use Pun Support Logger
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
11 | GameObject go = GameObject.Find("PunSupportLogger"); | 1 |
File name: SupportLogger.cs
Copy
9 public void Start()
10 {
11 GameObject go = GameObject.Find("PunSupportLogger");
12 if (go == null)
13 {
14 go = new GameObject("PunSupportLogger");
15 DontDestroyOnLoad(go);
16 SupportLogging sl = go.AddComponent
17 sl.LogTrafficStats = this.LogTrafficStats;
18 }
19 }
PunSupportLogger 119 lượt xem
Gõ tìm kiếm nhanh...