I have this funny object here:

Its made up of two billboards that represent the same cube from different angles.


I only want to see one cube at a time depending on my camera's viewing angle.
I'd like to manipulate the UVs to toggle the cubes on and off as my camera moves.
I assume doing this in the shader is a bit faster than in script.
How can I access and modify the UV data?
I don't know how UV data is stored or what it looks like.
I assume the coordinates of each vertex of the UV is stored in an array? How can I get this array?
Also, I have two cubes. Each cube has four vertices in the UV map. How can I tell which vertex belongs to which cube?
I assume to hide a cube I can somehow set the four vertices to 0, 0, 0, 0?