SupportLogging
How do I use Support Logging
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
16 |
SupportLogging sl = go.AddComponent |
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 }
SupportLogging 125 lượt xem
Gõ tìm kiếm nhanh...