Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
So we're going to lay out our items in our scene now, so let's just make sure that we do a final and
safe scene, going to take the squad and rename it.
This is going to be my ground.
And so in my cemetery Halloween set, I've got my prefigure prefab mobiles, so a prefab is basically
a pre-built object that has everything that you need all set up for you.
And what I'm going to do is basically make this a little bit bigger.
OK, so I'm just going to drop Dragsholm types into the scene and then we can work from there.
OK.
Make sure that you're in scene view to do this.
So I want one of these mobile Gracetown, maybe one that's kind of broke, maybe one of these.
It's kind of like a little bit warped.
Maybe one of these, uh, one of these.
You can just pull a skull in there and mobile to bring those and uh, even just one hand, and then
I also want these tree backgrounds as well, I think.
I think I'll go with this one tree, zero zero three zero one Biji.
Just write that one.
OK.
They're the items we're going to work with to begin with.
So now what I want to do is I want to see what I can see through my game and through the camera so I
can line them up correctly.
So I want to take my game, touch, click and drag over to the right so that it's lined up.
I'm just going to drag my inspector way over here, drag my Iraki over here.
That can be relatively small.
Now I can start dragging these items around.
So you want to take this and just want to drag it here like this.
And then rotate that around, and I probably want two or three of these, so I actually want to click
on the mobile to press control and D to duplicate, or if you want us edit and duplicate, that will
create me a second one mobile to zero one, and then I can pull one up here maybe a bit further back.
Maybe you can just rotated around a little bit.
Maybe I'll up another one as well.
So controlling D.
Just a little bit here.
This one for the bit.
That's good.
My tree.
I just moved back a bit.
Now, one of the few trees you can control in the.
Rolande.
And you can use multiple trees if you want.
I mean, there are four variations, but I'm just going to use the same one.
I'm fine.
It brings forward a bit and control the.
OK, just maybe another one.
Something like this.
OK, so it doesn't look so unusual.
Now, this tree, as you can see, is not a real tree.
It's just simply an image that's a simple quad.
So if I go to shaded wireframe, you can just see that is so basic, so simple.
It's just an image on the simple quad.
All of these items are extremely low poly.
So you can see it's barely got any kind of lines.
I go to wireframe.
You can see how simple these items really are.
All right.
Which is perfect for mobile.
Try and avoid items that, you know, are almost completely black because they've got so many triangles
in them that's just not useful for mobile or you really want to work, be working with very, very low
poly objects.
OK.
Yep, so I'm quite happy with that.
Want to take this one?
Maybe just pull it over here a little bit.
I'm going to switch off my gizmos, don't get in the way as I'm working, so with my mobile gravestone,
zero three control, and they should bring this forward a little bit.
You know, maybe one could even just rotate that around just a little bit.
And to my original one, again, just click on the control and the.
You yourself were not there as well.
Moved back a little bit.
Then we have this one.
Going to bring these ones forward a little bit closer to the camera.
Control and D.
Troll Andy.
Trouble in the.
OK, then I've got this one.
And.
Control and make sure that it is visible in the frame if he gets out here.
Not really visible, but we are going to be doing some rowth tatian on the camera a little bit later
so that it will be a bit more visible.
And I'm going to put this another one over this side this time.
From the.
OK, and then we've got this one that's all broken.
So to put this one on this side.
Here we go.
Control and they bring this one over to this side, in fact, actually, I might put it in that big
space at the back here.
Just make sure that it is visible.
If it's not visible, there's not really much point to put in there.
It's just kind of wasted geometry if you can't see it.
And what else do we have?
We have this little hand.
Let's make sure that that is kind of visible in the screen there.
It's not so small that you can't really see it.
It's maybe put another and somewhere over here in to my she bring this a little bit closer so we can
see that it looks pretty cool.
And then we've got a little skull here.
And now I think it's facing the wrong way at the moment, if I can find it.
It is.
So I need to rotate around its face in the camera.
And I'm going to bring this over like this, so it's maybe this one here that looks pretty cool.
You can actually make it out now you can see on the screen.
So make sure it's not so far away that you can barely see the.
See what we've got so far?
Yeah, I think that's looking fine.
I'm not too happy with the way that this ground looks at the moment.
So what I'm going to do and I'm going to take my main camera and on my way position, I'm just going
to click and drag in order to raise this up a little bit.
Yeah, I think that looks a little bit by the.
Yeah, OK, I'm fine with that, and I might try just manipulating this texture on the ground a little
bit, see what I can do with that.
So if I click on the ground, my material or my texture, where I've got my tiling sort of 45 by 45,
let me try 25.
All right, 25.
It's not too big.
Yeah, too big.
All right.
Thirty five this way.
Which over 65 the other way.
It's a bit stretched, isn't it so?
Fifty five.
I 40.
I actually prefer that, I think.
I mean, obviously, you know, you don't want it to be too visible far away, and you've got this nice
kind of blending effect going on there, but you don't want it to get too blended too early.
OK.
I think I think I should be fine.
Yes.
Yeah, that's quite nice.
OK, so we've got all of these items and in our scene.
All right.
But each of these items, if we just click on, for example, one of the gravestones, it has a mesh
renderer.
And as an old legacy on the machine that we're going to get rid of later.
And it's using mobile, diffuse.
OK, shader, which is fine.
This this actually does react to light, or at least it should do.
I'm just going to change the shader from the mobile diffuse to mobile unlinked.
OK, you probably won't notice much of a difference, but basically it means that they now won't react
to any kind of lighting.
All right.
So it makes it a lot easier and a lot quicker for a mobile to actually render.
It doesn't have to take into consideration any kind of lighting.
These almost have the lighting painted into them.
Now, at the moment, each of these objects is considered immovable object by unity, simply for the
reason it's not marked static.
Anything not marked as static is considered that these objects could potentially be moving all the time.
And so each one of these items is going to incur its own.
Dracul is is effectively a command from the CPU central processor to the graphics processor.
Each item having its own Dracul means the CPU asked to send the command to the GPU to draw in every
frame.
OK.
As soon as we mark them estatic, it will actually group all of these items together as one piece and
only send one command to the GPU because effectively it knows they're not going to move, knows exactly
what they're going to be every frame.
It's going to instead of sending draw calls for each and every item, she's going to send Wandrille
call, OK, in order to see this.
If we if I just move over here on the game and I just click start, we should leave.
We've only got set pascals moment, which is different to the draw calls.
So what I'm going to do in the next video is I'm going to show you the profiler where we can actually
start to see a lot of the elements going on behind the scenes, stuff to look at, things like draw
calls and batching and textures and all the rest of it and actually see how the computer is rendering
these items and how long each of those items is taking per frame.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.