Flexible response strategies to balance game security and user experience for any situation.
Only detects and fires events. Ideal for analysis and monitoring purposes.
Displays a warning and safely terminates the app when auto-clickers are detected. Recommended for production.
Disables all detection features. Use this for development and testing environments.
Clear separation of concerns and extensible design for easy maintenance and customization.
Add security features to your game quickly with a simple API and automatic configuration.
using MacroDetector.SDK;
using UnityEngine;
public class GameManager : MonoBehaviour
{
private MacroDetector detector;
void Start()
{
// Initialize detector
detector = new MacroDetector();
// Subscribe to detection events
detector.MacroDetected += OnMacroDetected;
// Start monitoring
detector.Start();
}
void OnMacroDetected(object sender,
MacroDetectedEventArgs e)
{
Debug.Log($"Macro detected! Action: {e.Action}");
// Send to server, apply sanctions, etc.
}
}Purchase from Unity Asset Store and import into your Unity project via Package Manager
Run Tools > MacroDetector > Create Settings Asset menu
Select detect/block/none mode in the Inspector
Initialize MacroDetector in your game start script
Test detection features on an Android device
DLL obfuscation via Obfuscar
Critical string encryption
Safe AndroidJavaProxy cleanup
Core detection logic protection