Detect-It-Easy/db/PE/game_engine_Unity.3.sg
2026-06-21 09:46:17 +02:00

25 lines
No EOL
598 B
JavaScript

// Detect It Easy: detection rule file
// Author: DosX
// E-Mail: collab@kay-software.ru
// GitHub: https://github.com/DosX-dev
// Telegram: @DosX_dev
// https://unity.com/
meta("game engine", "Unity");
function detect() {
if (PE.isLibraryPresent("UnityPlayer.dll") || PE.isExportFunctionPresent("UnityMain")) {
bDetected = true;
}
if (PE.isExportFunctionPresent("il2cpp_alloc")) {
sLang = "Native MSIL/C#";
sOptions = "IL2CPP";
bDetected = true;
_setResult("compiler", "IL2CPP Technology", String(), String());
}
return result();
}