private void DispatchSignal <T>() where T : Signal { if (_context == null) { return; } var signal = _context.GetComponent <T>() as T; if (signal == null) { return; } signal.Dispatch(); }