1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| #include "os/c-api/il2cpp-config-platforms.h"
|
| #if !IL2CPP_TINY_WITHOUT_DEBUGGER
|
| #include "os/c-api/Debug-c-api.h"
| #include "os/Debug.h"
|
| extern "C"
| {
| int32_t UnityPalIsDebuggerPresent()
| {
| return il2cpp::os::Debug::IsDebuggerPresent();
| }
| }
|
| #endif
|
|