21 lines
352 B
C#
21 lines
352 B
C#
|
#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
|