|
|
|
|
|
|
using System.Diagnostics; |
|
|
|
using System.Text.RegularExpressions; |
|
|
|
using Unity.Collections; |
|
|
|
#if UNITY_EDITOR
|
|
|
|
#endif
|
|
|
|
using UnityEngine; |
|
|
|
using UnityEngine.Experimental.Rendering; |
|
|
|
using UnityEngine.Perception.GroundTruth; |
|
|
|
|
|
|
callback(data); |
|
|
|
} |
|
|
|
|
|
|
|
[Conditional("UNITY_EDITOR")] |
|
|
|
#if UNITY_EDITOR
|
|
|
|
public static void LoadAndStartRenderDocCapture() |
|
|
|
{ |
|
|
|
UnityEditorInternal.RenderDoc.Load(); |
|
|
|
|
|
|
{ |
|
|
|
UnityEditorInternal.RenderDoc.EndCaptureRenderDoc(s_GameView); |
|
|
|
} |
|
|
|
#endif
|
|
|
|
|
|
|
|
public static string NormalizeJson(string json, bool normalizeFormatting = false) |
|
|
|
{ |
|
|
|