com.soviby.unity.ui.ugui-to.../Assets/Plugins/Editor/OpenCVForUnityResetDebugMode.cs

21 lines
352 B
C#
Raw Permalink Normal View History

2024-12-09 18:39:04 +00:00
#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
using OpenCVForUnity.UnityUtils;
namespace OpenCVForUnity.Editor
{
public class OpenCVForUnityResetDebugMode : MonoBehaviour
{
[InitializeOnEnterPlayMode]
static void InitializeOnEnterPlayMode()
{
Utils.setDebugMode(false);
}
}
}
#endif