public static void Deregister(ChangeSpeedEventHandler handler) { RaiseChangeSpeedEvent -= handler; }
void Start() { p1ChangeSpeedEvent += new ChangeSpeedEventHandler(statusSpeed.P1StatusSpeedChange); p2ChangeSpeedEvent += new ChangeSpeedEventHandler(statusSpeed.P2StatusSpeedChange); p3ChangeSpeedEvent += new ChangeSpeedEventHandler(statusSpeed.P3StatusSpeedChange); }