2‑D pressure‑plate controller. More...
Data Fields | |
UnityEvent | onPressed |
UnityEvent | onReleased |
2‑D pressure‑plate controller.
Attach this to the DYNAMIC plate Rigidbody2D that is linked by a SpringJoint2D to a KINEMATIC base. The plate fires events when it sinks (compresses the spring) beyond a configurable threshold.
UnityEvent PressurePlate2D.onPressed |
UnityEvent PressurePlate2D.onReleased |