WEBVTT

00:00.200 --> 00:01.200
What we need to do.

00:01.560 --> 00:06.160
We basically need to move over to top left file, then build profiles.

00:06.280 --> 00:12.000
Basically, we have done the settings already, which is we need to move over to editor and we need

00:12.000 --> 00:15.280
to choose that none from to any Android devices.

00:15.280 --> 00:19.920
If you haven't then what you can simply do, you can just move over to top left file.

00:20.520 --> 00:23.120
Then you can just click on this player settings.

00:23.120 --> 00:29.480
In the top bar, you can see in your build profile tabs, and in the left part we can see editor in

00:29.480 --> 00:30.320
the top side.

00:30.600 --> 00:37.680
And then choose this device from any Android device and make sure you just connect it with an USB to

00:38.080 --> 00:45.840
to with your phone to your computer, which I already done it and I'm currently my phone is connected

00:45.840 --> 00:48.000
with an USB to my computer.

00:48.360 --> 00:55.720
And if you, uh, just uh, if you a little bit worried, basically you can move over to edit as well

00:55.720 --> 00:56.720
in the top left.

00:56.760 --> 00:59.920
Then you can click on this project settings in the bottom.

00:59.920 --> 01:07.020
And you can find the editor tab as well and choose device to from none to any Android devices, and

01:07.020 --> 01:12.380
once we're done, we can simply cut this step and we can click on this play button in the top in order

01:12.380 --> 01:13.620
to play our game.

01:13.860 --> 01:21.820
And I already connected my phone with an USB, uh, with, uh, you can simply say, uh, to my computer.

01:22.020 --> 01:28.940
And if we now our game just going to play live, uh, basically we can simply touch on our mobile phone

01:29.060 --> 01:33.380
in order to make this player jump, attack and all of these things.

01:33.740 --> 01:37.940
So just wait a moment and we getting an error.

01:37.980 --> 01:41.340
It says a unity remote requires text field.

01:41.540 --> 01:43.140
Basically we need to check that.

01:43.140 --> 01:44.820
So I'm going to get out of play mode.

01:45.100 --> 01:48.580
Uh basically you need to make sure you just connected your phone.

01:48.860 --> 01:50.860
So I'm gonna connect one more time.

01:53.020 --> 01:54.540
Now it's fine.

01:54.540 --> 01:56.980
And let's click on this play button in the top.

01:57.260 --> 02:04.700
And if it's not working, then we need to make sure that we enable USB debugging in our phone.

02:05.020 --> 02:09.700
And once we are done with that so we can simply check that out.

02:11.060 --> 02:12.450
So just wait a moment.

02:19.690 --> 02:25.450
So now it's basically working fine and I can check in my mobile phone.

02:25.450 --> 02:28.850
But the problem is that it's saying portrait mode.

02:28.850 --> 02:34.210
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

02:34.210 --> 02:34.690
time.

02:34.690 --> 02:40.170
Then click on this build profiles in the bottom, and let's click on this player settings in the top

02:40.170 --> 02:40.650
bar.

02:40.930 --> 02:46.650
And over here what I'm gonna do I'm going to move over to my resolution and presentation.

02:46.810 --> 02:49.650
Uh basically select your player in the left bar.

02:49.650 --> 02:51.290
In this Project Settings tab.

02:51.290 --> 02:53.250
Make sure you select your player.

02:53.290 --> 02:56.290
Then move over to resolution and presentation.

02:56.290 --> 03:01.210
And what I'm gonna do, I'm gonna scroll down a bit and I'm gonna check this.

03:01.250 --> 03:08.050
I'm gonna uncheck this portrait and portrait upside down since I'm making this game for landscape mode.

03:08.050 --> 03:08.930
So that's why.

03:09.130 --> 03:16.130
So I'm gonna uncheck this portrait as well as I'm gonna uncheck this portrait upside down and auto rotation

03:16.130 --> 03:17.950
I'm gonna set to landscape.

03:17.950 --> 03:19.910
Right or left?

03:19.950 --> 03:21.390
We can check with any.

03:21.550 --> 03:22.990
So I'm gonna check for.

03:23.030 --> 03:23.630
Right.

03:23.630 --> 03:24.990
So let's check that.

03:24.990 --> 03:30.870
And now it's going to be easy to check with our phone uh, with our mobile phone.

03:30.870 --> 03:32.630
So I'm gonna simply cut this tab.

03:32.630 --> 03:38.550
And now let's click on this play button in the top one more time in order to play our game.

03:38.550 --> 03:45.350
And now let's have a look on this so we can simply, uh, gonna, uh, we're gonna simply gonna see

03:45.350 --> 03:49.190
our, uh, this game in landscape right mode.

03:49.630 --> 03:52.070
So now it's going to be pretty fine.

03:52.430 --> 04:00.310
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

04:00.310 --> 04:06.150
phone, I'm not doing anything inside this unit editor or inside this game view.

04:06.190 --> 04:09.910
I'm just simply touching my this jump button in my mobile phone.

04:09.910 --> 04:14.030
As you can see, as soon I'm just, uh, just touching that.

04:14.430 --> 04:21.310
Our player is just jumping and we can click on this attack button to attack, as you can notice, and

04:21.310 --> 04:28.300
we can just press down these left and right arrow in order to move left and right, as you can notice.

04:28.300 --> 04:30.420
And it's basically working fine.

04:30.420 --> 04:32.260
So I'm going to die first.

04:32.500 --> 04:35.180
So let's die and I lost.

04:35.180 --> 04:38.820
And if I click on this menu button we just moving over to menu.

04:38.820 --> 04:40.140
As you can notice.

04:40.140 --> 04:42.460
And if I click on this play button I.

04:42.500 --> 04:44.220
We just playing our game.

04:44.620 --> 04:50.140
Uh so just let's click on this play button in our game and it's working fine.

04:50.140 --> 04:50.780
Basically.

04:50.900 --> 04:53.020
Uh seems pretty much good by now.

04:53.020 --> 04:59.620
So I hope you get the idea that how you can check your game live with your mobile phone.

04:59.620 --> 05:06.980
So basically you need to make sure that you just connect with an with an USB to your computer with your

05:07.020 --> 05:07.420
mobile.

05:07.420 --> 05:09.060
So make sure you just do that.

05:09.060 --> 05:14.100
And once you are done we can just go ahead and it's pretty much fine.

05:14.100 --> 05:15.660
So I'm going to get out of play mode.

05:15.660 --> 05:22.740
So I hope you get the idea that how you can, uh, basically check your, uh, game in your mobile phone

05:22.780 --> 05:24.940
during development of it.

05:24.940 --> 05:27.380
So I hope you get the idea of this.
