AISubs v3.5
Thank you for coming today as well.
Thank you for having us.
Excuse me, we are going to start from the inside like this,
trying bad weather with typhoon.
I would like to ask you about today's fashion point.
Let's start with Yan-chan.
Please stand up and take one step to the left.
Today's fashion point.
What is it?
But you two chose it first,
so I matched it with the monochrome or black and white
and matched it with the outfit you brought today.
You matched it with your bodies?
Yes.
And it wasn't much different from my daily clothes,
so I really liked it and chose it.
Ayatin.
She is so cute.
Today, I am an adult girl.
The arrangement is cute as well.
Yes, this area is like a party girl.
I want earrings as well.
Yay!
She is so cute.
Lastly, Yuniki.
Yes.
What is it?
It is this one.
Today's theme is "friendship".
"Friendship".
#24.
Today is the review session.
I'll master perfectly how to move things.
I thought it would be French-like.
And I was tied up like this.
I usually don't have much hair around here, so I'm a person who is worried.
But since there are two people who are relieved, I tied up two.
Today, I'm going to eat at a restaurant called "Teppanyaki" in Chinagawa called "Narumichi".
I hope I can program.
But isn't it a good temperature adjustment in this room?
It's not a story of a shop.
Good evening. I'm Sato Rika of Nogizaka46.
The three of you are visiting "Narumichi", a teppanyaki shop in Chinagawa.
Today, I'm going to have a perfect hamburger made by hand.
Can you say something before you eat?
It's been a while.
Please cook for me.
It's not about eating.
It's a hamburger and a set meal.
It looks delicious.
It's a set meal.
It looks delicious.
It's amazing.
There was a typhoon today.
But I didn't lose to the wind and rain.
I'd like to thank everyone who worked hard to make it today.
Thank you for the meal.
You look like a kanji character.
It looks delicious.
Thank you for the meal.
It's thick.
It looks delicious.
Is it delicious?
It's soft.
Thank you for the meal.
It's sweet.
It has a lot of sweetness.
Let's eat.
It has mushrooms, too.
It's warm.
The bread is warm, so it's still warm.
There is a lot of sauce, isn't it?
Yes, it is.
It's so luxurious.
Isn't demi-glace too strong?
It's light.
I can eat it even in the morning.
Can you eat it in the morning?
Mashed potatoes are delicious.
It has a rough texture.
It's like a potato is left.
I wonder what the staff is looking for in such a shop.
That's right.
This is a glassandia.
That's great.
I wasn't just singing "Happy Birthday".
It's delicious.
The last drama was really boring.
The fans said a lot of things about it.
What did you say?
I said that it was like an old town before programming.
Is there anything you want to eat?
I often ask you where you want to go.
I want to eat mashed potatoes.
Sweet potatoes?
I want to eat sweet potato chips.
I went to that shop and ate shaved ice before.
On top of the shaved ice is sweet potato flavor.
There is such a shop.
Shaved ice with peach?
It looks very delicious.
Vegetables.
What were you going to say?
Vegetables and peach?
Peach?
Peaches are a little different when you peel and eat them yourself.
It can't be helped.
If you peel and eat it yourself, it's a little half-done.
You have to peel and eat it.
If you peel and eat it yourself, it's a little half-done.
By the way, this is the first episode of "Sunkool" that we are shooting now.
It will be the first broadcast in October.
It means you are in the third year of high school.
Third year of high school.
It doesn't end in one year and three months.
If you say so.
It's impossible for us to be in the same class until we're in the third year of high school.
I'm happy.
I don't know what to do because it's too unknown.
You've been doing it for six months in that unknown.
It's pretty much your own ability.
What level do you think you are at now?
When I first did it, I was in the middle of it.
So I think I've only taken one step forward.
I think I'm learning a little secret.
Isn't it difficult?
How much did you carve out?
One hundred.
If it's one hundred, it's fifteen.
But if it's a charging of one hundred and fifteen percent,
If it's a cell phone charging of fifteen percent, I don't rush at all.
I think it's okay.
What kind of follow-up will you do?
I'm going to do it again today, but before that...
I've been programming since the beginning of the show.
Miyake-san, who told me about it, has decided to leave the show for a while.
What? I haven't said goodbye yet.
I haven't said anything.
Because I've cried and it's over.
Oh, that's right.
I'm really sorry.
No, it's not like that.
I'm sorry.
So, for the time being, let's do our best while being taught by Takahashi-san.
And today's content is...
What I'm going to do today is...
I think programming has become quite difficult lately, like last time, right?
I'd like to stop for a moment and see how much we've mastered.
I hope we can do something like revenge again.
The three of us made an escape game over the last three weeks.
Even if you can program the difficult content as you are told, you are not familiar with it as knowledge.
So this time, we're going to focus on one theme and review it thoroughly.
I think we've done a lot of things like moving things in Unity.
I'm going to remember and change things with this one theme.
Today's theme is...
Moving things. Programming.
Before we move things, I'd like you to know a little bit about Unity as a whole and what kind of structure it is in the first place.
First of all, as basic knowledge, let's start with the overall structure of Unity.
First of all, I'd like to talk about the overall structure of Unity.
Do you see where it says "sample scene" right now?
This is like a stage.
If you don't put it in here, you can't use it in the game.
If you don't put it in here, it won't start.
It won't start, it won't move.
And there's a main camera in there right now.
This is what we're going to be adding in more and more, but it's called a "game object."
And please think of this itself as an empty container.
In this game object, things like "transform" and "camera" are called "components."
"Component" means "function."
For example, this camera is in there, so it's using the camera's function.
By the way, the programs we've been doing so far are also one of the components.
We've been creating new functions by programming the parts that weren't there before ourselves.
So we're going to be moving things around a little bit this time.
First of all, nothing is displayed right now.
So we're going to add a function that displays it for you.
And the name of that function is "sprite renderer."
Sprite renderer...
Sprite is an image that's been shown a little bit so far.
And renderer is a function that displays it.
So you can do whatever you want with it.
And you can do whatever you want with it.
I said "add a component", but this means "add a component".
"Add" means "add".
And like this, if you add a sprite renderer as "add component", it will be displayed like this.
But you need an image for it.
So you can learn how to make an image.
"Assets" below.
"Create".
"2D".
"Sprite".
"Circle" this time.
I think you can make an image with this.
I'm making a round image now.
Click where it says "game object".
Go to "sprite renderer" and add the circle you made earlier.
It's displayed!
That's what I've been doing every time.
So far, you've only added components that are already in Unity.
Now, let's program them ourselves and create new components!
By the way, "script" is what we call "components" that we programmed ourselves.
"Script"?
In the first place, we need this because if we don't have a function or a unit that we want to move, we have to make it ourselves.
So, "scroll" and "script" are also scripts that you made?
Yes, "script" and "script" are scripts that we made.
Actually, if you use "script" once, you can add "components" to other places as well.
This is also one of the programs of "transform", but this is also being used, isn't it?
Certainly.
Is what you've made so far stored in the unity of the three people's computers?
It's stored, so if you pull it and bring it, you can actually add "components" to what you wrote once and paste it on.
Oh, I see.
"pocchi"? "pocchi" too?
"pocchi" is also possible.
"pocchi"? "pocchi"?
"pocchi"?
That's right, that's right, that's also possible.
In other words, if you make a script that moves things today, you can use it anytime from "add components" in the future.
Before we do programming that moves things, I'd like you to ask me a light revenge question.
At first, without looking at anything, based on your knowledge so far, I'd like you to remember and write something.
Yes.
Then I'll read you the question.
Yes.
What components are needed to provide a physical engine?
What is "physical engine"?
I don't know.
Did you say "physical engine"?
What is "physical engine"?
Can you say it gently?
"Physical engine" is for example, gravity.
We didn't have it.
At that time, there was a necessary component.
Put this on.
Do you know that component we always added when moving objects?
Wow! That's amazing!
What is amazing?
Is it amazing?
It's amazing!
It's like a jiffy.
It's heavy.
The official T-shirt and smartphone case of the program are on sale.
There is also a purple one with Nogizaka color.
It's cute, isn't it?
Please check it out!
Did you understand the component used to move an object?
- Function? - I want to write two, is it okay?
- Two? - One or the other?
- Which one? - What is it?
Can I express it with a picture?
Isn't it difficult?
- Isn't it difficult? - With a picture?
- I only know it with a picture. - The first answer is...
- Why don't you understand it with a picture? - No way!
Let's see their answers!
Gravity!
- It's close. - What was it?
- It's close. - I only know the word "gravity".
- It's really close. - It's close!
- It has "gravity" in it. - That's right.
- Let's see the first one. - The first one.
First of all, this is a correct answer.
- But I don't think it's a component. - Component...
- This is also correct. - Really?
- The second one is... - The second one.
- Is it a UI? - No, it's not.
- It's gone. - It's gone.
- What? - What a shame!
- It's close. - It's simply a shame!
- I expressed it with a picture. - She expressed it with a picture.
- It's this. - What is it?
- I see! - If you use it, you can move.
- It's amazing! - What's amazing?
- Is it amazing? - It's an icon.
- Maybe it's referring to this. - Like this?
- Yes, yes.
- It's reflected on the left side of the screen. - Yes, it's reflected.
- What is it? - Is it correct?
- Is this icon correct? - This icon...
- What is it? - It's correct. It's a soccer ball.
- It is, isn't it? - Yes, it is.
- Why? - Why is it?
Yan-chan remembered it as an icon. On the contrary, it's amazing!
- Did you get it? - Yes, I did.
- I'm writing it. - You're writing it? That's dangerous.
- A rigid body? - I told you!
The correct answer is "rigid body".
When you want to move things, you can add this rigid body.
Next, I'll create a new script and write a program that actually moves things.
What I've been doing so far is...
I've prepared a box for using "fabric rigid body 2d" at the top of "start".
I'm going to put it in here later.
This is the preparation for accessing the rigid body required for movement.
Based on the script I just created, I'm creating a box for adding the function "rigid body" and making it accessible.
Let's go back to Unity.
Can you see anything on the player screen?
"Rigid body" is created.
That's right.
Oh, is there such a thing?
No, if you add "public" now, it will be displayed.
And since it's a box, it says "none" now.
It means "empty".
I'm saying "I'm going to put this in the box".
I think you can do that, too.
If you click "rigid body"...
Kanagawa-san, you're correct.
"Rigid body" means "I just put this in the box".
Oh, this one!
Yes, that's right.
This one...
Yes, that's right.
I see.
With this, you can say "I just brought this in".
Now we're ready!
Let's finally write the program!
"rigid body"...
"dot"...
"velocity"...
Oh, "velocity"!
I've heard of it before.
Oh, you've done it before!
"5.0...
"f...
"0...
"f"...
What is "velocity"?
"Velocity" is called "movement vector".
"Velocity" can be "speed".
"Velocity" is "speed".
Yes, "speed".
There are so many things I want to ask you.
That's true!
I was like, "Wait for me! Wait for me, Nakamura Takahashi-san!".
Yes, that's right.
With this...
Everyone, please play it and see what happens.
Play it...
Yes, go back to "unity" and click the "play" button.
Oh!
How did it go?
Um...
It went by too quickly.
Yes, it did.
Then, what does this program mean?
Digit body and speed. This is the speed variable.
And this is vector 2. Think of it as two lumps of data.
I put in two values, 5.0 and 0.0.
The left is x and the right is y.
What this means is that the horizontal value is x and the vertical value is y.
What is vector 2 of 2?
It means two.
So, if there is a 'z', does it become 3?
That's great.
That's what happens with vector 3.
So, this is what we learned today.
If you remember this, you can move things.
Yumiki-san, with this program's mission...
That's right.
I made you talk too much.
I forgot to breathe.
I need to calm down.
Yesterday in typhoon, I made and ate Shiratama- dango at home.
I didn't expect to make Shiratama-dango with this machine today.
I made Shiratama-dango and threw it to the right.
Among Shiratama-dango, there is Shiratama-ko.
Shiratama-ko has the property of being organized with water.
I didn't think about it.
I only thought about Shiratama-ko.
I thought it was the same this time.
I felt again that there are various components in this game object.
I thought Shiratama-dango and plumbing were the same.
Thank you for the meal.
Thank you for your hard work.
Please give it back.
Why? What's going on?
Yan.
Nao.
We know this scene, don't we?