How to save and load player position 2D/3D - Unity Tutorial

preview_player
Показать описание
➤ In this video I teach you how to save and load your players position inside on unity 2D and 3D. Enjoy the video and consider hitting that subscribe button and smashing that like button!

➤ Check out BTP's player controller tutorial:

➤ Click here for my previous video:

➤ Click here for more unity tutorials
Рекомендации по теме
Комментарии
Автор

Thank you, my friend You helped me.I hope it continues.

didoslimani
Автор

Thank you for this video. I can use it in any videogame this script, and any level or many scenes.

JM-rilp
Автор

Dude I actually found the best and easy way here. Thanks bro.

harschshivam
Автор

OMG, thank you so, so much for this tutorial! You just saved my game! I had gotten camera, player movement, pause and main menu, level design, etc. but a save system was something I thought I'd never be able to do after failing at like 10 other tutorials!

Goggalor
Автор

Will this work with loading new scenes with the player?

iNMatic
Автор

Thank you soo much, i couldn't find it anywhere

Kyle-nmed
Автор

thank you bro this is exacly what I am looking for

habibiedamar
Автор

This is best tutorial but i need checkpoints and i cant find chechpoint systém what work with this. Can you help me With that?

swingteam
Автор

I have a question, does the player movement script and the SavePlayerPos have to be at the same folder?

diesadib
Автор

Does this method work on mobile games because I have tried on two characters, one of which is controlled by using a joystick and the other by using the personal keyboard buttons that work on PC, did it work, or did it work on Android, did it not work

crashlego
Автор

no se si llegues a hablar español pero quiero decirte que este es el mejor tutorial que e encontrado ojala sigas creciendo en youtobe like y suscripcion para ti!!

thecater
Автор

Thank you for this video, I was getting frustrated and you made it make sense.

llydeexactus
Автор

NullReferenceException: Object reference not set to an instance of an object
()

I have this problem can you help me?

diesadib
Автор

error CS0116 A namespace cannot directly contain members such as fields or methods, can you help? I tried removing it and putting it back and now it won’t go back :(

MiniDuncan
Автор

how do i make it if i got like 5 lvls i get to lvl 3 and do i make it load there without me going into the files ?

therealmatrixs
Автор

does this work with multiple scenes/levels? I mean, I have a big map with some structures like houses and if I pass through the doors I have to change scene into the house. Now, when I exit the house I want my player to be positioned almost in the same position where I entered the building... is it possible with player prefs? Without I just use a transform instruction but the scene seemingly loads after I position the character, thus making him pop up in the spawn point. Maybe in the house door game object I can store using player prefs the position and when I exit the house, on this script I load the position saved. Could this work?

acalexanderchannel
Автор

so quick question if my game is 3d should i also put "Z" axis in it?

muziksph
Автор

can we do this in some certain time that we want during the game? thank you for the excellent tutorial!

ni
Автор

If i want save the player position only when the player watch an ads, how can i do?

oliverwilson
Автор

im making a 3d game, code wont work for me. please help. I have checked the code a few times now. not sure whats wrong

yesimhairy