NGUI will give you not null, if the collider you try to hit is in the UICamera's EventMask. But generally, you'd want to have a component on object you want to hit, that has OnClick, OnPress, OnHover etc in it, which will be called automatically by the event system.