Focus mode

Unity Junior Programmer

Use a Vector3 to move forward

Adım 4: İlerlemek için bir Vector3 kullanın

Aracı Z ekseni boyunca hareket edecek şekilde programladık, ancak aslında bunu kodlamanın daha temiz bir yolu var.

figures

Yazdığınız 0, 0, 1'i silin ve Vector3.forward ile değiştirmek için otomatik tamamlamayı kullanın

Comments

You need to enroll in the course to be able to comment!