void SendEvent(HumanoidControl humanCtrl, int eventValue) { if (humanCtrl != null) { humanCtrl.HandleEvent(eventValue); } }