16.Unity transform.position - Unity C# Scripting Tutorial-

preview_player
Показать описание
|------------- ( Click On Show More ) ---------------- |

| -------------------------------------------------------------------- |

List of Best C# Scripting Books:

| -------------------------------------------------------------------- |

Best Unity C# Scripting Courses:

| -------------------------------------------------------------------- |

| -------------------------------------------------------------------- |

You Can Donate Here:

| -------------------------------------------------------------------- |

List Of Gears I Use:

| -------------------------------------------------------------------- |

List Of My Youtube Tutorials:

| -------------------------------------------------------------------- |

Video Description:
Welcome to Unity3D C# scripting tutorial series. In this series you will learn how program in C# in unity to create awesome games. Writing scripts is one of the most important process of creating games in unity3d game engine. If you learn C# from ground up , you can create amazing games in unity. C# coding gives you a lot of control over unity, which you can use to do whatever you want in your game. If you are starting with unity game development scripting, you should start learning C# instead of javascript. C# allows you to write scripts for unity in a more organised way, which would help you to understand your game code later. If you want to be a game programmer then Unity and C# is a great way to start learning about various game development principles. Unity is a full fledged game engine, you can do anything you want, and when you have the power of C# in it, you can achieve anything easily. You can write more robust, readable, faster executable code for unity game development. You may have seen that Unity official tutorials also use C#, since it's better to write code in C# than javascript. javascript is a more free form language, it gives you more freedom which is not that good in long run. If you want to write better code for unity game development, then you should write your code in unity with C#. C# is a great language developed by microsoft for it's .net platform, and unity uses it as a scripting language.

Thanks a lot for watching this video, if you have any questions, write those in comments. I hope you enjoyed. Please subscribe and like , comment , share.
Рекомендации по теме
Комментарии
Автор

Nice Tutorial....Please dont stop making this awesome series...

humayunkabir
Автор

16 years old and I love programing.My game will comming soon! :> Thanks

bogdangalatanu
Автор

Awesome videos still very useful and the best around after 5 years!! Nice! Thank you!

FallennSavage
Автор

Thank you, man! You created one of the best series of lessons. And just the best about C# in Unity, in my noobly opinion :))))

FreedomRadical
Автор

Superb tutorial. All your tutorials are awesome. Great Job, good work

tatk
Автор

ty, this actually helped me do an Respawn button

zarnageous
Автор

So the transform.position is the reference of the Object's position .So when we change transform.position value, it moves the object .Right???

nguyentuyenn
Автор

Very helpful so far. Thank you for your efforts! :)

TheARTofMining
Автор

Thank you for this tutorial, I was having trouble understanding how to use transform.position but this made it so easy!

Vhesn
Автор

Verry well explained keep going and making new series!

bruda
Автор

This was very helpful for me in finding a solution to a problem i had..thank you!!

martingdunkley
Автор

I dont know why it has so many dislikes. Thanks for your help, be good.

mikrokaulisk
Автор

Just a question, whenever I store transform.position in a static variable and use it across scenes, and then try to set the position at the start of the next scene, nothing happens. I also tried creating another variable which had the value of the static variable and set the position from that but nothing happened.

splinterun
Автор

Could you talk a little bit about declaring variables, where you should declare them, and why you should declare them there? At 3:40ish you mention that you can't declare the variable in the Start function, and that it would not be accessible by the Update function. Why is this? And why is it so important to declare the variable in the public class? Thanks for your videos! They are super helpful.

dalehenry
Автор

coding your own games is easier than you think you know, you should take this online course on undemy...

hellokugelblitz
Автор

Good evening Raja. Quick question: do you use transform.position when you want the script to alter the position of the object, and not from any input from the player?

haroldvilleda
Автор

at 5:33 i understand how you you have to store transform.position in a temp variable and than the next line you add it to 5f, but that last line of code, why do you have to store the temp variable into the original transform.position, like why do we write
transform.position = tempPos;
at the end

DOM
Автор

HI may I ask why sometimes in your code lessons I see you define a var or a vector etc. above the start function but then you create a NEW one within the function itself. - Is that part actually necessary? Forgive me I'm fairly new to Unity & C# scripting. Thanks!

TheARTofMining
Автор

Thank you for the video that help me a lot

Felipe_CiprianoAF
Автор

excellent video thanks for making these.

Stinger-rqgy
welcome to shbcf.ru