In UI List, I am showing all other nodes like Polygon shapes..etc. (All transform node to move, rotate, scale operations) and also camera.
In my UI List.
1. When I select any camera (I have to check selected node is a camera) then only my above code will work.
2. When I select other nodes like polygon...etc., it should only select and respond for my transform command.
let me try your code myself everybody. Thank you for kind reply.