Animated 2D Door Open Close on Trigger | Unity Tutorial with Example / Scripts

Animated 2D Door Open Close on Trigger | Unity Tutorial with Example / Scripts

Chris' Tutorials

5 лет назад

18,161 Просмотров

► My Unity 2020 Mini-Course - Make a 2D Platformer Character with State Machines ►
https://skl.sh/3lpWPQL

Here's my animated 2D door for Unity Games. It allows player objects to trigger the door to open by walking on a trigger zone and close when all objects have left the trigger zone. It can play audio sounds when opening and closing and comes setup with my sample animations.

Get full access to all courses, scripts, and my custom assets by supporting me on Patreon ►► https://www.patreon.com/christutorials
https://www.patreon.com/posts/full-access-to-19585598

Get Two Months FREE of Premium Video Courses when you Sign Up with My Link https://www.skillshare.com/r/user/christutorials

See My Full Software Courses
https://www.skillshare.com/r/user/christutorials
https://www.udemy.com/user/chris-navarre/
http://christutorials.teachable.com

➣ Also Follow Me On
Minds ►►http://bit.ly/ChrisTutorialsOnMinds
Gab.ai ►► https://gab.ai/ChrisTutorials
Steemit ►► https://steemit.com/@christutorials/
Written Article Tutorials at ►► http://christutorials.com/

➣ If you like my videos, you can support the channel directly
Patreon: https://www.patreon.com/christutorials
Paypal: paypal.me/christutorials
Bitcoin: 17Pn5PifFmRkHRAqCZQAom1ZjCiSf7qJjJ
Ethereum: 0x6f2781F382952c8caCDbE99C46F07c265ab59627
Steem: @christutorials

Тэги:

#Tutorial #How-to #Tutorial_for_Beginners #Unity #Door #Animated_Door #2D_Door #Door_Open #Door_Closse #Trigger #Button_Click #Make_a_Door #Unity_Door #Door_Example #Door_Script #Door_C# #C# #Open_C# #Close_C# #Unity_C# #2018 #2019 #Unity_2019 #Unity_2018 #How_to_Open_Door #Code_a_Door
Ссылки и html тэги не поддерживаются


Комментарии:

ᏞᎾᏒᎠs Ꮎf ᏟhᎪᎾs
ᏞᎾᏒᎠs Ꮎf ᏟhᎪᎾs - 12.12.2022 20:24

good work

Ответить
TwentyFree
TwentyFree - 25.11.2022 15:27

You forgot to add the parts where you configure the scripts for "AnimatorSetBool" and "OccupiedZone"

Ответить
Chubi
Chubi - 05.03.2022 16:23

Pls put the script cause Patreon is empty <3

Ответить
RandomUser124
RandomUser124 - 19.09.2021 13:02

I made 8x8 doors animation is gonna suck lol

Ответить
Shanay Stanford
Shanay Stanford - 02.09.2021 20:19

Um wheres the actual script to set this up?

Ответить
Casa Chez DOOM
Casa Chez DOOM - 04.05.2021 07:31

So... to get assets, we need to be a Patreon supporter or am I missing something here?

Ответить
J
J - 17.06.2020 22:00

Is there a way to do that but for a set time? like in the scene I want to try the door opens once the character is further down the hallway?

Ответить
Lisa saghia
Lisa saghia - 02.03.2020 15:36

I don't understand, where is the part when you set the trigger on position of the player, I don't understand how you set it

Ответить
̇ ̇ ̇ ̇ ̇ ̇ ̇ ̇ ̇ ̇
̇ ̇ ̇ ̇ ̇ ̇ ̇ ̇ ̇ ̇ - 31.12.2019 13:45

is it possible to animate tile ? please help me i'm a beginner here :) thank you

Ответить
Anko
Anko - 30.10.2018 21:23

I don't have any Function on my Animation Event tab, have you any hint what's causing that? Great Vid by the way!

Ответить