| | 1 | | using System; |
| | 2 | | using DCL.FPSDisplay; |
| | 3 | | using TMPro; |
| | 4 | | using UnityEngine; |
| | 5 | |
|
| | 6 | | public class DebugValue : MonoBehaviour |
| | 7 | | { |
| | 8 | |
|
| | 9 | | [SerializeField] internal TMP_Text textValue; |
| | 10 | |
|
| | 11 | | public DebugValueEnum debugValueEnum; |
| | 12 | |
|
| | 13 | | public void SetValue(string newValue) |
| | 14 | | { |
| 0 | 15 | | textValue.text = newValue; |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | } |
| | 19 | |
|
| | 20 | | public enum DebugValueEnum |
| | 21 | | { |
| | 22 | | Skybox_Config, Skybox_Duration, Skybox_GameTime, Skybox_UTCTime, General_Network, General_Realm, General_NearbyPlaye |
| | 23 | | Scene_ProcessedMessages, Scene_PendingOnQueue, Scene_Poly, Scene_Textures, Scene_Materials, Scene_Entities, Scene_Me |
| | 24 | | Memory_Used_JS_Heap_Size, Memory_Limit_JS_Heap_Size, Memory_Total_JS_Heap_Size, |
| | 25 | | Memory_Total_Allocated, Memory_Reserved_Ram, Memory_Mono, Memory_Graphics_Card |
| | 26 | | } |
| | 27 | |
|