Set input mode game and UI and control character camera

I fixed the problem. It was my stupid mistake, everything was working fine all the time.

Again thank for your help.