How to switch between two characters in Unity game? Quick Unity 2D tutorial.

preview_player
Показать описание
#UnityTutorial #SimpleUnityGame #unityswitchcharacter
In this video I will show a simple way how to create switch character feature in Unity game.
We create an empty game object that will hold our characters that is Bunny and Cat. Then we add a couple of C# scripts to this game object one of it is Move Script to move our characters and another one is to switch between then at the run time. We create a UI button and add OnClick function to change our characters.

You are very welcome :-)

What this video is about and what it can be used for also: unity 2d tutorial,
unity tutorial, switch character unity, change character unity, switch between players unity, switch between characters unity, switch character script unity, switch character C# script unity, switch player script unity, How to switch between two characters in Unity game, switch character UI button unity, switch character button unity, click button to switch character unity, learn unity fast, unity tutorial, how to make games with unity, unity how to make game, unity how to make 2d game, not as good as brackeys but good as well.
Рекомендации по теме
Комментарии
Автор

REALLY THANKS. FINALLY SOMEONE CAN WORK. YOU ARE THE BEST

maialinoprogrammatore
Автор

Hey there! Thank you so much for this People make those things so complicated. After much search, your video was the only one that really helped me! Thank you!!

MariaEduarda-sndh
Автор

Your tutorials are so simple and so effective at the same time, this specific one was so useful for me. You should make one about spawning the second character on the same position as the first one :D

diegoflores
Автор

Quick and straight to the point, just fantastic

DoubleLegg
Автор

Your tutorials are both simple and helpful. Thank you :)

hasankemalturk
Автор

ur videos are literally helping me a lot man thanks and keep coming with different topics

prajwalulli
Автор

Exactly what im looking for not that freaking 15 minutes video

RoanStarlight
Автор

Thank you sir .. please can you make a tutorial for 2d character selection/shop

rabeamonzer
Автор

Please make a tutorial on switching animated characters that can walk, jump idle and run
Thanks

khemziegamer
Автор

Great content! It really helped me! Thanks

mayo
Автор

Sir You are great man....Thanks alot your videos solved my problems always.

RaysofMotivation
Автор

Thank you so much! That was very helpful!

makrinetskipurishvili
Автор

you are awesome sir thank you for teach

yaamana
Автор

Perfect! simple and to the point. thank you

wushu
Автор

what if you had 2 or more on screen characters that you can use in game simultaneously, how could you switch between the two? like a crew of characters.

kennethterrell
Автор

Edit: In correction, I thought I did for 3D.


I learned some thing! Thank you! :D I even know how I can make the character switch in 3D. ;)

AngelCnderDreamer
Автор

Thanks so much for this video this gave me a cool idea for a game mechanic

CK
Автор

Thank you for this tutorial it was really helpful thanks once again

dragonballzfan
Автор

How do I make instead off a ui switch Button, a interactive object in the scene?

sandradeassis
Автор

Thanks! I did with characters with animations and different attributes (one with higher jump than the other etc). However, it is giving localization problem precisely because the attributes of each character are different. Would you know how to solve it? (Example: Trine 2)

diegogbrandao
visit shbcf.ru