unity ui not seen

C#
//Check the element's position z
//Check the element's layer and if it's being renderered
Source

Also in C#: