Thứ Sáu, 19 tháng 10, 2018

Waching daily Oct 19 2018

South Korea and the U.S. have been insisting that they and are on the same page when it

comes to North Korea.

But reports indicate that might be not the case.

Our Park Hee-jun explains.

Numerous reports are pointing to how South Korea and the U.S. aren't exactly seeing eye-to-eye

when it comes to North Korea.

The Wall Street Journal reported Thursday that friction between the allies is growing,...

with Washington maintaining tough sanctions on the North in a bid to spur its denuclearization,...

while Seoul is pushing to ease sanctions to reduce the regime's isolation.

The report noted President Trump's recent remarks that came right after Seoul showed

signs of lifting sanctions on the North,... and said U.S. officials are worried the rapid

pace of inter-Korean cooperation could undermine its efforts of continuing nuclear negotiations

with the North.

The article highlighted Washington's discontent toward the two Koreas' joint project on railway

and road connections, as well as the recently opened joint liaison office,... to which the

South Korean government has said there's nothing to worry about.

The Wall Street Journal said the underlying gap stems from President Moon's priority of

peace between the two Koreas,... while President Trump's overwhelming focus is North Korea's

denuclearization.

Those differences are also on display over the two Koreas' plan to establish a no-fly

zone over their heavily fortified border,... which was agreed during the inter-Korean summit

in Pyeongyang last month.

According to Reuters, citing unnamed sources familiar with the issue,... the U.S. is worried

the agreement could harm defense readiness,... and it comes without concrete steps being

made on the denuclearization front.

Sources say the no-fly zone is a big concern for the U.S. as it bars close air support

drills and key parts of joint exercises that have been conducted by South Korea and the

U.S., until they were suspended in June.

South Korea's Joint Chiefs of Staff, however, said Friday,... the two countries are not

in disagreement,... and that they are closely cooperating in each and every step of implementing

the inter-Korean military agreement.

Park Hee-jun, Arirang News.

For more infomation >> South Korea, U.S. not seeing eye-to-eye on North Korea: WSJ - Duration: 2:01.

-------------------------------------------

大声で叫びながら、茂みの中から出てきた子猫。優しい女性の愛情で愛情と、最高の笑顔を見せてくれた【感動する話】 - Duration: 4:31.

For more infomation >> 大声で叫びながら、茂みの中から出てきた子猫。優しい女性の愛情で愛情と、最高の笑顔を見せてくれた【感動する話】 - Duration: 4:31.

-------------------------------------------

AirAsia Upto 70% OFF |Book till 28th October| |Travel Adventure| - Duration: 2:17.

Welcome to Travel Adventure Channel

In AirAsia Flights, upto 70% OFF

book till 28th October 2018.

AirAsia World's best low cost Airline

i.e booking a flight from Shanghai (China) to Bangkok (Thailand)

select date. 3rd to 13th January 2013

Look at Departure flight 70% OFF promo

and the return flight is also 70% OFF promo

The total amount is 902 Yuan (Chinese currency)

click continue...

Fill your personal information

and click on continue

complete the Captcha

this is baggage included price

so, just no check baggage

AirAsia gives upto 7 kg free weight

click on continue...

Look at price is same 902 Yuan

and 12 Yuan is processing fees.

you can pay by Alipay, UnionPay card, Credit or debit Card

so just pay and grab your ticket.

share and subscribe travel adventure channel

For more infomation >> AirAsia Upto 70% OFF |Book till 28th October| |Travel Adventure| - Duration: 2:17.

-------------------------------------------

Q! My Dance(맞춤): APRIL(에이프릴) _ Oh! my mistake(예쁜 게 죄) - Duration: 6:25.

Falling in, APRIL Hello, it's APRIL here

The dance cover contest of 'Oh! my mistake' by APRIL

Will be held on 1theK's social media platforms for 2 weeks from tomorrow

In the dance cover contest of 'Oh! my mistake' the winners will be handpicked by APRIL

We would appreciate your participation

(APRIL - Oh! my mistake)

My mistake oh my mistake

My mistake oh my mistake

Even the pains, pleasure and thoughts

Are gone, they're gone when you see me

I've never seduced anyone

Everyone has a crush on me Every time why do you fall for me? Why?

No matter what I say, you wouldn't trust me

My face turns red in front of the one I like

What kind of face should I make to look sincere to you?

Even if I keep sending a signal Only you don't know it

Being pretty is a mistake Yes, yes, it's my mistake

Being born in a look that everyone wants to have is my mistake

Being pretty is a mistake That's an obvious problem

Making you fall for me

Oh my mistake

That's how it works Butterflies wants to sit

On a pretty flower (wants to sit)

I'll give my heart that was sweet as a candy

Only to you

My mistake oh my mistake

Love way don't hesitate

Love way please come closer

All the heart Update So that I can love it

I know that you're looking at me

I know that I'm a girl who loves you

I think I'll melt away with your twinkling eyes

The Sunset we were watching together

No one knows it's like a Laser The pink eyes

You I can feel feel feel feel feel feel Wow

Just I can feel feel feel feel feel feel

During the day and night Even in the early morning

You come to my mind Your face comes to my mind

I've never caught your eyes nor grazed your hands

Why am I doing this? Why do I get nervous? Why?

Being pretty is a mistake Yes, yes, it's my mistake

Being born in a look that everyone wants to have is my mistake

Being pretty is a mistake That's an obvious problem

Making you fall for me

Oh my mistake

That's how it works Butterflies wants to sit

On a pretty flower (wants to sit)

I'll give my heart that was sweet as a candy

Only to you

My mistake oh my mistake

Love way don't hesitate

Love way please come closer

All the heart Update So that I can love it

I know that you're looking at me

I know that I'm a girl who loves you

I think I'll melt away with your twinkling eyes

Don't make me lonely

Come if you're ready to hold me

I want to be together by holding your hands

Like what I've always imagined

I keep smiling

As if I'm bewitched

That's how it works Butterflies wants to sit

On a pretty flower (wants to sit)

I'll give my heart that was sweet as a candy

Only to you

My mistake oh my mistake

Love way don't hesitate

Love way please come closer

All the heart Update So that I can love it

I know that you're looking at me

I know that I'm a girl who loves you

I think I'll melt away with your twinkling eyes

For more infomation >> Q! My Dance(맞춤): APRIL(에이프릴) _ Oh! my mistake(예쁜 게 죄) - Duration: 6:25.

-------------------------------------------

Ah-Choo, Lovelynus can't stand it any more when see bad comments for Lovelyz! - Duration: 5:53.

You got beef with me?

Are you crazy?

What's the username of this f***er

There's no username here?

Aghh I'm gonna...

(Comment Defenders)

Hello! We are Lovelynus!

I'm Choi Jin-han the Lovelynus

who can't find the exit for 3 years in Jisoo's beauty

Hi, I'm Park Jeong-won who fell for Ji-Ae's baby charm,

running the Ferris wheel all night for 3 years

I heard you prepared a 4-syllable poem?

I made it myself

Lo / Even though you guys talk

vel / Blah-blah

Ly / Their prime time is from now on, so!

Z / So stop bullshitting!!

I usually don't carry this around

but I've brought it today

At the church I go,

the elder of the church is a distant relative of Yein

and he asked for her autograph (for me)

An autograph of Yein

But he told her that I'm a college student

so that's the only flaw...

but I was still happy to get this

I love you!

(Reading bad comments)

Lovelyz smells old even in their fan cafe

Smells old?!?!

(Sniff x2)

Doesn't smell

I feel it does a little

Looooool

Our nickname is 'Ajaelynus'

The majority of our fandom is guys,

and that's probably why he said it

If you go to their performances lately,

there are lots of female fans, student fans

and younger fans than me

We were surprised

when we went to see 'That Day' lately

Because there were many female fans

We don't smell old!

People say 'Failed Lovelyz' often~

They're not even worth the 'Failed' tittle

What's the username of this f***er

There's no username here?

I can't read this

(Annoyed x1000)

Grr so frustrated! They didn't fail!

So we prepared this

(We were up) Until 2AM!

We have a lot of data now...

I'll explain them

The official fan cafe has 57761 members now!

We're the official fan club, 'Lovelynus'!

You have to pay membership to join

Roughly it's around 3-4000

It's not a small number at all for the paid fan club of a girl group

You remember 'Ah-Choo'

Their album sales in the first week was 3900

Then their 2nd studio album has been released,

and the sales in the first week was 24500!

Compared to the mini album before

143% increase

Compared to the single album before

444% increase

They're not worth the 'failed' title,

because they didn't fail!

That's why they're not worth it!!!

You hear me?

There's a top member in Lovelyz? That's new

It is new

because they're all top members!

Insincere! I think you haven't even seen them!

There's no top member because they're all top members

Lovelyz's ability is a disgrace of girl groups

(Sigh...)

Hold up x3

I really need purification water for this

(Purification water going in)

PPL!

Ah PPL!

Show the label,

advertisers are watching

To, advertisers Please consider Lovelyz as your model~!

Ta-da!

Hey! This is PPL!

It suits the title of sparkling water

Purification done

Babysoul, Su-Jeong, Kei, Jin

They have vocal ability

that they can be a main vocalist for any group

Listen to MR-free version of them please

They sing live mostly from start to end

When they won the first place for "Now, We",

they couldn't sing because they shed tears of joy

So only MR played

They proved it there

This hasn't made any sense from the beginning

Check it out!

Is this a rap or narration, what's the truth?

Hold on

What the heck is this

The Ferris wheel running all night

The sweetest cotton candy in the world

This is a very important song

to lighten up the mood at the beginning of a concert

It's not a rap, nor narration.

You can think of it as a killer part

Shall we?

The Ferris wheel running all night

The sweetest cotton candy in the world

Listen to it and make your own judgement

Kei is a little scary.

She's like a robot programmed to be a girl group

Wow~

Isn't this a compliment?

She is perfect

Born to be an idol, Kei

Sometimes we also think that she's a perfect idol

Singing, acting, being cute,

facial expression and dancing!

You might feel that way because she's too perfect

I'm not so offended

I feel like it meant she's perfectly prepared

Doesn't affect me at all!

She does it anywhere, at any time

(What is this?)

She's good!

I've seen this

But isn't 'Do it anywhere, at anytime'

when you do something at a place you shouldn't do it?

This is a place that you gotta be like this!

Should she be just drinking beer

when she's there for the opening ceremony?

Mijoo's from Okcheon, near Daejeon

So she was excited to cheer them as a fan

She's a home fan!

I think it's good

that she cheer for them together as a girl group idol

The only reason that Lovelyz's disbanding is a shame

is because there's no group to make fun of anymore

What a douche bag

What are you talking about

(Let me purify first...)

Beat up all the haters

Aghhh!!!

Let's check the facts first

It will be 4 years by this November since they've debuted

and they still got 3 more years of contracts

They say it themselves

that their role-model is Girls Generation or Shinhwa

who performed together for a long tim

When they meet Lovelynus, they always say

that they will be together so be with them forever

We never thought of disbanding

We just hope them to be together

But the problem is that

(he/she said) it's a shame that there's no group to make fun of...

It's a shame only for you, for us this is heartbreaking!!

Let me see you for a second

Mind your own business

Please support their music and performances in the future

I hope you look at the pretty and bright side of them

Hold on

Wow

So excited

Why does he only get (a group picture)?

O it's not! I got a group picture too~

This is only for us! Thank you!

Comment Defenders is the best!

At the tip of my nose, hwa~

In my mouth, hoo~

LOVELYZ!!

For more infomation >> Ah-Choo, Lovelynus can't stand it any more when see bad comments for Lovelyz! - Duration: 5:53.

-------------------------------------------

Lightened Up Pumpkin Cake (ENGLISH SUBTITLES) - Duration: 15:36.

16cm/6in short cake

20cm/8in short cake

20cm/8in tall cake

Level only the 20cm/8in short cake.

Save the leftovers.

Italian Meringue Buttercream

Piping tip 1A

I made my After Eight Cake recipe. But I melted the 200g of chocolate for the cake batter.

Use your 16cm/6in tin to mark where the cake will be.

Chill until the buttercream hardens.

Hurry up. Subscribe the channel.

Crumb coat

Chill again.

Round up one of the tips of an acetate.

Another acetate without rounding up.

Work with the 2 acetates.

Needle tool

Chill it again.

Undo the leftovers and add buttercream until it makes a ball that holds its shape, like cake pop dough.

Chill it well.

Large straws

Do your best to smooth it out.

Finally replace for a clean straw.

Chill until it hardens up.

Gel food colouring Ivory

Gel food colouring Lemon Yellow + Vodka

Don't worry the Vodka will evaporate.

This tip doesn't have numbering but you can use any kind of leaf tip.

Piping tip n.º3

Thank you for watching.

Subscribe

Share

For more infomation >> Lightened Up Pumpkin Cake (ENGLISH SUBTITLES) - Duration: 15:36.

-------------------------------------------

塔罗预言:你们的爱情能有结果吗? - Duration: 4:46.

For more infomation >> 塔罗预言:你们的爱情能有结果吗? - Duration: 4:46.

-------------------------------------------

Kyle Walz (Spanish) - Video №21 - Duration: 1:28.

For more infomation >> Kyle Walz (Spanish) - Video №21 - Duration: 1:28.

-------------------------------------------

Nat'l Assembly continues annual audit of gov't ministries and agencies - Duration: 0:46.

South Korea's National Assembly is conducting an audit of government

ministries and agencies and today the Finance Committee is inspecting the

Finance Ministry and its tax policies the ruling party said the moon

administration's real estate holding tax policy is legitimate and that

sustainability has been key to its success the opposition though called it

populism and said it needs to be changed meanwhile on the science ICT

broadcasting and communications committee lawmakers are questioning the

heads of public broadcasting corporations on the fairness of their

content and on their labour costs and the Environment Committee is auditing

six regional employment and labor administrations and is likely to be

divided on the government's minimum wage policy

For more infomation >> Nat'l Assembly continues annual audit of gov't ministries and agencies - Duration: 0:46.

-------------------------------------------

Science Girl and LED - Duration: 5:26.

Hello everyone, I'm Miki Igarashi, science girl

and

I'm Anahiko, nice to meet you

Anahiko, what day is coming?

Well....

Halloween

I haven't said anything

Not even allowing me to make a joke?

I have said nothing

It's Halloween

What does that have to do with today?

Well, today is

We are going to do a cute craft using LED

Sounds fun

Doesn't it? So let's make one together

Here we go

Let's Science

I will make an electric circuit

I will connect the battery case and the LED with clip

Take the positive side of the battery case

An LED would have two legs like this

The long leg is the plus side

I will connect them with the clip

The long one is positive

short one the negative

Connect the electric resistance with two new clips

And

with the short leg of the LED

and the negative of the battery leg

will be connected like this

Putting in the batteries into the battery case

Don't mix the negative to the positive

When you push the button for the battery case

Here we...

The LED will shine like this

I will add on the decoration for the LED

I will use the transparent Origami from the 100yen store

and make a pumpkin

Since Halloween is coming close

What if you don't have transparent Origami?

You can use a straw or

or a clear plastic cup

or pingpong ball

It will be fun using those as well

OK

I have made it so I will blow it up

I've made it!

Finally

OK

Look at this

The balloon is made now

I will draw some pictures on it

Got it

The balloon will go on the LED which is on the circuit

Have it over it

Now this is done

Now let me turn the switch of the battery case

Here goes

3

2

1

It has lit up!

So beautiful!

It's shining really cute

Well Miki, it's really beautiful

Cute and beautiful

I want to do this, too

Ok, here

Hey, hey, that's dangerous

I don't shine

I thought you wanted to

I want to shine, but not in that way

Oh so you want to do it

So, what are you going to do for Halloween?

Halloween...well, I will shine as well

Click. Bzzz bzzz

Dangerous!

I was stupid to ask

Forget about it

It was fun studying it

So fun

Please make it while learning about electricity

So see you again

Bye bye

If you found this video to be interesting, please subscribe and LIKE

Please do

If you have any questions or experiments you want her to do, write in the comment section

Please do

For more infomation >> Science Girl and LED - Duration: 5:26.

-------------------------------------------

UN Command verifies initial landmine clearance at JSA - Duration: 0:43.

meanwhile back here on the Korean Peninsula United Nations command says

it's verified the work done so far to clear land mines from the joint security

area in Panmunjom UN Command said Friday that the verification paves the way for

the next steps in implementing the military agreement signed at last

month's inter-korean summit in Pyongyang that agreement includes a range of

measures to reduce border tensions including mine clearance the designation

of a no-fly zone near the border the removal of some guard posts and a

reduction of weapons in the dmz UN Command stressed it will continue to

closely work with both Koreas to synchronize the agreements

implementation of the agreement

For more infomation >> UN Command verifies initial landmine clearance at JSA - Duration: 0:43.

-------------------------------------------

Salad with beans and sausage - a simple recipe - Duration: 3:04.

Ingredients: boiled beans - 1 glass; smoked sausage - 150 g; sweet pepper - 1 piece; a large tomato - 1 piece; dill-bunch; garlic - 2-3 wedges; honey - 1 teaspoon; soy sauce - 1 tablespoon; vinegar - 1/2 teaspoonful; vegetable oil - 2 teaspoons; salt and pepper

Hello! Today Priprava Club prepares a salad with smoked sausage and beans

First of all, we need to fill the beans with water. It's best to do this for all night. So the beans are cooked as quickly as possible

To cook the beans quickly, you can also add a little soda to the water. Salt the beans at the very end

We put the beans to boil

While the beans are brewed, cut the sausage with straws

Cut the pepper into 4 pieces

Take out the seeds

Cut into strips

Cut the tomatoes into strips

Grind the greens

Let's prepare the sauce for the salad. Pass the garlic through the press

Add the vinegar

I use apple cider vinegar

Add soy sauce

Add black pepper

Add the liquid honey

Add the vegetable oil

Add sauce to salad

Stir

Delicious and satisfying salad is ready. Bon Appetit!

For more infomation >> Salad with beans and sausage - a simple recipe - Duration: 3:04.

-------------------------------------------

Kyle Walz - Video №21 - Duration: 1:22.

For more infomation >> Kyle Walz - Video №21 - Duration: 1:22.

-------------------------------------------

𝐂𝐨𝐦𝐨 𝐇𝐚𝐜𝐞𝐫 𝐄𝐧𝐜𝐮𝐞𝐬𝐭𝐚𝐬 𝐄𝐧 𝐘𝐨𝐮𝐓𝐮𝐛𝐞 𝟐𝟎𝟏𝟗 - Duration: 7:48.

For more infomation >> 𝐂𝐨𝐦𝐨 𝐇𝐚𝐜𝐞𝐫 𝐄𝐧𝐜𝐮𝐞𝐬𝐭𝐚𝐬 𝐄𝐧 𝐘𝐨𝐮𝐓𝐮𝐛𝐞 𝟐𝟎𝟏𝟗 - Duration: 7:48.

-------------------------------------------

Multi Monitor Display (What it is and how to include in your Unity Games) - Duration: 32:23.

Disclaimer!

This program is not intended for JavaScript developers.

We teach real programming languages…

Not work miracles.

Salutations!

I'm Jesco, you're watching Game Dev Made Easy and the video for today is a Unity specific

video that will be about creating a multi monitor display for a single game.

What I mean by this is take a look at a Nintendo DS, the old Punch Out Arcade cabinet or the

Nintendo 3DS for how a single game can utilize multiple monitors to display information on

one screen and the actual game play on another.

This is actually a recreation of an old video with a much better PC setup and more in-depth

information.

A viewer of mine actually asked me about the video and this is what spawned the idea to

revisit that old video and give a better example of what is happening.

Before we get into it, we first need to understand exactly what we will be doing and how to go

about implementing it.

Multi-Monitor displays refer to having more than one monitor being displayed to simultaneously

while being able to directly control input on one or both monitors.

Generally, in games that incorporate the usage of multi-display monitor modes, what happens

is useful information is displayed in either the top or the bottom monitor, generally the

bottom and the actual gameplay occurs in the opposite monitor, generally the top monitor.

Now, With PCs, the configuration varies greatly.

Some people might have a setup that has a stacked monitor setup and others will have

a configuration where monitors or side by side.

And this is just taking a dual monitor configuration into account.

With all of this out of the way, let's queue the intro animation and music!

I have already created an empty project as we can see here and Unity already has everything

set up for a sample scene.

We will go ahead and expand upon this to build this project.

Now, the first thing we need to do is create a secondary camera.

We need to change the camera mode to be orthographic and set the display to be display 2.

The reason for this is we want this display to only show up on a secondary screen and

not the main display and be drawn over by the main camera.

The next item on the list is to change the camera's position to be absurdly out of

range of anything that could be on the screen at any given time.

The x position will be 25439, the y position will be 16713 and the z position will be -5.45.

This is so no items or effects will bleed over into the secondary screen unless you

want it to.

Next up, we want to create a canvas and for it to be a child of the secondary camera.

This is purely for organizational reasons.

The canvas should be set to render mode Screen Space Camera and make sure the Render Camera

is the secondary camera.

We don't want this to be drawn on the main camera at all.

Create a panel to be a child of the Canvas, this is so we have the option to make the

background color to be different from the main camera's render view.

We can change the color if we want by changing the Panel's Color to being a solid value

for whatever you want.

Next up, create four buttons and set them to be a child of the panel.

The text of each button should be Drop Cylinders, Drop Capsules, Drop Cubes and Drop Spheres

respectively.

This is just to organize and be able to know what each button is supposed to do in this

scenario.

The next step is to create a prefabs folder.

In the Hierarchy Pane, create a cube, capsule, cylinder and sphere.

Make sure all of them have the rigidbody component attached to them.

We want gravity to affect them.

This will be important later.

Drag and drop the cube, capsule, cylinder and sphere into the prefabs folder and delete

them from the hierarchy pane.

Let's create our scripts folder next.

The three scripts we will create will be Destroy by time, drop scripts and Multi display code.

We are going to utilize all of these very soon and as you can see, each of them have

been named according to what their purpose should be.

Drag and drop the Multi Display Code script onto the Main camera.

We could create an empty game object to be our manager item, but we don't really need

it for something like this.

On the Secondary Camera, drag and drop the Drop scripts onto it.

The last things we need to do in the editor for now is to do is go into our prefabs folder

and left click on the cube we created click on add component, highlight scripts and select

the destroy by time script to add the script to the prefab.

We will do this for the capsule, cylinder and sphere as well.

I forgot to add this to the script (because I'm a dumbass), but you also need to add

a rigidbody component to the Sphere, Cube, Cylinder and Capsule prefabs.

Click on add component, select Physics ( not physics 2D) and choose Rigidbody.

Now double click on the multi display code script to open it up in Visual Studio.

(Transition) Delete the comments and the update function

from the multi display code script.

We only need the start method, so we don't really need to have the superfluous code and

comments remaining there.

We will create a for loop within the start method.

For int I is set to zero.

I is less than display dot displays dot length.

I plus plus.

This for loop will loop through all of the active displays that are available on the

system.

Write, display dot displays brackets I dot activate.

This will make sure the displays we have available are now activated if they are needed.

That is all we need to do in the multi display code script, let's move over to the Destroy

by time script to get that out of the way.

Delete the comments and update function from this class as well.

Again, redundant comments and code isn't needed here.

Above the start method write public float life time is set to one point five float.

This will designate how long we want the objects to stay alive in the hierarchy pane for in

game.

Inside of the start method write, destroy parenthesis gameobject comma lifetime.

This will remove the gameobject by the time we specified.

That completes the Destroy by time script.

Now we can move on to the final script which is the Drop script.

Delete the start method, comments and update method.

None of this will be used at all.

The first thing we need to do is to create a public list of gameobjects called drop items.

This will house the sphere, cylinder, capsule and cube from within the editor.

Write private void drop item with the parameters set to be string name.

We are creating this method to do all of the legwork but allow us to call it in public

methods with the name of the item we want to use.

To put it bluntly, it follows the DRY and KISS principles which is Don't Repeat Yourself

and Keep It Simple Stupid.

Next up, create a var called xMinMax and it will be set to Random dot Range with the parameters

being negative ten and positive ten.

This will set the horizontal axis to have a specific range that the items will be able

to spawn in.

Vector3 spawn Position is the next thing to write and that will be set to a new vector3

value of xMinMax, ten and zero float.

This will be the vector position we will utilize for the spawned game objects.

Quaternion spawn rotation is set to quaternion dot identity.

This is for the rotation of our spawned game objects to be set to the identity of the game

objects.

Which just means that the rotation is set to 1.

Next on the list is to create a foreach loop.

Foreach var item in drop items is what we will write.

We are iterating through all of the game objects within the list we created.

Inside of the foreach loop, we will create an if statement.

If item dot name is equal to name.

We want to single out a specific item from within that list, which will be evident why

in the steps following this method.

Inside of that if statement, write.

For int I is set to zero.

If I is less than one hundred.

I plus plus.

We want to create one hundred of the item in question, but you can change the value

to be whatever you want it to be.

Inside of the for loop, write.

Instantiate item comma spawn position comma spawn rotation.

And now we instantiate the items to actually be called in game.

This completes the drop item method.

This method handles the creation and selection backend code that we need to have game objects

spawned in the game.

Now we will create our next method.

Public void Drop Sphere.

This will be called by the button press of the Drop Sphere button.

Inside of this method write, Drop Item with the string value of Sphere being the parameter.

Next up, we will create a public void Drop Cylinder method.

And as you guessed, it will be called by the drop cylinder button.

Write Drop Item with the string value of Cylinder as the parameter.

The third one is public void Drop Cube.

Inside write Drop Item with the string parameter being Cube.

And the final one is public void Drop Capsule.

Inside write Drop Item with the string parameter being Capsule.

You can now see exactly why we had the drop item method have the string name parameter

and the check for the item's name being equal to name.

This drastically reduces the amount of code we would have to write and allows for us to

make modifications for more items or changes in the items in the future.

This is something you should always think about when writing any code.

If you find yourself repeating something, there is smell in your code and you should

rectify that as quickly as possible.

This is a problem that many beginners and a problem that programmers that don't think

about proper coding conventions when writing code.

Look at it from this perspective if you aren't convinced.

The Drop Item method would have about 7 lines of code without the foreach loop or the if

check.

This method would have to be written 3 more times along with the list becoming individual

game objects.

In the GitHub repo that will be linked, I will have a script called Bad Way, which will

showcase the difference.

You will see the same thing being repeated and the total length of 59 lines of code versus

the Drop Script which has 46 lines of code.

Anyways, let's save the scripts and jump back to the Unity Editor.

Click on the secondary Camera and you will see Drop Items in the drop script, the current

size is set to zero, let's change that size to be four.

Drag and drop the prefabs of the capsule, cube, cylinder and sphere into the list.

This will tie the prefabs to the list and not make the values null.

Click on the first button, click on the plus sign under the On Click option.

Drag the Secondary camera onto it.

Click on the functions option, locate Drop Scripts and select Drop Cube.

This will make it so that the drop cubes button will drop the cubes.

Click on the second button, do the same thing only instead of selecting Drop Cube, select

drop sphere.

Click on the third button, do the same steps and select drop sphere.

Click on the fourth button, do the same steps and select drop Capsule.

Click on file and save the scene.

Now for the final step.

Click on file, build settings.

I am building for PC, Mac and Linux Standalone for this example.

Select build.

Create a folder called Build and select that folder.

Unity will build the project.

Once it has finished building, it will open the folder that houses the build files.

Now double click on the exe file for the project and select display 2 when the dialogue box

comes up.

You can change the display size to be whatever you want it to be, and then click to run.

We now have a working example of a multi monitor display enabled Unity game.

This has been Jesco with an update to an older video.

If you like this version over the older one, give this video a thumbs up and share it with

your friends.

I want to give a warm shout out to my patreon supporters whom have chosen to give me some

of their hard earned money for the content I produce.

It means a lot and inspires me to continue to deliver content on YouTube since I don't

have the four thousand watch hours and the one thousand subscriber count to monetize

my videos.

For more infomation >> Multi Monitor Display (What it is and how to include in your Unity Games) - Duration: 32:23.

-------------------------------------------

Protest Song | Pash - Eminem | Sabse Khatarnak - Not Afraid - Duration: 3:41.

The most horrifying act is not a torture by the police

A merger of treachery and greed is not the most dangerous

To be trapped while asleep is surely miserable

To be buried under the silence is surely miserable

But it is still not the most dangerous

To remain silent in the noise of corruption is surely miserable

Reading covertly under the light of a firefly

But it is still not the most dangerous

The most dangerous deed is to be filled with a dead silence

Not feeling any agony against the unjust

bearing it all

Getting trapped in the routine of running from home to work and from work to home

The most dangerous accident is a death of our dreams

The most dangerous is that eye

The eye that forgets to kiss the world with a passion

The eye lost in the blinding haze of a materialistic world,

The most dangerous is the song which mourns in order to reach your ears

And sounds like a knock of a goon at the door of the frightened people

The most dangerous is the moon

which rises in the numb yards after each homicide

But it still does not bother your eyes

The most dangerous is the direction where sun of soul sets

And a ray of dying sunlight pierces the east of your body

The most dangerous occurence is not a robbery of hard work

The most horrifying act is not a torture by the police

A merger of treachery and greed is not the most dangerous

The most dangerous accident is a death of our dreams

For more infomation >> Protest Song | Pash - Eminem | Sabse Khatarnak - Not Afraid - Duration: 3:41.

-------------------------------------------

A Bailey Mind & Body - KineMasters - Duration: 1:01.

I originally found KineMaster on my Android, when I was browsing through my App Store.

You know, just looking for a new application to use to promote myself and get myself out there with video editing.

My name is Avante Bailey, and the company I'm behind is A Bailey Mind and Body.

After I film a session, I'll be on my way back and an idea sparks. And that's the beauty of having it on the cellphone. I edit it right away.

My favorite videos are the ones that I've done with family.

KineMaster helped me become the best version of the inner creator that was always there within me.

Experiment, try things, if you don't know what something means, and it has nothing to do with your video, try it.

Just unleash your creativity.

My newest YouTube video, Total Body Trim Down, you can check that out, and plenty of other videos I have available...

All edited with KineMaster.

Không có nhận xét nào:

Đăng nhận xét