Resonant X-ray scattering study of UNiGa5