EtG Modding Guide
Search…
⌃K

KeyProjModifier

The component used by guns such as the Akey-47 to unlock chests. It is intended to be applied to projectiles.
This monobehaviour contains no variables, no methods, and no code whatsoever, it is simply checked for upon a projectile impacting a chest. It's presence on a projectile causes the chest to be unlocked.
To use it, simply apply it to the projectile object. It requires no setup beyond that.