What we need to do.
We basically need to move over to top left file, then build profiles.
Basically, we have done the settings already, which is we need to move over to editor and we need
to choose that none from to any Android devices.
If you haven't then what you can simply do, you can just move over to top left file.
Then you can just click on this player settings.
In the top bar, you can see in your build profile tabs, and in the left part we can see editor in
the top side.
And then choose this device from any Android device and make sure you just connect it with an USB to
to with your phone to your computer, which I already done it and I'm currently my phone is connected
with an USB to my computer.
And if you, uh, just uh, if you a little bit worried, basically you can move over to edit as well
in the top left.
Then you can click on this project settings in the bottom.
And you can find the editor tab as well and choose device to from none to any Android devices, and
once we're done, we can simply cut this step and we can click on this play button in the top in order
to play our game.
And I already connected my phone with an USB, uh, with, uh, you can simply say, uh, to my computer.
And if we now our game just going to play live, uh, basically we can simply touch on our mobile phone
in order to make this player jump, attack and all of these things.
So just wait a moment and we getting an error.
It says a unity remote requires text field.
Basically we need to check that.
So I'm going to get out of play mode.
Uh basically you need to make sure you just connected your phone.
So I'm gonna connect one more time.
Now it's fine.
And let's click on this play button in the top.
And if it's not working, then we need to make sure that we enable USB debugging in our phone.
And once we are done with that so we can simply check that out.
So just wait a moment.
So now it's basically working fine and I can check in my mobile phone.
But the problem is that it's saying portrait mode.
So what I'm going to do, I'm going to get out of play mode and let's go over to top left file one more
time.
Then click on this build profiles in the bottom, and let's click on this player settings in the top
bar.
And over here what I'm gonna do I'm going to move over to my resolution and presentation.
Uh basically select your player in the left bar.
In this Project Settings tab.
Make sure you select your player.
Then move over to resolution and presentation.
And what I'm gonna do, I'm gonna scroll down a bit and I'm gonna check this.
I'm gonna uncheck this portrait and portrait upside down since I'm making this game for landscape mode.
So that's why.
So I'm gonna uncheck this portrait as well as I'm gonna uncheck this portrait upside down and auto rotation
I'm gonna set to landscape.
Right or left?
We can check with any.
So I'm gonna check for.
Right.
So let's check that.
And now it's going to be easy to check with our phone uh, with our mobile phone.
So I'm gonna simply cut this tab.
And now let's click on this play button in the top one more time in order to play our game.
And now let's have a look on this so we can simply, uh, gonna, uh, we're gonna simply gonna see
our, uh, this game in landscape right mode.
So now it's going to be pretty fine.
And now it's playing and I can see and I'm just touching my jump button, as you can see on in my mobile
phone, I'm not doing anything inside this unit editor or inside this game view.
I'm just simply touching my this jump button in my mobile phone.
As you can see, as soon I'm just, uh, just touching that.
Our player is just jumping and we can click on this attack button to attack, as you can notice, and
we can just press down these left and right arrow in order to move left and right, as you can notice.
And it's basically working fine.
So I'm going to die first.
So let's die and I lost.
And if I click on this menu button we just moving over to menu.
As you can notice.
And if I click on this play button I.
We just playing our game.
Uh so just let's click on this play button in our game and it's working fine.
Basically.
Uh seems pretty much good by now.
So I hope you get the idea that how you can check your game live with your mobile phone.
So basically you need to make sure that you just connect with an with an USB to your computer with your
mobile.
So make sure you just do that.
And once you are done we can just go ahead and it's pretty much fine.
So I'm going to get out of play mode.
So I hope you get the idea that how you can, uh, basically check your, uh, game in your mobile phone
during development of it.
So I hope you get the idea of this.