1. Home
  2. Docs
  3. Anti Cheat
  4. Detectors
  5. Field Hack Detected

Field Hack Detected

Step 1: AntiCheat Prefab

Add the OPS\AntiCheat\Prefabs\AntiCheat.prefab to your first game scene.

Step 2: Detector

Every protected field contains a hidden field, showing its unprotected value in memory.
If a cheater tried to modify this value, it will not affect the game, but you can catch him because you
know the correct value.

You can attach an delegate getting called when a field hack is detected.