hey i want to develop a game similar to scratch in unity in which i want a partition of screen like object in right half of screen accepting mouse or keyboard input while on left half they don’t how can i do it in unity.
Welcome to the forums!
Unfortunately, with your message it’s not really clear what you’re trying to ask. This may be helpful to you. I know it seems menial, but in development specificity is important, as is accuracy and clear communication.
Have you gone through the tutorials found on the Learn section? You’ll find there are 9 project-style categories and 16 topic-focused groups. I would say you should at least do the Roll-A-Ball tutorial, and from the topics, definitely do Interface & Essentials. If you’ve never written code before (or if you have and plan on doing so in Unity as well), it’s worth your time to go through at least the Beginner section on Scripting as well.
Once you’ve done that, I’m betting you’ll have a much better idea where to begin with your project idea.
Good luck!
It’s as simple as setting up two cameras and setting the viewport of each to half the screen.
Well, he’s talking about mouse or keyboard input in one half of the screen — that doesn’t necessarily require two cameras. It only requires putting the stuff that responds to mouse or keyboard input (probably Canvas elements) on one half of the screen. Maybe something like this MiniScript demo (WebPlayer required).