1. Home
  2. Docs
  3. Anti Cheat
  4. Automatic Protection

Automatic Protection

Use the Anti Cheat Auto Protection to protect the most sensitive parts of your game automatically .

Functions:

  • Auto replaces marked fields with its protected one and updates all references.
  • Replaces Time with ProtectedTime and all its belonging properties.
  • Replaces all PlayerPrefs with its corelated ProtectedPlayerPrefs one.

To mark ( and so protect ) a field, add the:
[OPS.AntiCheat.Attribute.ProtectField]
Attribute.

For example:

 

Activate the auto protection under ‘Window->Anti Cheat Settings’.