OnTrapSnapped
Usage
- No return behavior
Example Autogenerated
csharp
private void OnTrapSnapped( BaseTrapTrigger instance, GameObject obj, Collider col )
{
Puts( "OnTrapSnapped works!" );
}
Location
- BaseTrapTrigger::OnObjectAdded(UnityEngine.GameObject obj, UnityEngine.Collider col)
csharp
internal override void OnObjectAdded(GameObject obj, Collider col)
{
Interface.CallHook("OnTrapSnapped", this, obj, col);
base.OnObjectAdded(obj, col);
this._trap.ObjectEntered(obj);
}