UNITY SKIN/CHARACTER SELECTION/CUSTOMISATION MENU EASY TUTORIAL

  Рет қаралды 60,727

diving_squid

diving_squid

Күн бұрын

In this tutorial we will look at how to make a player skin select and menu and spawn the player into a game with their selected character!
********************************
Discord discord.io/div...
Patreon / diving_squid
Play my games! diving-squid.i...
********************************
If you have any problems, let me know in the comments!

Пікірлер: 245
@ThatOneLadyOverHere
@ThatOneLadyOverHere 3 жыл бұрын
You sound pretty young, I'm really impressed by how good your videos are. Good job using your resources to teach others your hobbies, and so nicely. Nothing is cringey, just simple and too the point. I am blown away. You are doing great.
@extraspicy2602
@extraspicy2602 3 жыл бұрын
So far out of all the KZbin tutorials for unity your videos are the only ones that makes sense , and doesn’t make things too complicated
@noeldev
@noeldev 3 жыл бұрын
pro tip, especially with pixel art, i recommend using equal sized boxes for diffrent skins, cuz you may get some weird offsets if you have 2 character skins, that have a bit diffrent sizes
@monicaduran2854
@monicaduran2854 3 жыл бұрын
You know when you complicate your life building an entire XML serialization system to save the chosen player and then apply that data to the actual prefab; and now thanks to you I discover that there is an specific method for doing that . _.
@BB-TheCandleFairy
@BB-TheCandleFairy 3 жыл бұрын
Finally! A tutorial that shows how it’s done from scratch, and not just something downloaded and preset. I learned this before, but it’s been a couple of years since I’ve had access to a PC or laptop lol (school computers...)
@martinpetkov4580
@martinpetkov4580 3 жыл бұрын
I'm not sure if I'm loosing my mind or something but your art is giving me such Blackthornprod vibes and I love both yours and his videos!
@burneraccountforthewin
@burneraccountforthewin 3 жыл бұрын
You're not losing your mind. He's actually Blackthornprods little brother
@divingsquid
@divingsquid 3 жыл бұрын
I'm a girl :)
@Rayan-bk3fn
@Rayan-bk3fn 3 жыл бұрын
@@divingsquid lol
@emirocamacho153
@emirocamacho153 9 ай бұрын
@@divingsquid plis me I don't understand why when I select a character it doesn't appear in the next scene
@kobaltsteel6418
@kobaltsteel6418 3 жыл бұрын
FINALLY, an easy to understand tutorial on this stuff... really needed it, thank you!
@darkartsgaming1664
@darkartsgaming1664 3 жыл бұрын
this was actually very well made. Plus you're able to communicate the information at a steady pace AND (most importantly) you don't say the same thing twice or say the same thing in a different way. I have seen many professional you tubers do this and it destroys my attention. I just stop watching and start skipping through their videos until I accidentally find what I'm looking for and then I add them to my do not recommend list. I've subscribed to your channel.
@technostar1379
@technostar1379 3 жыл бұрын
Thank you so much for these tutorials.
@popitzy
@popitzy 2 жыл бұрын
Your voice is very soothing and you made a clear tutorial
@ZohaibButt045
@ZohaibButt045 Жыл бұрын
Your work is on Left a-side but Your Sound firstly hit my Heart
@lastrix
@lastrix 3 жыл бұрын
Thanks for this Tutorial!
@kaan732
@kaan732 3 жыл бұрын
your videos are one of the most helpful on KZbin mate, thank you :)
@mayo8555
@mayo8555 2 жыл бұрын
This is a good start for character selection. Thank mate!
@dodavatwahirwa9788
@dodavatwahirwa9788 3 жыл бұрын
Thank you for all the effort put into this tutorial. I had good time learning from you.
@vrajsoni7610
@vrajsoni7610 3 жыл бұрын
For those of you struggling with the "prefab utility" error just simply use the playerprefs instead to store the current selectedSkinIndex
@adamhilali806
@adamhilali806 3 жыл бұрын
can you make an example?
@vrajsoni7610
@vrajsoni7610 3 жыл бұрын
@@adamhilali806 Instead of the PrefabUtility line use : PlayerPrefs.SetInt("skinIndex",selectedSkin) In the second script just simply get the index by PlayerPrefs.GetInt("skinIndex"). Make Sure you have the skins list on both the game objects in the same order to access them.
@adamhilali806
@adamhilali806 3 жыл бұрын
@@vrajsoni7610 thanks
@darkshadowisso1185
@darkshadowisso1185 Жыл бұрын
@@adamhilali806 can you link your code example, i might be doing mine wrong
@TheRickmint
@TheRickmint 3 жыл бұрын
Great job and always great quality videos! Thank you!
@Diertstarr
@Diertstarr 2 жыл бұрын
Great work, thank you! I'd love to see a 3D version of this. Guessing instead of Sprite, we would use Mesh...?
@elitesenglishmayanksir7977
@elitesenglishmayanksir7977 3 жыл бұрын
Miss you bro please come back we wanna learn more
@DottoXD
@DottoXD 3 жыл бұрын
Awesome tutorial as always
@gabe9250
@gabe9250 3 жыл бұрын
I think I was your 2,999th sub! (Congrats on the 3 k and awesome vid by the way)
@divingsquid
@divingsquid 3 жыл бұрын
Thank you!
@syedmoin7939
@syedmoin7939 3 жыл бұрын
@@divingsquid can you make a tutorial about gun customized and shoot
@ManamaEd
@ManamaEd 3 жыл бұрын
I Keep getting "Value cannot be null" And I have no idea about what value it is reffering to
@__Rizzler__
@__Rizzler__ 5 ай бұрын
thanks . love it. clean and simple . keep making more tutorials
@yousufsarwar3217
@yousufsarwar3217 3 жыл бұрын
Very good tutorial!
@christopherdoiron4294
@christopherdoiron4294 3 жыл бұрын
Amazing video. I like the selection however the next step would be using player prefs or something to keep stats etc, differences in playstyles? Just a sprite is cool, but I want more now
@vressentials
@vressentials 3 жыл бұрын
PlayerPrefs is not very safe, .Json or Binary would be safer
@darshitbharucha223
@darshitbharucha223 3 жыл бұрын
when will you how our games of the jam on your video?
@duh160
@duh160 3 жыл бұрын
Can't build with unityEditor, Because this only works in th editor..but can't build it..If anyone has any solution plz help
@vybes232
@vybes232 3 жыл бұрын
You should save it as PlayerPrefs
@dendymaulana8909
@dendymaulana8909 3 жыл бұрын
Same bro, So have you found the solution?
@Rayan-bk3fn
@Rayan-bk3fn 3 жыл бұрын
@@vybes232 but how
@vybes232
@vybes232 3 жыл бұрын
@@Rayan-bk3fn check out a few tutorials
@kristiyanaleksiev8403
@kristiyanaleksiev8403 Жыл бұрын
I thought this was a Blackthornprod video with that artstyle ;D
@user-lq8er3te4i
@user-lq8er3te4i 3 жыл бұрын
Thx for this epic vedio but can you make character selection in multiplayer And keep up
@yahsii
@yahsii Жыл бұрын
That was excellent but I have a problem with collider how I can arrange different collliders for diff skins bc all of them have a same collider but our skins are different?
@plakspin
@plakspin 11 ай бұрын
i love you so much, thanks for this tutorial
@emberdragons8244
@emberdragons8244 2 жыл бұрын
really nice video😄. You really help me.
@newlearner5315
@newlearner5315 3 жыл бұрын
Thanks for this video 😎😎
@TheKingGoose
@TheKingGoose 2 жыл бұрын
Thanks for the tutorial, sadly in the last few lines of the skinmanager. You said "PrefabUtility.SaveAsPrefabAsset", but you can't use prefabutility in a build. Could you make another tutorial about a character selection menu without using prefabs?
@arnavsivakumar3032
@arnavsivakumar3032 2 жыл бұрын
do you know a solutions for this
@7empest_mi
@7empest_mi 2 жыл бұрын
Tutorial is great, but there is one issue I guess. You cannot build your game using UnityEditor library
@Flaroon
@Flaroon 2 жыл бұрын
move all the editor files into a folder called Editor. Unity will not compile these.
@TheDexterity
@TheDexterity 2 жыл бұрын
@@Flaroon if you do that then the skinmanager script doesn't work lmao
@furcant5791
@furcant5791 3 жыл бұрын
ı got "The name 'PrefabUtility' does not exist in the current context" error when ı try to build how can ı fix that
@AbAb-wk7tv
@AbAb-wk7tv 3 жыл бұрын
did u fix this problem? I have the same issue
@021_josephdavidson2
@021_josephdavidson2 3 жыл бұрын
Me too
@Rayan-bk3fn
@Rayan-bk3fn 3 жыл бұрын
me too
@abhishekchauhan4230
@abhishekchauhan4230 3 жыл бұрын
hey... thank you this tutorial was great but I have one problem when I try to build my project so unity throws an error that "can't build player when while editor is importing assets or compiling scripts".Basically, this is because of using unityEditor.. please help :(.... please see this comment I need to submit the project...
@021_josephdavidson2
@021_josephdavidson2 3 жыл бұрын
I too have the same error now ....and I’m searching for solution bro
@abhishekchauhan4230
@abhishekchauhan4230 3 жыл бұрын
@@021_josephdavidson2 i have got the answer just move your script with unityeditor header to the folder named Editor or create the folder and then move that script which have unityeditor used😉
@021_josephdavidson2
@021_josephdavidson2 3 жыл бұрын
@@abhishekchauhan4230 the scripts inside the folder editor are not usable for me
@abhishekchauhan4230
@abhishekchauhan4230 3 жыл бұрын
the script we created named skinchange i think we have used using unityeditor on top so when you build the project errors come so you have to move your skinchange script in the editor folder so u can build the game...
@021_josephdavidson2
@021_josephdavidson2 3 жыл бұрын
@@abhishekchauhan4230 I did the same thing .....but it didn’t worked for me
@leang5860
@leang5860 8 ай бұрын
ohh that is really great thank you
@bradleysmith9924
@bradleysmith9924 3 жыл бұрын
How would one have animations that swapped sprites for each skin using this method?
@cosmic_417
@cosmic_417 3 жыл бұрын
Nice tutorial!
@scut_it_out
@scut_it_out 3 жыл бұрын
Hey dude I really need help with something, I am following this tutorial with the Online Multiplayer Game series, the problem is How am I going to animate each of the skins, Any amount of help would be appreciated
@mrremoxland6700
@mrremoxland6700 3 жыл бұрын
👍 please continue online multiplayer game tutorial
@rendered3090
@rendered3090 3 жыл бұрын
Can you please make a video on how to use this with Photon pun 2
@minimangamesrichminimangam7029
@minimangamesrichminimangam7029 3 жыл бұрын
When I press play, It says in my assests that the player is chanaging, but the player is missing in the new scene! pls help
@kaanapan1183
@kaanapan1183 3 жыл бұрын
oh finally a way to handle this. List of Sprite way made it. Thank you
@abdennourhaoul7655
@abdennourhaoul7655 2 жыл бұрын
BRO you brok my project man
@cothingamer582
@cothingamer582 3 жыл бұрын
Pls tutorial for change skin in Photon multiplayer games
@alexanderhellbock7854
@alexanderhellbock7854 8 ай бұрын
syxy voice, good and helpful tutorial,
@tudypie
@tudypie 3 жыл бұрын
Nice tutorial :D
@GamingDulli
@GamingDulli 3 жыл бұрын
Thank you for the very good Tutorial
@thespontaneoustomato2676
@thespontaneoustomato2676 3 жыл бұрын
Magnific!
@user-oo2dn4dm5z
@user-oo2dn4dm5z 3 жыл бұрын
Good tutorial
@Afergan11
@Afergan11 2 жыл бұрын
Great tutorial! But how can you make the camera follow the selected character in the game scene?
@joridev1038
@joridev1038 2 жыл бұрын
put it under the player
@TheOnlyKaas
@TheOnlyKaas Жыл бұрын
cinemachine
@jacobvaerst1300
@jacobvaerst1300 2 жыл бұрын
First of all, great tutorial! But, currently I’m having an issue with the sprites not showing up when I’m in play. I will press the next / back button and nothing will show up in the scene, but I will press pause and the next character will be there. Any solutions or maybe I missed something
@isaacrichardson579
@isaacrichardson579 2 жыл бұрын
3:57 up to
@nandanpraveen7338
@nandanpraveen7338 2 жыл бұрын
Quick question, how would this work with sprites you have animated?
@yahyabzl1112
@yahyabzl1112 Жыл бұрын
every is working but the skin is not switching when i go to the game scene why
@fabianboelens3899
@fabianboelens3899 Жыл бұрын
This is a verry good tutorial!
@nikoss.m
@nikoss.m 2 жыл бұрын
What's the app you are using to draw/make these buttons and characters?
@Rayan-bk3fn
@Rayan-bk3fn 3 жыл бұрын
The name 'PrefabUtility' does not exist in the current context when I build the game (I even added using UnityEditor)
@jinkutkay8838
@jinkutkay8838 3 жыл бұрын
I have same problem... Couse UnityEditor exist only in unity...When i m trying to make a build i have same error... Anyone know solution for that? ( probably you need to save prefabasset using something other then "Prefabutility", any ideas?)
@Rayan-bk3fn
@Rayan-bk3fn 3 жыл бұрын
@@jinkutkay8838 I searched on some forums but none helped
@jinkutkay8838
@jinkutkay8838 3 жыл бұрын
@@Rayan-bk3fn i also was looking for answers... Just founded unityEditor cant be used outside Unity (then we cant use IT for games...just for editior - then i think its usless...). But i have some idea , and i will try to figure something out in next few days... When i find solution i will write IT here 🤗
@Rayan-bk3fn
@Rayan-bk3fn 3 жыл бұрын
@@jinkutkay8838 thanks!
@Rayan-bk3fn
@Rayan-bk3fn 3 жыл бұрын
@@jinkutkay8838 did ou found the answer
@macaaris1018
@macaaris1018 3 жыл бұрын
Nice👍
@unnamedrandompersononyoutu9279
@unnamedrandompersononyoutu9279 2 жыл бұрын
when I start my game, i have to reset my game scene first, (in my game, there are spikes so i just touched one of them and it resets the scene) then it loads the correct character. is it the current editor that i'm using is in the wrong date or did i just miss something in the video. if so, can someone tell me how to fix this?
@arnavsivakumar3032
@arnavsivakumar3032 2 жыл бұрын
when i try to build it says you cant use "using UnityEditor" so how do i change it to do the same thing as before but so i can build it
@ennizodev
@ennizodev 2 жыл бұрын
Nice nice , I will keep it, 🙋 that's what I am looking for..
@user-ip7uh3sx2n
@user-ip7uh3sx2n 7 ай бұрын
I can't build the project, it says it doesn't know PrefabUtitlity, how to fix?
@zaglossus3530
@zaglossus3530 7 ай бұрын
You cant, good luck
@gamerninjask6746
@gamerninjask6746 3 жыл бұрын
Diving Squid i want create LAN multiplayer game in photon is it possible?
@vlad7493
@vlad7493 2 жыл бұрын
Pretty late comment, but i have a problem with this tutorial. After trying to build my project, an error appears regarding UnityEditor, and unless i delete it, i wont be able to build the game. Anyone has any ideas?
@ydropzzgd
@ydropzzgd 2 жыл бұрын
no clue, just fun to see someone being around just at the time I Was watching the video XD
@arnavsivakumar3032
@arnavsivakumar3032 2 жыл бұрын
any solution ?
@vlad7493
@vlad7493 2 жыл бұрын
@@arnavsivakumar3032 i dont remember how i fixed it, watch another tutorial
@arnavsivakumar3032
@arnavsivakumar3032 2 жыл бұрын
@@vlad7493 just redo it?
@TETE
@TETE 3 жыл бұрын
i need help when i try to get my buttons or background or skins in projects when i move my camera it dissapears (maybe i spell it wrong!)
@iAzazelHD
@iAzazelHD 2 жыл бұрын
Do u know the same but having animations on the characters? like, the same set of animations for different skins
@TegridyMadeGames
@TegridyMadeGames 2 жыл бұрын
Only problem is the game doesn't build. This will "break" any attempt to build due to you using a editor function on a gameobject :( Otherwise, cool thanks! Edit: Just make another script and leave it in the editor to call that function that saves the asset. Then use #if UNITY_ANDROID before it and #endif after (on both scripts) to fix the errors and build error.
@Kevin-de5il
@Kevin-de5il 2 жыл бұрын
Hello I have made this mistake too.How can I fix it 🙏🙏
@arnavsivakumar3032
@arnavsivakumar3032 2 жыл бұрын
how do i fix this
@TegridyMadeGames
@TegridyMadeGames 2 жыл бұрын
@@arnavsivakumar3032 read after "Edit:"...
@arnavsivakumar3032
@arnavsivakumar3032 2 жыл бұрын
@@TegridyMadeGames i tried this by moving all the scripts into "editor" folder and now when i build the game the game doesn't let you change the skin (I am building for Windows, Mac, and Linux)
@TegridyMadeGames
@TegridyMadeGames 2 жыл бұрын
@@arnavsivakumar3032 to be clear the "editor" is not your scene. It's your asset files. Make sure to remove monobehavior for the editor script...
@MokarromHossain
@MokarromHossain 3 жыл бұрын
Thanx bruh ....
@makosteszta4962
@makosteszta4962 2 жыл бұрын
This tutorial is really great until you want to build your project into an actual game, since everithing that needs the line "using UnityEditor" at the beginning of the code only works in the editor, and will drop an error when building the project.
@arnavsivakumar3032
@arnavsivakumar3032 2 жыл бұрын
how do i fix this
@makosteszta4962
@makosteszta4962 2 жыл бұрын
@@arnavsivakumar3032 I haven't fixed it yet in my game, i just realised the problem. What I am planning to do, is to have an array of the skins and only save the index of the selected skin based on this Brackeys tutorial: kzbin.info/www/bejne/joDNlZKnipd8mtE . I hope I could help.
@mrinalagrawal1656
@mrinalagrawal1656 3 жыл бұрын
nice one man good explanation
@TheNbc27
@TheNbc27 2 жыл бұрын
So if I had already created my game with a singular Player, do I essentially have to remove & rewrite my PlayerController script since I believe I have to delete the Player that already exist? Or can I just add this to my existing PlayerController script and essintially just remove the already existing Mesh Renderer (3D game.)
@ruumroom.
@ruumroom. 2 жыл бұрын
What if i am using a follow camera for a game object so do each of my character need different cameras?
@kirocetwhy
@kirocetwhy 2 жыл бұрын
Very cool, but how do i do different powers for different characters? The idea is that when you click E and your skin is santa he throwes a present. But when you click E and your skin is fire boy you throw a fireball. Please help!
@Mr.IN3V1T4BL3
@Mr.IN3V1T4BL3 3 жыл бұрын
Can u tell me how can I make in unity photon multi-player.
@Crisinator
@Crisinator 3 жыл бұрын
Is there a fix for SavePrefabAsset in 2018.2.12f because it won’t work in that version
@CybroneOfficial
@CybroneOfficial 9 ай бұрын
Great video, But found a bug how to animate these different skins?
@Destteeny
@Destteeny Жыл бұрын
We cant use PrefabUtility on build , what should i do ??
@cianbdhd
@cianbdhd Жыл бұрын
I have same problem did you ever fix it
@naterealer1051
@naterealer1051 3 жыл бұрын
THANKS SO MUCH!!!
@TheDexterity
@TheDexterity 2 жыл бұрын
you cant build the final project while using the unity editor in the script
@arnavsivakumar3032
@arnavsivakumar3032 2 жыл бұрын
do you know a fix
@kosmaskriebaum7492
@kosmaskriebaum7492 2 жыл бұрын
can som1 help me ? i somehow do not have the "spriteRender Functions"
@Junior.Store.Google.Play.
@Junior.Store.Google.Play. Жыл бұрын
thank you
@theofficialamt6626
@theofficialamt6626 2 жыл бұрын
can you show how to do this but using bolt and sprite animation. Can't Figure it out.
@malikmuhammadarslan9993
@malikmuhammadarslan9993 Жыл бұрын
thanks buddy
@hankyplayer2934
@hankyplayer2934 2 жыл бұрын
By using prefab utility I can’t built the project. I’m making android game
@zackcastro4717
@zackcastro4717 3 жыл бұрын
Greetings, right now I am in the trouble of creating a character store but where the character is obtained randomly, practically with the same mechanism as Crossy road where there is a scene where the player spends a certain amount of money from the game and the machine throws a random character at him and then the player can go to select him in another cutscene where the characters are not unlocked and unlocked. that's what I'm trying to do, however my little knowledge of c # slows me down a bit. Then it occurs to me that perhaps this is a topic that draws attention to make a video tutorial since on KZbin there is not a single video that explains the topic. Greetings
@aaroncottrill5331
@aaroncottrill5331 2 жыл бұрын
Pardon me; but I believe your solution won't actually work. UnityEditor doesn't unfortunately work in games outside of builds. Although I'm pretty sure you can use an persisted game object with DontDestroyOnLoad called on it to hold the selected sprite for the next scene. The only thing is to add a save system or use player prefs to persist the default skin. Good day Diving Squid.
@arnavsivakumar3032
@arnavsivakumar3032 2 жыл бұрын
how do i fix this?
@zaglossus3530
@zaglossus3530 7 ай бұрын
cool, but you can't build this, you cant export it, this only works with the editor
@saaduff4257
@saaduff4257 3 жыл бұрын
PLEASE HELP ME I AM STUCK ON IT FOR LIKE 3 HOURS MY UI BUTTONS ARE CLICKING BUT THE SKIN IS NOT CHANGING PLEASE HELP ME :(
@syah5679
@syah5679 Жыл бұрын
how to add animation on selection character?
@K886_
@K886_ 3 жыл бұрын
nice, but how to make shop and skin to buy for example with some money
@Rayan-bk3fn
@Rayan-bk3fn 3 жыл бұрын
oh ya good idea I also want to try that
@guilhermeconde2522
@guilhermeconde2522 3 жыл бұрын
can you make a tutorial of skin selection for Photon pls
@Rayan-bk3fn
@Rayan-bk3fn 3 жыл бұрын
you can just to the same
@yarriksauker993
@yarriksauker993 2 жыл бұрын
THAK YOU SO MUCH
@Owen221
@Owen221 3 жыл бұрын
please make a public server list tutoiral for online games!
@Lalauralaura
@Lalauralaura 3 жыл бұрын
Your videos are great, but how can you make customizable ( idk how to spell it) skins? So the players can change characters hair, nose, eyes.. 😁😁😁
@rexxel3002
@rexxel3002 2 жыл бұрын
I have an error with the "using UnityEditor;" at the time to build
@arnavsivakumar3032
@arnavsivakumar3032 2 жыл бұрын
same do you know a solution?
@suj13
@suj13 3 жыл бұрын
thanks!
@leooberrauch3718
@leooberrauch3718 3 жыл бұрын
how can i save this with PlayerPrefs because it doesn't work to build it?
@arnavsivakumar3032
@arnavsivakumar3032 2 жыл бұрын
im not sure but you asked a year ago? did you find a solution cause i need some help
2D CHARACTER CUSTOMIZATION in Unity Tutorial
14:49
BMo
Рет қаралды 127 М.
Unity Character/Skin Selection Menu - Easy Unity Tutorial
13:31
GTA 5 vs GTA San Andreas Doctors🥼🚑
00:57
Xzit Thamer
Рет қаралды 27 МЛН
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН
Как добавить и настроить смену скинов игрока?
25:07
Школа разработки игр
Рет қаралды 15 М.
UNITY 2D NPC DIALOGUE SYSTEM TUTORIAL
7:52
diving_squid
Рет қаралды 54 М.
Unity Tutorial - Simple Character Selection System
5:30
RumpledCode
Рет қаралды 86 М.
How to Make a 2D Character Creator in Unity
7:55
tutmo
Рет қаралды 33 М.
#2 HOW TO MAKE AN ONLINE MULTIPLAYER GAME - UNITY EASY TUTORIAL
10:46
I Spent 2,000 Hours Using Scratch
13:59
ggenije
Рет қаралды 575 М.
Multiplayer character selection - UNITY & PHOTON 2 Tutorial!
26:06
Blackthornprod
Рет қаралды 65 М.
Character Customization Using Spritesheets - Unity Tutorial
5:14
GoldenEvolution
Рет қаралды 28 М.
Turn based combat in Unity - Character select (E05)
17:50
inScope Studios
Рет қаралды 15 М.
Simple Shop in Unity (Buy Items, Weapons, Armor)
19:00
Code Monkey
Рет қаралды 159 М.